For position 0,0 the previous Code works just fine, but  for the background 
position from Sprite to work, has to be in this order:

map.options.markerOptions.image.bmw.normal = new google.maps.MarkerImage(
 '/img/mobile/sprite.png', 
  new google.maps.Size(18,30),
  new google.maps.Point(30,0),
  null,
  null
);


 where "new google.maps.Point(x_pos,y_pos)"


-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/-1if28gb4gUJ.
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