mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 15:34:49 +02:00
@@ -1,7 +1,9 @@
|
||||
iD.Map = function(context) {
|
||||
var dimensions = [1, 1],
|
||||
dispatch = d3.dispatch('move', 'drawn'),
|
||||
projection = d3.geo.mercator().scale(512 / Math.PI),
|
||||
projection = d3.geo.mercator()
|
||||
.scale(512 / Math.PI)
|
||||
.precision(0),
|
||||
roundedProjection = iD.svg.RoundProjection(projection),
|
||||
zoom = d3.behavior.zoom()
|
||||
.translate(projection.translate())
|
||||
|
||||
Reference in New Issue
Block a user