Select to view content in your preferred language

[Solved]Drawing Extent, "minimum" Extent when  you click a point

619
0
01-04-2012 10:15 AM
GregSpiridonov
Occasional Contributor
Originally, with earlier versions of the drawtool, if you began drawing an extent, and the user just click, and didn't click and drag, you could get an empty extent... this caused errors if you tried to draw it, but helped out when you were trying to create a "pixel" size extent... In the new version of the api, clicking once instead of dragging results in quite a large square... This is great, but I would like the default square to be smaller, like 10 pixels in screen width, now it's more like 100... is there a way to change that?

Scratch that.. i found it... for those who want to know, it's the "defaultDrawSize" property on the DrawTool, however the documentation is not update, for it says it is used in the circle and ellipse, but nothing about extent.
Tags (2)
0 Kudos
0 Replies