google maps change navigation map controller
ok so i have a google map store locator and i want to switch the image it calls for the zoomer and all the little tools... heres what it looks like i know everyone knows...
http://maps.gstatic.com/intl/en_us/mapfiles/mapcontrols3d5.png
i want to change the stock one with one of my own.. is that possible w开发者_StackOverflow中文版ith jquery or something
Take a look at the documentation at the custom controls.
The way i do it is by creating a div in my page and then add it like this inside the map
var mapControl=document.getElementById("yourCustomControlDiv");
map.controls[google.maps.ControlPosition.TOP].push(mapControl);
精彩评论