Hi,
This is a confirmed issue, you can follow it on the issue tracker -
http://code.google.com/p/gmaps-api-issues/issues/detail?id=2275
The work around for now is to create a new google.maps.MarerImage each
time, ie:
var marker = new google.maps.Marker( {
map: map,
position: new google.maps.LatLng(lat, lng),
title: title,
icon: new google.maps.MarkerImage(urlToImg)
});
- Luke
On Apr 7, 8:19 am, oweitman <[email protected]> wrote:
> Please check the following test-pages.
> The only difference is that the custom icon is set or not:
>
> var marker = new google.maps.Marker( {
> map: map,
> position: new google.maps.LatLng(lat, lng),
> title: title,
> //icon: image
> });
>
> http://www.saarlooswolfhond-database.org/test/map_standard_marker.htmlhttp://www.saarlooswolfhond-database.org/test/map_custom_marker.html
>
> With custom image you can only show all markers if you zoom in or out
> (most of the markers are set in europe)
> or
> scroll the area (europe) first outside the bounds and then inside.
>
> the markers are generated after the complete page is loaded
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.