On Jan 28, 7:18 am, Trimbitas Sorin <[email protected]> wrote:
> Thanks Larry,
>
> I managed to do this but now I encountered another issue : I used
> setImage to change the markers image but because they are on a
> different size (mine is 50/50px) it doesn't show anymore on the
> exactly same place.
>
> here is the simplified code
>
> function settingMarkers(info)
>         for (var i=0; i<info.length; i++) {
>                 var marker = info[i].marker;
>                 if (i % 2){
>                         
> marker.setImage('http://127.0.0.1/prj/gmaps/with%20local
> %20search%20and%20misc/docs/icons/Bar.png');
>                 }else{
>                         
> marker.setImage('http://127.0.0.1/prj/gmaps/with%20local
> %20search%20and%20misc/docs/icons/Bank.png');
>                 }
>                 //marker.redraw();
>
> }
>
> I tried with redraw, with jQuery to change the css but no luck. I
> looked in the docs and there is no function to also set again the
> size?!
>
> Can you please help?

Can you provide a link?
http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to