{"id":17210,"date":"2013-05-13T18:01:40","date_gmt":"2013-05-13T10:01:40","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=17210"},"modified":"2025-04-24T17:14:06","modified_gmt":"2025-04-24T09:14:06","slug":"google-maps-styles","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/","title":{"rendered":"How to Style Google Maps"},"content":{"rendered":"<p><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/maps.google.com\/\">Google Maps<\/a> is one of the best services you can get from <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.google.com\/\">Google<\/a>. It\u2019s a free tool that allows you to easily embed interactive and information-rich maps on your website. However, one disadvantage that comes from using free services is that eventually they all look the same.<\/p>\n<p>The good news is Google launched <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/developers.google.com\/maps\/documentation\/cloud-customization\/overview\">the API that controls the map styles<\/a>. So, in this post, we will see how to use the API and make your map more distinctive.<\/p>\n<div class=\"button\">\n    <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/hongkiat.github.io\/google-maps-styles\/\">View Demo<\/a>\n<\/div>\n<h2>Google Maps Library<\/h2>\n<p>The first thing that we need to do is to include the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/libraries\">Google Maps JavaScript library<\/a> inside the document\u2019s &lt;head&gt; tag, so that we can use the API.<\/p>\n<pre>&lt;script src=\"https:\/\/maps.googleapis.com\/maps\/api\/js?v=3.exp&sensor=false\"&gt;&lt;\/script&gt;<\/pre>\n<h2>Google Maps Components<\/h2>\n<p>There are three components to style the Google Maps: the <code>featureTypes<\/code>, the <code>elementTypes<\/code>, and the <code>Stylers<\/code>.<\/p>\n<p><code>featureTypes<\/code> is used to select the geographical objects on the map, <strong>such as the road, the water, and the parks<\/strong>, so it basically works like the CSS selectors. For your convenience, we have listed a few featureTypes that we can use to control the map.<\/p>\n<table>\n<thead>\n<tr>\n<th align=\"left\" width=\"30%\">FeatureTypes<\/th>\n<th align=\"left\" width=\"70%\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>water<\/code><\/td>\n<td>Select all the water objects on the map including the sea, the lake and the river.<\/td>\n<\/tr>\n<tr>\n<td><code>road<\/code><\/td>\n<td>Select all the roads on the map.<\/td>\n<\/tr>\n<tr>\n<td><code>landscape<\/code><\/td>\n<td>Select the landscapes on the map.<\/td>\n<\/tr>\n<tr>\n<td><code>poi<\/code><\/td>\n<td>Select the point of interests, areas like schools, business districts, and parks.<\/td>\n<\/tr>\n<tr>\n<td><code>transit<\/code><\/td>\n<td>Select all the public transit like bus stations, the train stations and the airports.<\/td>\n<\/tr>\n<tr>\n<td><code>administrative<\/code><\/td>\n<td>Select the administrative areas.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>For more, you can head over to the following API reference: <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/reference#MapTypeStyleFeatureType\">Google Maps feature type specification<\/a>.<\/p>\n<p><code>elementTypes<\/code> is used to target the element that is part of the geographical objects, such as the object shape, the fill, the stroke, and the object labels.<\/p>\n<p><code>stylers<\/code> is an array of properties to adjust the object colors and its visibility. Google Maps accepts HSL (Hue, Saturation, Lightness) and Hexadecimal for the color format.<\/p>\n<h2>Basic Usage<\/h2>\n<p>First of all, we need to add a <code>&lt;div&gt;<\/code> element that is assigned with an <code>id<\/code> to contain the map.<\/p>\n<pre>&lt;div id=\"surabaya\"&gt;&lt;\/div&gt;<\/pre>\n<p>The styles in Google Maps are declared with JavaScript objects. So, all the styles are nested under the <code>&lt;script&gt;<\/code> tag \u2013 this is basic JavaScript. Additionally, you can place the scripts before the body close tag, or at the head tag with the <code>window.onload<\/code> function, like so.<\/p>\n<pre>window.onload = function () {\n    \/\/ add the scripts here\n}<\/pre>\n<p>Create a variable to contain the map style rules. In this case, I would like to name it <strong>styles<\/strong>.<\/p>\n<pre>window.onload = function () {\n    var styles = [\n        \/\/ we will add the style rules here.\n    ];\n};<\/pre>\n<p>Then, display the map to the <code>&lt;div&gt;<\/code> container with the following functions.<\/p>\n<pre>window.onload = function () {\n    var styles = [\n        \/\/ we will add the style rules here.\n    ];\n    var options = {\n        mapTypeControlOptions: {\n            mapTypeIds: ['Styled']\n        },\n        center: new google.maps.LatLng(-7.245217594087794, 112.74455556869509),\n        zoom: 16,\n        disableDefaultUI: true,\n        mapTypeId: 'Styled'\n    };\n    var div = document.getElementById('surabaya');\n    var map = new google.maps.Map(div, options);\n    var styledMapType = new google.maps.StyledMapType(styles, { name: 'Styled' });\n    map.mapTypes.set('Styled', styledMapType);\n};<\/pre>\n<p>At this point, the map should have appeared on your page, as follows.<\/p>\n<p><figure><img decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/google-maps-styles\/default-map.jpg\" alt=\"Default Google Map View\"><\/figure>\n<\/p>\n<p class=\"note\"><strong>Check out<\/strong>: <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/overview\">Getting Started with Google Maps JavaScript API<\/a><\/p>\n<p>In this example, I would like to change the color of the water. To do so, we can write the style rules in this way, within the <code>styles<\/code> variable.<\/p>\n<pre>var styles = [\n    {\n        featureType: 'water',\n        elementType: 'geometry.fill',\n        stylers: [\n            { color: '#adc9b8' }\n        ]\n    }\n];<\/pre>\n<p>The code above changes the fill color of the water element on the map to color <code>#adc9b8<\/code>, and here\u2019s how it turns out.<\/p>\n<p><figure><img decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/google-maps-styles\/map-water.jpg\" alt=\"Google Map Styled Water\"><\/figure>\n<\/p>\n<p>Next, let\u2019s change the landscape\u2019s color, and this time we will use the HSL color format so that we can adjust the color lightness, like so.<\/p>\n<pre>var styles = [\n    {\n        featureType: 'water',\n        elementType: 'geometry.fill',\n        stylers: [\n            { color: '#adc9b8' }\n        ]\n    },{\n        featureType: 'landscape.natural',\n        elementType: 'all',\n        stylers: [\n            { hue: '#809f80' },\n            { lightness: -35 }\n        ]\n    }\n];<\/pre>\n<p>This code addition gives us the following result.<\/p>\n<p><figure><img decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/google-maps-styles\/map-landscape.jpg\" alt=\"Google Map Styled Landscape\"><\/figure>\n<\/p>\n<p>Furthermore, these are the style rules for several other objects on the map.<\/p>\n<pre>{\n    featureType: 'poi',\n    elementType: 'geometry',\n    stylers: [\n        { hue: '#f9e0b7' },\n        { lightness: 30 }\n    ]\n},{\n    featureType: 'road',\n    elementType: 'geometry',\n    stylers: [\n        { hue: '#d5c18c' },\n        { lightness: 14 }\n    ]\n},{\n    featureType: 'road.local',\n    elementType: 'all',\n    stylers: [\n        { hue: '#ffd7a6' },\n        { saturation: 100 },\n        { lightness: -12 }\n    ]\n}<\/pre>\n<p>Here is the final look of the map.<\/p>\n<p><figure><img decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/google-maps-styles\/map-final.jpg\" alt=\"Final Styled Google Map\"><\/figure>\n<\/p>\n<p>You can head over to the demo page to see the final result in detail.<\/p>\n<div class=\"button\">\n    <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/hongkiat.github.io\/google-maps-styles\/\">View Demo<\/a>\n    <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/hongkiat\/google-maps-styles\/\">Download Source<\/a>\n<\/div>\n<h2>Google Maps Styling Tools<\/h2>\n<p>In addition, if you prefer working with a GUI rather than manually writing the script, here are the tools for you to try out.<\/p>\n<ul>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/software.stadtwerk.org\/google_maps_colorizr\/\">Google Maps Colorizr<\/a><\/li>\n<\/ul>\n<h2>Further Resources<\/h2>\n<p>For further resources on implementing Google Maps API for map styling, you can head over to the following references.<\/p>\n<ul>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/reference#MapTypeStyler\">Getting Started with Google Maps API<\/a> \u2014 Google Developers<\/li>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/reference#MapTypeStyler\">Google Maps Stylers Specification<\/a> \u2014 Google Developers<\/li>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/reference#MapTypeStyleFeatureType\">Google Maps Feature Types specification<\/a> \u2014 Google Developers<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Google Maps is one of the best services you can get from Google. It\u2019s a free tool that allows you to easily embed interactive and information-rich maps on your website. However, one disadvantage that comes from using free services is that eventually they all look the same. The good news is Google launched the API&hellip;<\/p>\n","protected":false},"author":113,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[352],"tags":[507,37,2171,506,4117],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Style Google Maps - Hongkiat<\/title>\n<meta name=\"description\" content=\"Google Maps is one of the best services you can get from Google. It&#039;s a free tool that allows you to easily embed interactive and information-rich maps on\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Style Google Maps\" \/>\n<meta property=\"og:description\" content=\"Google Maps is one of the best services you can get from Google. It&#039;s a free tool that allows you to easily embed interactive and information-rich maps on\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2013-05-13T10:01:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-24T09:14:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/google-maps-styles\/default-map.jpg\" \/>\n<meta name=\"author\" content=\"Thoriq Firdaus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tfirdaus\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thoriq Firdaus\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/google-maps-styles\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/google-maps-styles\\\/\"},\"author\":{\"name\":\"Thoriq Firdaus\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\"},\"headline\":\"How to Style Google Maps\",\"datePublished\":\"2013-05-13T10:01:40+00:00\",\"dateModified\":\"2025-04-24T09:14:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/google-maps-styles\\\/\"},\"wordCount\":623,\"commentCount\":32,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/google-maps-styles\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/google-maps-styles\\\/default-map.jpg\",\"keywords\":[\"CSS\",\"Google\",\"Google Maps\",\"HTML\",\"Javascripts\"],\"articleSection\":[\"Web Design\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/google-maps-styles\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/google-maps-styles\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/google-maps-styles\\\/\",\"name\":\"How to Style Google Maps - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/google-maps-styles\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/google-maps-styles\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/google-maps-styles\\\/default-map.jpg\",\"datePublished\":\"2013-05-13T10:01:40+00:00\",\"dateModified\":\"2025-04-24T09:14:06+00:00\",\"description\":\"Google Maps is one of the best services you can get from Google. It's a free tool that allows you to easily embed interactive and information-rich maps on\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/google-maps-styles\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/google-maps-styles\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/google-maps-styles\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/google-maps-styles\\\/default-map.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/google-maps-styles\\\/default-map.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/google-maps-styles\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Style Google Maps\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\",\"name\":\"Thoriq Firdaus\",\"description\":\"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.\",\"sameAs\":[\"https:\\\/\\\/thoriq.com\",\"https:\\\/\\\/x.com\\\/tfirdaus\"],\"jobTitle\":\"Web Developer\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/thoriq\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Style Google Maps - Hongkiat","description":"Google Maps is one of the best services you can get from Google. It's a free tool that allows you to easily embed interactive and information-rich maps on","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/","og_locale":"en_US","og_type":"article","og_title":"How to Style Google Maps","og_description":"Google Maps is one of the best services you can get from Google. It's a free tool that allows you to easily embed interactive and information-rich maps on","og_url":"https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2013-05-13T10:01:40+00:00","article_modified_time":"2025-04-24T09:14:06+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/google-maps-styles\/default-map.jpg","type":"","width":"","height":""}],"author":"Thoriq Firdaus","twitter_card":"summary_large_image","twitter_creator":"@tfirdaus","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Thoriq Firdaus","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/"},"author":{"name":"Thoriq Firdaus","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807"},"headline":"How to Style Google Maps","datePublished":"2013-05-13T10:01:40+00:00","dateModified":"2025-04-24T09:14:06+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/"},"wordCount":623,"commentCount":32,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/google-maps-styles\/default-map.jpg","keywords":["CSS","Google","Google Maps","HTML","Javascripts"],"articleSection":["Web Design"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/","url":"https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/","name":"How to Style Google Maps - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/google-maps-styles\/default-map.jpg","datePublished":"2013-05-13T10:01:40+00:00","dateModified":"2025-04-24T09:14:06+00:00","description":"Google Maps is one of the best services you can get from Google. It's a free tool that allows you to easily embed interactive and information-rich maps on","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/google-maps-styles\/default-map.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/google-maps-styles\/default-map.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/google-maps-styles\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Style Google Maps"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807","name":"Thoriq Firdaus","description":"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.","sameAs":["https:\/\/thoriq.com","https:\/\/x.com\/tfirdaus"],"jobTitle":"Web Developer","url":"https:\/\/www.hongkiat.com\/blog\/author\/thoriq\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-4tA","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/17210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/113"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=17210"}],"version-history":[{"count":4,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/17210\/revisions"}],"predecessor-version":[{"id":74107,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/17210\/revisions\/74107"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=17210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=17210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=17210"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=17210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}