-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I'm using the custom markers as follow:
{% for dealerType, dealerLocations in groupedLocations %}
{% if dealerType == 'masterBuilder' %}
{% do map.markers(dealerLocations, {
'icon': {
'url': '/assets/images/master-dealers.png',
'scaledSize': {'width': 44, 'height': 44 }
}
}) %}
{% elseif dealerType == 'proBuilder' %}
{% do map.markers(dealerLocations, {
'icon': '/assets/images/pro-dealers.png'
}) %}
{% do map.markers(dealerLocations, {
'icon': {
'url': '/assets/images/pro-dealers.png',
'scaledSize': {'width': 44, 'height': 44 }
}
}) %}
{% else %}
{% do map.markers(dealerLocations, {
'icon': {
'url': '/assets/images/other-dealers.png',
'scaledSize': {'width': 44, 'height': 44 }
}
}) %}
{% endif %}
{% endfor %}
Each dealer will use different icon, however when rendering on the map, it's showing both Google marker and the custom marker as the screenshot.
Please advise.
Thank you!

Metadata
Metadata
Assignees
Labels
No labels