You can display a map that displays the revelant Locations from a widget search by a marker.
For now, the map Provider is googleMaps, so you will need a googleMaps API Key. Here is some more documentation about how to generate public key using Google
Maps: https://developers.google.com/maps/documentation/geocoding/get-api-key?hl=en.
To implement a map in the widget results, add the following attributes to the widget script:
data-map-provider=”googleMap”
data-map-api-key=”your_api_key”
To customize the map container design, add some style to this class:
<div class="map"></div>
Comments
0 comments
Please sign in to leave a comment.