From 6519b546479a308c3f16f6ab45a2651c5531ad40 Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Fri, 17 Apr 2020 00:08:11 +0100 Subject: [PATCH] fix prettier --- examples/geojson-vt.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/geojson-vt.js b/examples/geojson-vt.js index e9cac835d0..a19a8f1748 100644 --- a/examples/geojson-vt.js +++ b/examples/geojson-vt.js @@ -87,7 +87,11 @@ fetch(url) }, tileLoadFunction: function (tile, url) { const tileCoord = JSON.parse(url); - const data = tileIndex.getTile(tileCoord[0], tileCoord[1], tileCoord[2]); + const data = tileIndex.getTile( + tileCoord[0], + tileCoord[1], + tileCoord[2] + ); const geojson = JSON.stringify( { type: 'FeatureCollection', @@ -97,7 +101,7 @@ fetch(url) ); const features = format.readFeatures(geojson, { extent: vectorSource.getTileGrid().getTileCoordExtent(tileCoord), - featureProjection: map.getView().getProjection() + featureProjection: map.getView().getProjection(), }); tile.setFeatures(features); },