mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
Enable block-scoped-var eslint rule
This commit is contained in:
@@ -40,9 +40,10 @@ function vtToGeoJSON(data, tile, mergeCache) {
|
||||
geometry.coordinates = [geometry.coordinates];
|
||||
}
|
||||
|
||||
var isClipped = false;
|
||||
|
||||
// Clip to tile bounds
|
||||
if (geometry.type === 'MultiPolygon') {
|
||||
var isClipped = false;
|
||||
var featureClip = turf_bboxClip(feature, tile.extent.rectangle());
|
||||
if (!deepEqual(feature.geometry, featureClip.geometry)) {
|
||||
// feature = featureClip;
|
||||
|
||||
Reference in New Issue
Block a user