Follow

Can I add additional Snazzy Map styles?

Yes! You can create and add snazzy maps styles as needed. Each snazzy map style provides code that dictates the style itself, and it looks something like this:

'subtle-grayscale'=>'[{"featureType":"landscape","stylers":[{"saturation":-100},{"lightness":65},{"visibility":"on"}]},{"featureType":"poi","stylers":[{"saturation":-100},{"lightness":51},{"visibility":"simplified"}]},{"featureType":"road.highway","stylers":[{"saturation":-100},{"visibility":"simplified"}]},{"featureType":"road.arterial","stylers":[{"saturation":-100},{"lightness":30},{"visibility":"on"}]},{"featureType":"road.local","stylers":[{"saturation":-100},{"lightness":40},{"visibility":"on"}]},{"featureType":"transit","stylers":[{"saturation":-100},{"visibility":"simplified"}]},{"featureType":"administrative.province","stylers":[{"visibility":"off"}]},{"featureType":"water","elementType":"labels","stylers":[{"visibility":"on"},{"lightness":-25},{"saturation":-100}]},{"featureType":"water","elementType":"geometry","stylers":[{"hue":"#ffff00"},{"lightness":-25},{"saturation":-97}]}]',

You can add as many of these as you like to MapifyPro's current library by simply adding new versions of this code. This is done in the following file:

modules > snazzymaps > snazzymaps.php

On line 90 you'll see the code that I pasted above. To add more, simply add your own version of the snazzy map style code in a similar format, and it will then be available to select from the map settings in MapifyPro's wp-admin settings.

0 Comments

Article is closed for comments.
Powered by Zendesk