From b358aa53d4a5ad558476f3538fb9af8b15fb6c0b Mon Sep 17 00:00:00 2001 From: Gavin Rehkemper Date: Mon, 7 Aug 2023 11:12:38 -0500 Subject: [PATCH] export Util --- src/EsriLeafletVector.js | 1 + src/Util.js | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/src/EsriLeafletVector.js b/src/EsriLeafletVector.js index fff64cd..210e92b 100644 --- a/src/EsriLeafletVector.js +++ b/src/EsriLeafletVector.js @@ -1,3 +1,4 @@ export { version as VERSION } from '../package.json'; export { VectorBasemapLayer, vectorBasemapLayer } from './VectorBasemapLayer'; export { VectorTileLayer, vectorTileLayer } from './VectorTileLayer'; +export { EsriUtil as Util } from './Util'; diff --git a/src/Util.js b/src/Util.js index f3e2fd6..098548e 100644 --- a/src/Util.js +++ b/src/Util.js @@ -287,3 +287,9 @@ const WEB_MERCATOR_WKIDS = [3857, 102100, 102113]; export function isWebMercator (wkid) { return WEB_MERCATOR_WKIDS.indexOf(wkid) >= 0; } + +export var EsriUtil = { + formatStyle: formatStyle +}; + +export default EsriUtil;