[mapguide-users] RE: draw_line

andrea tiveron (e-metodi) andrea.tiveron at e-metodi.it
Wed Sep 7 06:06:06 EDT 2011


in ajaxmappane.templ
1.
in the top of the file insert the statement:
var DisableMapClick = false;
and
2.
after a function onMouseDown (e)
insert:
if (DisableMapClick)
	 {
      	 return false;
       }

so, in your application you can decide which are the exact events of the
mouse

ciao
andrea

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of anand
Sent: martedì 6 settembre 2011 08:56
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] RE: draw_line

thanks for your reply,

but could you tell me where to place the code you sent. I didn't understand
where to place the code either in ajaxmappane.templ or in my application
code file.

Thanks & regards,
Anand

--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/save-drawn-line-on-map-in-database-tp
6723238p6762880.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

--
This message was scanned by ESVA and is believed to be clean.



More information about the mapguide-users mailing list