how can i freehand draw

3273
5
08-09-2012 05:02 AM
HamzaHaroon
Occasional Contributor
is there a way to free hand draw lines on maps? ive tried using a glview, but i need the drawing to stay at its location on the map and move when i pan or zoom the map.
0 Kudos
5 Replies
LukePhilips
New Contributor III
0 Kudos
HamzaHaroon
Occasional Contributor
i dont think this will work for me. im trying to draw while dragging, instead of touching points. i was thinking of using the sketch layer sample and changed the point tool to handle multi points, and then some how disable pan and zoom while that tool is active amd draw while dragging.
0 Kudos
HamzaHaroon
Occasional Contributor
i still havent found a way to do this. im basically trying to disable the pan and zoom functions of the map whil drawing polygons, and be able to draw by dragging. would opengl work for this kind of task?
0 Kudos
NimeshJarecha
Esri Regular Contributor
You don't need openGL for this. UIView is enough for free hand drawing.

Regards,
Nimesh
0 Kudos
AkhilChoran_Balan
New Contributor

How do we add an arc on graphics layer? In Apple mapkit we could subclass MKOverlayPathRenderer and override createPath method. Is there something similar for AGSGeometry?

0 Kudos