[OpenLayers-Users] Re: help with removing/replacing a marker after click event

Nicholas Efremov-Kendall n.e.kendall at gmail.com
Sat Jun 11 12:42:47 EDT 2011


Hi Rosco,

No, I hadn't thought of that. Any suggestions on how to update the position
of the marker, maybe a loop with a new LonLat?

On Sat, Jun 11, 2011 at 5:00 AM, Rossko <rossko at culzean.clara.co.uk> wrote:

> > The issue is that each time the user clicks, another marker is placed.
> This
> isn't really a problem, but for
> > aesthetic purposes, I'd like to destroy or remove the first marker if the
> > clicks again
>
> Have you considered a different approach to coding this, create one marker
> and move it around.
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/help-with-removing-replacing-a-marker-after-click-event-tp6463400p6464936.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110611/2000519d/attachment.html


More information about the Users mailing list