Skip to content

Commit

Permalink
Add permalink methods to viewer (#1544)
Browse files Browse the repository at this point in the history
Adds permalink
  • Loading branch information
jokd authored Jun 1, 2022
1 parent a46dce2 commit 9172b9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -618,7 +619,8 @@ const Viewer = function Viewer(targetOption, options = {}) {
setStyle,
zoomToExtent,
getSelectionManager,
getEmbedded
getEmbedded,
permalink
});
};

Expand Down

0 comments on commit 9172b9c

Please sign in to comment.