Parcourir la source

Adds scale control to map.

Alan Lam il y a 8 ans
Parent
commit
9d6058e039
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      public/js/app.js

+ 1 - 0
public/js/app.js

@@ -63,6 +63,7 @@ function initialiseMaps() {
 		options.center = position;
 		options.zoom = $(this).data("zoom");
 		options.gestureHandling = "greedy";
+		options.scaleControl = true;
 
 		let map = new google.maps.Map(this, options);