Difference between revisions of "Template:Heidelberg/Weltkugel"

Line 116: Line 116:
 
          
 
          
 
         start = [0, 27.5]
 
         start = [0, 27.5]
         //Setup zoom behavior
+
         //Setup zoom behavior to false
         var zoom = d3.behavior.zoom(true)
+
         var zoom = d3.behavior.zoom(false)
        .translate(projection.origin())
+
        .scale(projection.scale())
+
        .scaleExtent([250, 3000])
+
        .on("zoom", move);
+
 
          
 
          
 
         var circle = d3.geo.greatCircle();
 
         var circle = d3.geo.greatCircle();

Revision as of 12:25, 31 October 2017