diff --git a/leaflet-marker.html b/leaflet-marker.html
index eb60d4a..ea32678 100644
--- a/leaflet-marker.html
+++ b/leaflet-marker.html
@@ -699,7 +699,7 @@
var iconOption;
if (this.icon) {
if (typeof this.icon == "string") {
- var iconElement = document.getElementById(this.icon);
+ var iconElement = Polymer.dom(this.parentNode).querySelector('#'+this.icon);
if (iconElement != null) {
if (iconElement.getIcon) {
iconOption = iconElement.getIcon();