Fix markers being left on world changes

This commit is contained in:
Mike Primm 2011-09-05 20:03:30 -05:00
parent 34ae7d21fd
commit dcb3e8e2ff

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 = {};
});
}