Changeset 347
- Timestamp:
- Jan 19, 2019, 3:12:38 PM (6 years ago)
- Location:
- binary-improvements
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/API/ExecuteConsoleCommand.cs
r325 r347 26 26 27 27 if (command == null) { 28 resp.StatusCode = (int) HttpStatusCode.Not Implemented;28 resp.StatusCode = (int) HttpStatusCode.NotFound; 29 29 Web.SetResponseTextContent (resp, "Unknown command"); 30 30 return; -
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.