Fix markers being left on world changes

This commit is contained in:
Mike Primm 2011-09-05 20:03:30 -05:00
parent 643af43cbb
commit 66578ad4ad

View file

@ -9,6 +9,7 @@ componentconstructors['markers'] = function(dynmap, configuration) {
$.each(set.markers, function(mname, marker) {
set.layergroup.removeLayer(marker.our_marker);
});
set.markers = {};
});
}