Explorar o código

Set max zoom.

Alan Lam %!s(int64=8) %!d(string=hai) anos
pai
achega
f49c27879d
Modificáronse 1 ficheiros con 2 adicións e 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
 		});
 	}