Hi. I've read docs about positioning controls on the map(TOP
, TOP_LEFT
, etc), but Is there any way to make custom position? For example: left: 20px; top: 200px
;
I just want to have in top_left corner my logo and zoom control right under logo.
And how to remove pan control in navigation controls? I want to have only zoom control in default style(not minimized).
Thank you.
views:
429answers:
1
A:
You can create a custom control for your logo, and add it to the map to position it. You can't set the location of the control directly beyond the constants, but you can offset the location using padding on your control div.
http://code.google.com/apis/maps/documentation/javascript/controls.html
hellslam
2010-06-22 15:23:22