Google Maps Styled (API) - use javascript -
Google Maps Styled (API) - use javascript -
i trying apply code wizard http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html
for example:
[ { "elementtype": "geometry", "stylers": [ { "hue": "#00ccff" }, { "visibility": "simplified" } ] } ]
in this code
anyone willing help? sincerely don't know hot proceed.
pass example-array in question styles
-option of map :
map = new google.maps.map(document.getelementbyid('map-canvas'), { center: new google.maps.latlng(48.70727541512677, 20.578157256250062), zoom: 7, styles:[ { "elementtype": "geometry", "stylers": [ { "hue": "#00ccff" }, { "visibility": "simplified" } ] } ], pancontrol: false, zoomcontrol: true, zoomcontroloptions: { style: google.maps.zoomcontrolstyle.small }, streetviewcontrol: false, maptypecontrol: true, maptypecontroloptions: { style: google.maps.maptypecontrolstyle.dropdown_menu,
}, maptypeid: google.maps.maptypeid.roadmap
});
http://jsbin.com/owaxas/1/edit
google-maps-api-3 google-fusion-tables
Comments
Post a Comment