Movable pushpin

2 posts, 0 answers
  1. Ian
    Ian avatar
    23 posts
    Member since:
    Jun 2011

    Posted 13 Aug 2013 Link to this post

    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 ?
  2. Andrey
    Andrey avatar
    1681 posts

    Posted 14 Aug 2013 Link to this post

    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:

    Andrey Murzov

    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 >>
  3. DevCraft banner
Back to Top