I'm looking for a way to set an icon for a google-map marker, ideally I could use iron badges, as they are already in use elsewhere in my project. I cannot find a way to set the icon marker correctly.
Disabling documentation for the iron-icon element, I tried:
<link rel="import" href="../bower_components/iron-icons/iron-icons.html">
<google-map-marker latitude="37.7749295" longitude="-122.41941550000001" icon="favorite">
</google-map-marker>
Custom icons work by setting: icon = "someImg.png", but I would really like to use iron icons for this. Other icons work on the page in iron-icon tags:
<iron-icon icon="favorite"></iron-icon>
Am I doing something wrong or is there a workaround for this?
thank
source
share