Hi Paul, Right now, it's `icon` attribute is a simple URL to an image. The map marker element would need to be taught how to use the svg images within the iron icon set. The maps API takes a URL to an image as well: https://github.com/GoogleWebComponents/google-map/blob/master/google-map-marker.html#L236
Want to file a feature request at https://github.com/GoogleWebComponents/google-map/issues/new? On Wed, Jul 22, 2015 at 10:58 AM Paul Rondeau <[email protected]> wrote: > I'm looking for a way to set the icon for a google-map-marker, ideally I > could use the iron-icons as they are already being used elsewhere in my > project. I cannot find a way to set the icon marker properly. > > Going off of the iron-icon element, I've 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'd really like to > use the iron-icons for this. > Other icons work on the page within iron-icon tags: > > <iron-icon icon="favorite"></iron-icon> > > > Am I doing something wrong or is there a workaround for this? > > Thanks > > Follow Polymer on Google+: plus.google.com/107187849809354688692 > --- > You received this message because you are subscribed to the Google Groups > "Polymer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/polymer-dev/f4d55c4d-a42a-49f4-8d2b-8d3dbe610f39%40googlegroups.com > <https://groups.google.com/d/msgid/polymer-dev/f4d55c4d-a42a-49f4-8d2b-8d3dbe610f39%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CACGqRCA5zFkHnjq8fm-42%3Di-0fK1C8CR_Rw5UtwnhQoaUbB3zQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
