This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| componentconstructors['regiongrid'] = function(dynmap, configuration) { | |
| // var cfg = $.extend({}, configuration); | |
| var me = this; | |
| this.chunkGroup = new L.LayerGroup(); | |
| this.regionGroup = new L.LayerGroup(); | |
| this.chunkMarkers = []; | |
| this.regionMarkers = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var dynmapmarkersets = {}; | |
| componentconstructors['markers'] = function(dynmap, configuration) { | |
| var me = this; | |
| function removeAllMarkers() { | |
| $.each(dynmapmarkersets, function(setname, set) { | |
| $.each(set.markers, function(mname, marker) { | |
| deleteMarker(set, marker); |