Fix markers being left on world changes

This commit is contained in:
Mike Primm 2011-09-06 09:03:30 +08:00 committed by mikeprimm
parent 2f7890a40b
commit 7bee1dcae5

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