Update projection arg for d3.geoPath(), deprecate d3.geoClipExtent()

This commit is contained in:
Bryan Housel
2016-10-29 15:27:06 -04:00
parent b7f02a5752
commit 46b6086dcf
6 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -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')