Skip to content

MChehab94/Google-Map-Drawing-Demo

Repository files navigation

This is a simple demo that shows how to draw, style and handle click event for the following shapes in Google Maps:

  • Circle
  • Polyline
  • Polygon

There are two modules:

  • app: Kotlin implementation
  • java: Java implementation

A thorough explanation can be found in the post here.
NOTE: In order to use this code, you need to create an API key for Google Maps from https://console.developers.google.com. Once you generate the key, you need to add it in google_maps_api_key.xml located res -> values