Diseño/tematización de Google Maps con API V3

I'm trying to style Google Maps for my website like here: http://www.sidewalkprophets.com/shows They only show the USA and unfortunately the site uses API V2.

Is the same possible using Google Maps API V3? Can someone help me?

preguntado el 31 de julio de 12 a las 13:07

Here is the Google Maps documentation for stylizing maps: Mapas estáticos y Mapas dinámicos -

1 Respuestas

I have a simple form to you do this without so much scripting, etc.

You can use the gmap3.net tool, its simples to edit your map how do you like to.

Consulte estos enlaces:

Gmap3 editor tool


To lock the position you can use map.Options{ draggable: false}; so the user can't drag the map and them you set the latitude and longitude that you want and the zoom level. This is a simple example:

var mapDiv = document.getElementById('mappy');

var mapOptions = {
zoom: 12, //select the zoom that you want
draggable: false, //this will lock the draggable option
center: new google.maps.LatLng(-23.563594, -46.654239), //change here the latitude and longitude 
mapTypeId : google.maps.MapTypeId.ROADMAP
map = new google.maps.Map( mapDiv, mapOptions ); //this will include the variables in one to create the map with the options

Good lucky =) !

Respondido 01 ago 12, 14:08

I edited the code, check it, if your problem was solved, please check the answer to another users that have the same problem =) - Fred Vicentín

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.