How do you order the markers in a static map?
I have a marker which I'd like to always be on top, but I can't find a
way to achieve this.

I thought it was by the order of the parameters, but the z order
appears to be independent of this:

e.g.
http://maps.google.com/maps/api/staticmap?size=512x512&maptype=roadmap&sensor=false&markers=color:green|label:G|40.711524,-74.012318|40.711524,-74.012418&markers=icon:http://chart.apis.google.com/chart%3Fchst%3Dd_map_pin_icon%26chld%3Dcafe%257C996600|shadow:false|40.711614,-74.0124

is the same as

http://maps.google.com/maps/api/staticmap?size=512x512&maptype=roadmap&sensor=false&markers=icon:http://chart.apis.google.com/chart%3Fchst%3Dd_map_pin_icon%26chld%3Dcafe%257C996600|shadow:false|40.711614,-74.0124&markers=color:green|label:G|40.711524,-74.012318|40.711524,-74.012418

However

http://maps.google.com/maps/api/staticmap?size=512x512&maptype=roadmap&sensor=false&markers=icon:http://chart.apis.google.com/chart%3Fchst%3Dd_map_pin_icon%26chld%3Dcafe%257C996600|40.711614,-74.0124&markers=color:green|label:G|40.711614,-74.012318|40.712614,-74.012418

is different to

http://maps.google.com/maps/api/staticmap?size=512x512&maptype=roadmap&sensor=false&markers=color:green|label:G|40.711614,-74.012318|40.712614,-74.012418&markers=icon:http://chart.apis.google.com/chart%3Fchst%3Dd_map_pin_icon%26chld%3Dcafe%257C996600|40.711614,-74.0124

It seems to make no difference using custom or standard icons,
e.g.

http://maps.google.com/maps/api/staticmap?size=512x512&maptype=roadmap&sensor=false&markers=icon:http://chart.apis.google.com/chart%3Fchst%3Dd_map_pin_icon%26chld%3Dski%257C996600|40.711524,-74.012318|40.711524,-74.012418&markers=icon:http://chart.apis.google.com/chart%3Fchst%3Dd_map_pin_icon%26chld%3Dcafe%257C996600|shadow:false|40.711614,-74.0124

is the same as

http://maps.google.com/maps/api/staticmap?size=512x512&maptype=roadmap&sensor=false&markers=icon:http://chart.apis.google.com/chart%3Fchst%3Dd_map_pin_icon%26chld%3Dcafe%257C996600|shadow:false|40.711614,-74.0124&markers=icon:http://chart.apis.google.com/chart%3Fchst%3Dd_map_pin_icon%26chld%3Dski%257C996600|40.711524,-74.012318|40.711524,-74.012418

but

http://maps.google.com/maps/api/staticmap?size=512x512&maptype=roadmap&sensor=false&markers=icon:http://chart.apis.google.com/chart%3Fchst%3Dd_map_pin_icon%26chld%3Dski%257C996600|40.711614,-74.012318|40.712614,-74.012418&markers=icon:http://chart.apis.google.com/chart%3Fchst%3Dd_map_pin_icon%26chld%3Dcafe%257C996600|40.711614,-74.0124

is different to

http://maps.google.com/maps/api/staticmap?size=512x512&maptype=roadmap&sensor=false&markers=icon:http://chart.apis.google.com/chart%3Fchst%3Dd_map_pin_icon%26chld%3Dcafe%257C996600|40.711614,-74.0124&markers=icon:http://chart.apis.google.com/chart%3Fchst%3Dd_map_pin_icon%26chld%3Dski%257C996600|40.711614,-74.012318|40.712614,-74.012418

Is there any way to enforce z-order?

Thanks,

stew

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