We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
GoogleMapPlotter.enable_marker_dropping(color, **kwargs)
Allows markers to be dropped onto the map when clicked.
Clicking on a dropped marker will delete it.
Note: Calling this function multiple times will just overwrite the existing dropped marker settings.
Parameters
color str – Color of the markers to be dropped.
str
Optional Parameters
title str – Hover-over title of the markers to be dropped.
label str – Label displayed on the markers to be dropped.
draggable bool – Whether or not the markers to be dropped are draggable.
bool
Usage:
import gmplot apikey = '' # (your API key here) gmap = gmplot.GoogleMapPlotter(37.766956, -122.438481, 13, apikey=apikey) gmap.enable_marker_dropping('orange', draggable=True) gmap.draw('map.html')
Home
GoogleMapPlotter