Anyone can help how can we move map once reached at map edge while drawing free ploygon and ploygon?
Thanks for reply!
actually i want to move the map once drawing reached to edge of map, so at a time mouse is dragging(for drawing) and arrow keys should move the map. is it possible?
I might really be missing the point here but using the map extent and using the map mouse move event as follow
can provide you information on where your mouse currently is in relation to the map current extend.
If this what you are after?
Victor Tey are you clear about my problem?
let me explain again:
i am working on drawing geometry shapes on map, so during drawing of shapes (other than Freehand polyline/ploygon) i can move map using mouse pan and arrow keys, But i am unable to move map(via arrow keys) during drawing FREEHAND polyline/polygon.
so in this case i was thinking i should call mapRight(), mapLeft() methods if i know mouse reached at edges.
let me know you got issue, or if you have any good solution please share