Changeset 175 for binary-improvements
- Timestamp:
- Sep 7, 2014, 8:38:49 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/webserver/js/index.js
r173 r175 159 159 160 160 var playersOnlineMarkerGroup = L.layerGroup(); 161 var playersOfflineMarkerGroup = L.markerClusterGroup(); 161 var playersOfflineMarkerGroup = L.markerClusterGroup({ 162 maxClusterRadius: function(zoom) { zoom == MAXZOOM ? 10 : 50 } 163 }); 162 164 var landClaimsGroup = L.markerClusterGroup({ 163 165 disableClusteringAtZoom: MAXZOOM, … … 333 335 var color = active ? "#00ff00" : "#ff0000"; 334 336 337 console.log("id: " + steamid + " - " + active + " - " + color); 338 335 339 $.each( val.claims, function( key, val ) { 336 340 var pos = L.latLng(val.z, val.x);
Note:
See TracChangeset
for help on using the changeset viewer.