On Mar 1, 1:24 pm, Raoul <[email protected]> wrote:
> Until a few days I had no problem using marker.setZIndex to place a
> marker in the forground. Today it seems that it doesn't work anymore.
> Other functions called at the same time, like marker.setIcon, still
> works. Am I the only one having this problem? Was something modified
> in the API? If someone could help I would apreciate it alot

Perhaps this is the time to remind you of what the documentation says
about not specifying a version:
http://code.google.com/apis/maps/documentation/javascript/basics.html#Versioning

+ Choosing an API version
+ The following guidelines apply when choosing the appropriate API
version for your Maps API V3 application:
+ + Production applications should always specify a minor version (eg.
3.2, 3.3, etc.).

  -- Larry



>
> http://www.raoul-kieffer.net/Italy/Roma/Rome%20Google%20Maps.html
>
> $( this ).hover(
>         function() {
>                 if ( site.marker ) {
>                         site.marker.setIcon( book.IconSelected );
>                         site.marker.setShadow( book.ShadowSelected );
>                         site.marker.oldZIndex = site.marker.getZIndex();
>                         site.marker.setZIndex( 10000 );
>                 }
>         },
>         function() {
>                 if ( site.marker ) {
>                         site.marker.setIcon( book.Icon );
>                         site.marker.setShadow( book.Shadow );
>                         site.marker.setZIndex( site.marker.oldZIndex );
>                 }
>         }
> );

-- 
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.

Reply via email to