[mapguide-users] RE: draw_line

anand anand.speck at gmail.com
Tue Sep 20 00:36:16 EDT 2011


thanks for your reply,

I've placed the code as you have said, and i also pasted a line of code
inside 

1)    if(digitizing) condition under "onmousedown" event as follows:

if(digitizing)
    {
        digitizer.MouseDown(e, x, y);
	parent.GetTaskFrame().GetTaskPane().DigitizeLine();  //used to call
Digitizeline() function in my app
	return false;
	
    }

but, the problem here is, it only gives a single point coordinates. I need
line coordinates(i.e., two points).



--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/save-drawn-line-on-map-in-database-tp6723238p6810932.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list