This project is read-only.

Add multiple Markers via JS

Nov 21, 2012 at 8:29 PM


I want let users add multiple markers on map (like marking the way). But I wasnt been able to find out how to add marker in javascript.

I could read position of mouse click, write it to hidden fields and invoke server event for create and add new marker. But i suppose that this will refresh page (and after that add new marker) and this is something i dont want to do mainly because of add multiple markers.

I suppose that this is a common problem and someone had to solved it before me. I was looking through the internet but so far nothing, so i hope someone know something. It could help.