Add Multiple Markers to Map from user input

Hello Everyone ,

Recently i’ve been in a situation where in i needed to drop markers to location on map wherein the location is given by the user.

It was a unique situation as in the markers should be updated in real time to map with retaining the previous markers.

After digging to various stack overflow posts and googling found that there no easier way to it.So wrote a simple java script code which adds the markers to map in real time also retaining the previous location




And bang done.

Feel free share and ask Questions.