Skip to content

Commit

Permalink
export Util
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinr-maps committed Aug 7, 2023
1 parent 85c4f83 commit b358aa5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/EsriLeafletVector.js
Original file line number Diff line number Diff line change
@@ -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';
6 changes: 6 additions & 0 deletions src/Util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit b358aa5

Please sign in to comment.