From 3755951009544863e4bed44626b34d352170c6b4 Mon Sep 17 00:00:00 2001 From: Max Grossman Date: Wed, 19 Dec 2018 11:24:26 -0500 Subject: [PATCH] remove unused vars ref #5587 --- modules/svg/geolocate.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/modules/svg/geolocate.js b/modules/svg/geolocate.js index b4d964702..22ec4092f 100644 --- a/modules/svg/geolocate.js +++ b/modules/svg/geolocate.js @@ -2,16 +2,10 @@ import { select as d3_select } from 'd3-selection'; import { svgPointTransform } from './helpers'; import { geoMetersToLat } from '../geo'; -import { - geoIdentity as d3_geoIdentity, - geoPath as d3_geoPath, - geoStream as d3_geoStream -} from 'd3-geo'; import _throttle from 'lodash-es/throttle'; export function svgGeolocate(projection, context, dispatch) { var throttledRedraw = _throttle(function () { dispatch.call('change'); }, 1000); - var minZoom = 12; var layer = d3_select(null); var _position; @@ -64,7 +58,7 @@ export function svgGeolocate(projection, context, dispatch) { function update() { var geolocation = { loc: [_position.coords.longitude, _position.coords.latitude] }; - + var groups = layer.selectAll('.geolocations').selectAll('.geolocation') .data([geolocation]);