[mapguide-users] Draw a point,polgon

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Mon Dec 8 11:50:22 EST 2008


You will need to use the FDO or similar access.
There exists javascript functions to digitize point/line/polygon.
Once done, you can send the digitized data to the server, and insert it
into a FeatureSource.

The "Buffer" code in the AJAX viewer shows how to insert such a feature 
into a
temporary SDF FeatureSource. You can do the same with an existing database
or SDF FeatureSource.

Regards, Kenneth Skovhede, GEOGRAF A/S



padmini godavarthi skrev:
> Hi,
> Thanks for u r reply.
> 1) I have an button for draw point and polygon
>  when i clicked on the map  some place a new point and polygon has to be
> drawn.
> How is it possible?
>
>
> Thanks and Regards,
> Padmini
>
> Kenneth Skovhede, GEOGRAF A/S wrote:
>   
>> How do you define new?
>> If you add it to the database, it will automatically be visible when the 
>> map refreshes.
>>
>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>
>>
>>
>> padmini godavarthi skrev:
>>     
>>>    Hi iam using mapguide opensource  2.0(with .net 2.0 +IIS 5.1)
>>>
>>> My question is that
>>>
>>> 1) How to draw a new point,polygon on the map(either from database or
>>> normal) as a new layer
>>>
>>> If u knows plz help me
>>>
>>> Thanks and Regards,
>>> Padmini
>>>   
>>>       
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>>     
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20081208/3115c397/attachment.html


More information about the mapguide-users mailing list