Map Styling
-
I’m trying to style the actual map using a theme from snazzy maps at https://snazzymaps.com/style/25/blue-water
I tried copying the map-style-default.css to my theme file and renaming, then inserting the snazzy maps code but that didn’t seem to do the trick.
The styling code is this javascript array:
[{"featureType":"water","stylers":[{"color":"#46bcec"},{"visibility":"on"}]},{"featureType":"landscape","stylers":[{"color":"#f2f2f2"}]},{"featureType":"road","stylers":[{"saturation":-100},{"lightness":45}]},{"featureType":"road.highway","stylers":[{"visibility":"simplified"}]},{"featureType":"road.arterial","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"administrative","elementType":"labels.text.fill","stylers":[{"color":"#444444"}]},{"featureType":"transit","stylers":[{"visibility":"off"}]},{"featureType":"poi","stylers":[{"visibility":"off"}]}]
Any ideas?
- The topic ‘Map Styling’ is closed to new replies.