Hello: First sorry about my english. I''m working with mapstraction in a project and the method setDraggable from Marker don''t work, my code is: "<input TYPE=''button'' id=''btnDragMark'' value=''Arrastrar Marcador " + iCont + " '' onclick= ''javascript:aMarker[" + iCont + "].setDraggable(true);''>" "aMarker" is a Markers array Many thanks -- http://vimeo.com/luismanolo http://youtube.es/luismanolo http://delasonsierra.blogspot.com http://www.logrobomberos.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20101008/f8957d35/attachment.htm>
Hi Manolo, I''m Spanish, and from La Rioja too. ;) Your problem is due to you first place your marker and after that, you make it draggable. The draggable property should be added before the marker is placed. -- Saludos, Pablo L?pez Escob?s 2010/10/8 luismanolo <luismanolo at gmail.com>> Hello: > First sorry about my english. > I''m working with mapstraction in a project and the method setDraggable from > Marker don''t work, my code is: > > "<input TYPE=''button'' id=''btnDragMark'' value=''Arrastrar Marcador " + iCont + " '' onclick= ''javascript:aMarker[" + iCont + "].setDraggable(true);''>" > > "aMarker" is a Markers array > > Many thanks > > > > > -- > http://vimeo.com/luismanolo > http://youtube.es/luismanolo > http://delasonsierra.blogspot.com > http://www.logrobomberos.com > > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20101008/c21c410d/attachment.htm>
Hi again: And from Logro?o ;) But with GMaps api I can change the draggable property after ther marker is placed. thanks again El 8 de octubre de 2010 10:31, Pablo L?pez Escob?s <plopesc at gmail.com>escribi?:> Hi Manolo, > > I''m Spanish, and from La Rioja too. ;) > > Your problem is due to you first place your marker and after that, you make > it draggable. The draggable property should be added before the marker is > placed. > > -- > Saludos, > Pablo L?pez Escob?s > > > 2010/10/8 luismanolo <luismanolo at gmail.com> > >> Hello: >> First sorry about my english. >> I''m working with mapstraction in a project and the method setDraggable >> from Marker don''t work, my code is: >> >> "<input TYPE=''button'' id=''btnDragMark'' value=''Arrastrar Marcador " + iCont + " '' onclick= ''javascript:aMarker[" + iCont + "].setDraggable(true);''>" >> >> >> "aMarker" is a Markers array >> >> Many thanks >> >> >> >> >> -- >> http://vimeo.com/luismanolo >> http://youtube.es/luismanolo >> http://delasonsierra.blogspot.com >> http://www.logrobomberos.com >> >> _______________________________________________ >> Mapstraction mailing list >> Mapstraction at lists.mapstraction.com >> http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >> >> > > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > >-- http://vimeo.com/luismanolo http://youtube.es/luismanolo http://delasonsierra.blogspot.com http://www.logrobomberos.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20101008/3b16ba34/attachment.htm>