Changeset 347 for binary-improvements/webserver
- Timestamp:
- Jan 19, 2019, 3:12:38 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/webserver/js/map.js
r320 r347 81 81 82 82 var playersOnlineMarkerGroup = L.markerClusterGroup({ 83 maxClusterRadius: function(zoom) { return zoom == mapinfo.maxzoom ? 10 : 50; }83 maxClusterRadius: function(zoom) { return zoom >= mapinfo.maxzoom ? 10 : 50; } 84 84 }); 85 85 var playersOfflineMarkerGroup = L.markerClusterGroup({ 86 maxClusterRadius: function(zoom) { return zoom == mapinfo.maxzoom ? 10 : 50; }86 maxClusterRadius: function(zoom) { return zoom >= mapinfo.maxzoom ? 10 : 50; } 87 87 }); 88 88 var hostilesMarkerGroup = L.markerClusterGroup({ 89 maxClusterRadius: function(zoom) { return zoom == mapinfo.maxzoom ? 10 : 50; }89 maxClusterRadius: function(zoom) { return zoom >= mapinfo.maxzoom ? 10 : 50; } 90 90 }); 91 91 var animalsMarkerGroup = L.markerClusterGroup({ 92 maxClusterRadius: function(zoom) { return zoom == mapinfo.maxzoom ? 10 : 50; }92 maxClusterRadius: function(zoom) { return zoom >= mapinfo.maxzoom ? 10 : 50; } 93 93 }); 94 94 95 95 var densityMismatchMarkerGroupAir = L.markerClusterGroup({ 96 maxClusterRadius: function(zoom) { return zoom == mapinfo.maxzoom ? 10 : 50; }96 maxClusterRadius: function(zoom) { return zoom >= mapinfo.maxzoom ? 10 : 50; } 97 97 }); 98 98 var densityMismatchMarkerGroupTerrain = L.markerClusterGroup({ 99 maxClusterRadius: function(zoom) { return zoom == mapinfo.maxzoom ? 10 : 50; }99 maxClusterRadius: function(zoom) { return zoom >= mapinfo.maxzoom ? 10 : 50; } 100 100 }); 101 101 var densityMismatchMarkerGroupNonTerrain = L.markerClusterGroup({ 102 maxClusterRadius: function(zoom) { return zoom == mapinfo.maxzoom ? 10 : 50; }102 maxClusterRadius: function(zoom) { return zoom >= mapinfo.maxzoom ? 10 : 50; } 103 103 }); 104 104
Note:
See TracChangeset
for help on using the changeset viewer.