Pick a color mode
Pick a theme
DOM identifier
Additional CSS classes for the map container
Inline CSS styles for the map container
Lodash HTML template for marker info windows, evaluated with the marker's attributes
LiveView events by marker collection.
Example: %{default: [%{on: "click", push: %{event: "select_marker", payload: %{id: %{marker: :id}}}}]}. Payload values reference attributes of the clicked marker.
Send the click_marker_event LiveView event with the marker's shop_id when clicked
Settings entries: %{label: "Refresh", event: "refresh", payload: %{}}. Events are sent to the parent LiveView. An empty list hides the control.
Google Map options. A JavaScript mapId is required for advanced markers.
Use DEMO_MAP_ID only for development and stories. https://developers.google.com/maps/documentation/javascript/reference/map#MapOptions
list of marker collections. %{default: [%{lat: lat, lng: lng}, ...], some_collection: [...]}
Color for each collection of markers
Radius in meters for each collection of markers (%{default: 500, disabled: 100})
ID of a single marker that will start bouncing as it get focus
When no bounds are given they are automatically infered from markers.
This option prevents the map from panning/zooming around as markers are added and removed. [%{lat: sw_lat, lng: sw_lng}, %{lat: ne_lat, lng: ne_lng}]
Enable or disable map cluster, for each collection