Explorar el Código

Set max zoom.

Alan Lam hace 8 años
padre
commit
f49c27879d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      public/js/app-project.js

+ 2 - 1
public/js/app-project.js

@@ -270,7 +270,8 @@ function initialiseTesters() {
 
 	if(!markerClusterer) {
 		markerClusterer = new MarkerClusterer(map, [], {
-			imagePath: '/img/markers/m'
+			imagePath: '/img/markers/m',
+			maxZoom: 10
 		});
 	}