mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 22:03:37 +02:00
Update projection arg for d3.geoPath(), deprecate d3.geoClipExtent()
This commit is contained in:
@@ -237,7 +237,7 @@ export function uiMapInMap(context) {
|
||||
|
||||
// redraw viewport bounding box
|
||||
if (gesture !== 'pan') {
|
||||
var getPath = d3.geoPath().projection(projection),
|
||||
var getPath = d3.geoPath(projection),
|
||||
bbox = { type: 'Polygon', coordinates: [context.map().extent().polygon()] };
|
||||
|
||||
viewport = wrap.selectAll('.map-in-map-viewport')
|
||||
|
||||
Reference in New Issue
Block a user