[mapguide-users] Draw Line

padmini godavarthi godavarthi.padmini at gmail.com
Sat Feb 21 06:11:02 EST 2009


Hi,
i have a coordinates for a line.Now i have to add it to the existing layer

For example i have a line layer with 10 features.
This newly drawing line (by using digitize line string()) will be 11 th
feature to this line layer. and insert this new feature into database.


1) How to do this?

can u tell me the way.

Thanks and Regards,
Padmini.


Peter Filip wrote:
> 
> Look at the digitize sample. This digitize function is returning X,Y
> coordinates. You need to save them and create a temporary feature source
> using this coordinates. After you have done this, create a layer and add
> it in the map. Dont forget to refresh the map after all!
> 
>   
> 
> padmini godavarthi wrote:
>> 
>> Hi,
>> iam using mapguide opensource 2.0 (with .net 2.0 +IIS 5.1)
>> Now my prolem is that 
>> while drawing a line ont he map using 
>> 
>> "DigitizeLineString()" function
>> 
>> 
>> draws the line but it will cleared after clicking ctrl button .
>> 
>> 
>> Can u plz tell me the solution?
>> 
>> Regards,
>> Padmini.
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://n2.nabble.com/Draw-Line-tp2296800p2363355.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list