var myOptions = { zoom: 9, center: myCenter, mapTypeControl: false, mapTypeId: G.MapTypeId.ROADMAP, useStaticMap: false, streetViewControl: false, styles: [ { stylers: [ { visibility: "simplified" }, { hue: "#00eeff" }, { lightness: 13 }, { saturation: -58 }, { gamma: 0.81 } ] }
] } map = new G.Map(document.getElementById("map_canvas"), myOptions); For more options: http://code.google.com/apis/maps/documentation/javascript/styling.html On Oct 24, 1:21 pm, Tal Shuv <tals...@gmail.com> wrote: > Hello, if anyone can help, I would really appreciate it. > > I'm trying to customize the colors of the map my WP plugin uses. > > function init_basic_map(lat,lng,marker_text) { > store_wpress_map = new google.maps.Map(document.getElementById("map"), { > center: new google.maps.LatLng(lat, lng), > zoom: Store_wpress.zoom_detail, > mapTypeId: Store_wpress.map_type, > mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DEFAULT} > > }); > > I know I'm supposed to use MapTypeStyler but don't know where to put it... > or how to use it... > > I want to use these colors: > [ { stylers: [ { visibility: "simplified" }, { hue: "#00eeff" }, { > lightness: 13 }, { saturation: -58 }, { gamma: 0.81 } ] } ] > > Any ideas? > Thanks! -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.