Security notice: We have become aware of a security issue that may be affecting websites using specific third-party libraries (including polyfill.io). This issue can sometimes redirect visitors away from the intended website without website owner knowledge or permission. Many of our JavaScript samples previously included a polyfill.io
script declaration. We have removed this from our samples. If you have used our JavaScript samples that contain this declaration, we recommend removing the declaration.
The Maps JavaScript API is a client-side web API that lets you create maps to
show locations anywhere in the world, add your own custom graphics, animations, and interactive
custom data layers, and create location-aware features by using the Places API in the
Maps JavaScript API. With the Maps JavaScript API, you can:
- Create 2D and 3D maps to show locations anywhere in the world.
- Add customizable markers to indicate locations on a map.
- Use the Places library to get location data for over 200 million places.
- Customize the map's style and colors.
- Add your own interactive custom data layers.
- Display administrative boundaries and make them interactive.
- Add custom 2D and 3D graphics and animated content to your maps.
What's next
Set up and create a maparrow_drop_down
Use Maps JavaScript API featuresarrow_drop_down
Work with Maps JavaScript API servicesarrow_drop_down
Work with Maps JavaScript API librariesarrow_drop_down
See example code for Maps features