My Google Maps Demo We decided to extend the Yaga Theme pack and share it with you (free for both personal and commercial use). Embed Google Map code in HTML with marker. Keep up with us on Twitter and Instagram. Created by Adam Krogh. To summarise, we aren’t tied to using event listeners contained within the class instance. In the most basic way, it would look like this. Google does have a documentation page on Styled Maps. Uluru (also known as Ayers Rock) in the Q&A for Work. Many of the problems I face, Google has examples for in their documentation. You can copy this into an HTML file and open it your browser. The last section of the method is used to position the custom marker within the map. If you are using it with a custom marker, you can reposition it with the labelOrigin property in the Icon class. Adding custom marker on the map layer will be useful to show custom information with iconic representation as per the user interest. }); Use our example script to change and add a custom image to marker icons in Google Maps. /* The height is 400 pixels */ (that's the API key that you've just obtained). The following code shows the CSS and JS inline in the HTML Use our example script to change and add a custom image to marker icons in Google Maps.