From 9172b9cec0c5fe014a62cbeffaa91a5603d53e95 Mon Sep 17 00:00:00 2001 From: Jonas Date: Wed, 1 Jun 2022 09:19:22 +0200 Subject: [PATCH] Add permalink methods to viewer (#1544) Adds permalink --- src/viewer.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/viewer.js b/src/viewer.js index 8ef52d62c..edd4692b8 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -16,6 +16,7 @@ import Footer from './components/footer'; import flattenGroups from './utils/flattengroups'; import getcenter from './geometry/getcenter'; import isEmbedded from './utils/isembedded'; +import permalink from './permalink/permalink'; const Viewer = function Viewer(targetOption, options = {}) { let map; @@ -618,7 +619,8 @@ const Viewer = function Viewer(targetOption, options = {}) { setStyle, zoomToExtent, getSelectionManager, - getEmbedded + getEmbedded, + permalink }); };