🏑 Home πŸ“– Chapter πŸ‘ˆ Prev πŸ‘‰ Next

⚑  GMapsBook.com is crafted by Jozef Sorocin (🟒 Book a consulting hour) and powered by:

Google Maps supports various types of overlays, ranging from markers with associated info windows, through polylines, all the way to circles, rectangles, squares and other kinds of polygons.

<aside> πŸ”‘ Disambiguation: overlays discussed in this chapter will also be called artifacts to differentiate them from 5. Data Layers & Overlays.

</aside>

You would typically:

Unless customized, all these artifacts are vectorized β€” meaning that when you move or zoom the map, the overlays move and scale up/down without pixelation and in sync with the map canvas.

<aside> πŸ’‘

The following concepts require elementary knowledge of geographic coordinates, as presented in the previous chapter.

</aside>

Scenario

I’d like to display my chain of restaurants on a Google Map and display 0.5mi circles around each location:

https://storage.googleapis.com/gmaps-handbook/public/common/2/2.1/markers-and-circles.png

Approach