Close

Account

Documentation

Forum

Menu

Google Maps Style with Snazzy Maps

  • Post count: 9
    vale2k7
    October 9, 2016 at 6:09 pm #22057

    Hi Guys,

    how can i change the style of the Map Wrapper or Google Maps? Is it possible to take the js code from Snazzy Maps and get it to work?

    For example:

    [{“featureType”:”all”,”elementType”:”labels.text.fill”,”stylers”:[{“saturation”:36},{“color”:”#2d2b2c”},{“lightness”:50}]},{“featureType”:”all”,”elementType”:”labels.text.stroke”,”stylers”:[{“visibility”:”on”},{“color”:”#000000″},{“lightness”:16}]},{“featureType”:”all”,”elementType”:”labels.icon”,”stylers”:[{“visibility”:”off”}]},{“featureType”:”administrative”,”elementType”:”geometry.fill”,”stylers”:[{“color”:”#000000″},{“lightness”:20}]},{“featureType”:”administrative”,”elementType”:”geometry.stroke”,”stylers”:[{“color”:”#000000″},{“lightness”:17},{“weight”:1.2}]},{“featureType”:”landscape”,”elementType”:”geometry”,”stylers”:[{“color”:”#000000″},{“lightness”:19}]},{“featureType”:”poi”,”elementType”:”geometry”,”stylers”:[{“color”:”#000000″},{“lightness”:21}]},{“featureType”:”road.highway”,”elementType”:”geometry.fill”,”stylers”:[{“color”:”#000000″},{“lightness”:27}]},{“featureType”:”road.highway”,”elementType”:”geometry.stroke”,”stylers”:[{“color”:”#000000″},{“lightness”:29},{“weight”:0.2}]},{“featureType”:”road.arterial”,”elementType”:”geometry”,”stylers”:[{“color”:”#000000″},{“lightness”:15}]},{“featureType”:”road.local”,”elementType”:”geometry”,”stylers”:[{“color”:”#000000″},{“lightness”:17}]},{“featureType”:”transit”,”elementType”:”geometry”,”stylers”:[{“color”:”#000000″},{“lightness”:19}]},{“featureType”:”water”,”elementType”:”geometry”,”stylers”:[{“color”:”#000000″},{“lightness”:15}]}]

    Should look like this then…

    Hope you can help with this topic.

    Thanks!

    Post count: 5936
    Adek
    October 10, 2016 at 2:57 am #22073

    Hi vale2k7,

    Unfortunately, but i’m not quite sure on this thing. You will need to do some changes on our theme to achieve that.

    Let us know if you have further question on this thing.

    Thank you

    Post count: 9
    vale2k7
    October 11, 2016 at 5:51 am #22079

    Hi Adek,

    what kind of changes would that be? Is it hard or just copying the js of snazzy maps into an existing js in the map plugin?

    Thanks for your reply

    Post count: 5936
    Adek
    October 12, 2016 at 6:47 am #22086

    Hi vale2k7,

    I’m not quite sure on this thing because i never use it before. You may interest to see this article about Adding a Custom Snazzy Map to WordPress here http://www.caseyy.org/using-snazzy-maps-in-wordpress/

    Hopefully it can help you.

    Thank you

You must be logged in to reply to this topic.