๐ŸŒ
Google
mapstyle.withgoogle.com
Styling Wizard: Google Maps APIs
Customize colors, roads, labels, and more. Then use your custom style in your Google Maps Platform project.
๐ŸŒ
Snazzy Maps
snazzymaps.com
Snazzy Maps - Free Styles for Google Maps
Snazzy Maps is a repository of different color schemes for Google Maps aimed towards web designers and developers.
Discussions

Google maps 3.54 adding style to the map
It is currently not possible to upload or import JSON from Google Map Console/Platform for custom styling of Google Maps. But it is possible to add custom styles from the code end. More on stackoverflow.com
๐ŸŒ stackoverflow.com
Trying to make custom google map with custom style
There is no place to import into google. You make your own web application using google maps api and there you use your custom style. Search for the maps api documentation, google has pretty good stuff. More on reddit.com
๐ŸŒ r/Maps
4
2
May 4, 2023
Using my own map styles in Google Maps with mapId and Style created in in the Google Maps Platform console - Stack Overflow
How can I apply my predefined map styles in Google Maps, using a specified mapId, while avoiding the automatic application of styles created in the Google Maps Platform console for that mapId? Curr... More on stackoverflow.com
๐ŸŒ stackoverflow.com
Working on a โ€œGoogle Mapsโ€ style map. Thought I would share progress!
Colors have really good aesthetic. More on reddit.com
๐ŸŒ r/3Dprinting
189
5852
November 7, 2022
๐ŸŒ
Atlist
stylist.atlist.com
Stylist: A Simple Google Maps Style Editor
A simple Google Maps style editor. Created by Atlist.
๐ŸŒ
Google
developers.google.com โ€บ google maps platform โ€บ web โ€บ maps javascript api โ€บ cloud-based maps styling overview
Cloud-based maps styling overview | Maps JavaScript API | Google for Developers
Cloud-based maps styling allows you to customize the appearance of the default roadmap in your Google Maps Platform applications (Android, iOS, JavaScript, and Web Service) through the Google Cloud Console.
๐ŸŒ
Google Maps
google.com โ€บ maps โ€บ about โ€บ mymaps
About - Google Maps
Instantly make maps from spreadsheets. Personalize ยท Show your style with icons and colors.
๐ŸŒ
Google Maps Platform
mapsplatform.google.com โ€บ resources โ€บ blog โ€บ custom-map-styling-with-google-maps
Blog: Custom map styling with the Google Maps APIs on Android and iOS โ€“ Google Maps Platform
September 21, 2016 - Cross-platform custom map styling is hereโ€”change the color palette of your maps, hide labels, vary road density and toggle points of interest. Your maps can now match your brand and style across your website and your apps! The Google Maps APIs now support you in creating beautiful styled maps for your Android and iOS apps as well as your website using the same JSON style object.
Find elsewhere
๐ŸŒ
Google Maps
mapsplatform.google.com โ€บ demos โ€บ 3d-maps
Photorealistic 3D Maps - Google Maps Platform
Using the 3D Maps API you can now build immersive maps experiences with Google's proven rendering technology, allowing you to deliver next gen maps at scale.
๐ŸŒ
React Map GL
visgl.github.io โ€บ react-google-maps โ€บ examples โ€บ change-map-styles
Change Map Styles - React Google Maps
The Map component can switch between multiple styles, even between cloud-based and local styles, on the fly. Switching the mapType is supported as well. Due to the way the Maps API works, a new google.maps.Map instance has to be created when changing the mapId.
Top answer
1 of 2
4

It is currently not possible to upload or import JSON from Google Map Console/Platform for custom styling of Google Maps.

But it is possible to add custom styles from the code end. I have also tried this in an Angular project.

Working Code -

import { Loader } from '@googlemaps/js-api-loader';

ngOnInit(): void {
  const loader = new Loader({
    apiKey: API_KEY,
    version: 'weekly'
  });

  loader.importLibrary('maps').then(() => {
    void this.initMap();
  }).catch((error: Error) => {
    console.error(`Error loading Google Maps API: ${error.message}`);
  });
}

async initMap(): Promise <void> {
  const { Map } = await google.maps.importLibrary("maps") as google.maps.MapsLibrary;

  const mapOptions = {
    zoom: 7,
    center: {
      lat: 22.5744,
      lng: 88.3629
    },
  };

  const map = new Map(document.getElementById('map'), mapOptions);

  const styledMapType = new google.maps.StyledMapType(
    [
      {
        featureType: 'water',
        elementType: 'all',
        stylers: [
          {
            color: '#f40000',
          },
          {
            visibility: 'on',
          },
        ],
      }
    ]
  );
  this.map.mapTypes.set('styled_map', styledMapType);
  this.map.setMapTypeId('styled_map');
}

Output -

Google map package version -

"@angular/core": "^17.2.0",
"@angular/google-maps": "^17.2.0",
"@googlemaps/js-api-loader": "^1.16.6",
"@googlemaps/markerclusterer": "^2.5.3",
2 of 2
3

Not sure about how it is with Vue but your code looks correct โ€“ with or without &v=3.54.

The thing is, if you instantiate your map with a mapId, the styles attribute in the constructor will not override the map's appearance.

So, if you don't have cloud styling associated with your mapId, remove it from the constructor. Your styles should apply right away. And I suspect this.map.setMapTypeId(...) will take effect too.

UPDATE

You cannot use mapIds and styles at the same time. When you do, you'll get the warning:

A Map's styles property cannot be set when a mapId is present. When a mapId is present, Map styles are controlled via the cloud console. Please see documentation at https://developers.google.com/maps/documentation/javascript/styling#cloud_tooling

Given that your style definitions are stored in a DB, you'll likely need to create individual mapIds and their associated cloud styleโ€ฆ

Alternatively, you can reconsider your usage of Advanced Markers. Here's a guide to explore alternatives. Dislaimer: I wrote the guide.

Finally, you might want to keep an eye on the gcloud cli which might, at some future point, let you programmatically create mapIds and styles -- just like Google did for API Keys.

๐ŸŒ
Mapbox
mapbox.com โ€บ mapbox-studio
Design Custom Maps with Mapbox Studio
You can tweak the colors and fonts on a core style in minutes and start using the map in an app or website, or you can build your own map style from the ground up with custom data and carefully crafted style layers. Mapbox Studio also lets you import data to use in your styles.
๐ŸŒ
Google Maps Platform
mapsplatform.google.com โ€บ maps-products โ€บ dynamic-maps
Custom Dynamic Map Visualization - Google Maps Platform
Now you can style your geospatial data as points, lines, and polygons. ... Decide which types of business to show on your map, based on relevance to your customers.
๐ŸŒ
Google
google.com โ€บ earth โ€บ outreach โ€บ learn โ€บ visualize-your-data-on-a-custom-map-using-google-my-maps
Visualize your data on a custom map using Google My Maps โ€“ Google Earth Outreach
Use the Group places by drop-down menu to select Style by data column: Type, then choose Categories. Hover your cursor over the text Permanent, and select the gray paint can icon that pops up. Under More icons, select the man icon . You should now see those icons on your map.
๐ŸŒ
Snazzy Maps
snazzymaps.com โ€บ explore
Explore Styles - Snazzy Maps - Free Styles for Google Maps
Snazzy Maps is a repository of different color schemes for Google Maps aimed towards web designers and developers.
๐ŸŒ
Reddit
reddit.com โ€บ r/maps โ€บ trying to make custom google map with custom style
r/Maps on Reddit: Trying to make custom google map with custom style
May 4, 2023 -

(if this is the wrong subreddit im sorry)

So, i made a map using snazzymaps, specifically trying to make a RDR2 styled map. I figured out how to get the JSON code, along with a static map URL, but i cant seem to find out how to import that into Google Maps, or use it in any way. If anyone can help me, id be very thankful.

๐ŸŒ
Rover IDX
roveridx.com โ€บ home โ€บ how to add style to google maps
How to add style to Google maps - The most flexible IDX on the market
January 15, 2024 - Rover IDX allows Google Maps on your site to be styled using the Google Map embedded JSON feature. To add styling to your maps: Follow the Google documentation for embedded JSON style declarations.
๐ŸŒ
WP Maps Pro
wpmapspro.com โ€บ home โ€บ docs โ€บ how to give a different style to your google maps
How to give a different style to your Google Maps - WP Maps
October 7, 2024 - Step 4 Go to Add or Edit Map and Scroll down to โ€˜Map Style Settingโ€™ section and paste it here to apply custom google maps skin.
๐ŸŒ
EasyMapMaker
easymapmaker.com โ€บ features โ€บ map-style
Create a map with a custom map style
You can use one of our 15 predefined map styles or you can use your own. Map styling allows colors on the map to be changed and items to be hidden. Our predefined styles include dark maps, light maps, enhanced colors, and label changes. Google's Map Style wizard allow map styles to be created ...