Fix some bugs regarding OMS by introducing a new helper function

This commit is contained in:
fkloft
2014-06-10 20:52:20 +02:00
parent d3fca8612c
commit 042129095b
4 changed files with 20 additions and 20 deletions

View File

@ -1018,8 +1018,7 @@
iconSize: [30,40]
})
});
window.oms.addMarker(star);
star.on('remove', function() { window.oms.removeMarker(star); });
window.registerMarkerForOMS(star);
star.on('spiderfiedclick', function() { renderPortalDetails(guid); });
window.plugin.bookmarks.starLayers[guid] = star;