Difference between revisions of "Template:Heidelberg/Weltkugel"

(Undo revision 369380 by Marita (talk))
Line 116: Line 116:
 
          
 
          
 
         start = [0, 27.5]
 
         start = [0, 27.5]
         //Setup zoom behavior to false
+
         //Setup zoom behavior
         var zoom = d3.behavior.zoom(false)
+
         var zoom = d3.behavior.zoom(true)
 +
        .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