This is a migrated thread and some comments may be shown as answers.

Movable pushpin

1 Answer 63 Views
Map
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 14 Aug 2013, 04:01 AM
Hi there, one thing i am trying todo is give users the ability to dynamically add a location on a map and assign some details to it.

So what i need is a way for the user to create a pushpin (or some other template) on the map, and be able to move it around the map until i find the exact lat/long i require and then when ready save it back to my database to be displayed next time.

Previously all my display items have been static. can i piggy back of the radmaps drag/drop capabilities to somehow allow a pushpin to be moved around ?

Does anyone have any examples of a similar thing ?

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 14 Aug 2013, 06:20 AM
Hi Ian,

To avoid any misunderstanding I should say that RadMap doesn't save any data but just shows map shapes represented in one of the following formats: ESRI shape file, KML, WKT/WKB. So, it is on your own to create routines which will store map objects to database.

I have attached a sample solution which allows user to move items on the map.
I hope this gets you started.

Also I would recommend you to take a look at the following documentation topics:
http://www.telerik.com/help/silverlight/radmap-how-to-put-a-mark-on-the-clicked-location.html
http://www.telerik.com/help/silverlight/radmap-howto-resize-map-shapes-with-mouse-dragging.html

Regards,
Andrey Murzov
Telerik

TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Map
Asked by
Ian
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or