Skip to content

Commit

Permalink
added the hash parameter to the map for simpler link sharing
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Aug 2, 2024
1 parent dc92918 commit 9122893
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webclient/app/components/DetailsInteractiveMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ function createMarker(hueRotation = 0) {
function initMap(containerId: string) {
const map = new Map({
container: containerId,
// to make sure that users can share urls
hash: true,
// create the gl context with MSAA antialiasing, so custom layers are antialiasing.
// slower, but prettier and therefore worth it for our use case
Expand Down
2 changes: 2 additions & 0 deletions webclient/app/components/IndoorMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ function createMarker(hueRotation = 0): HTMLDivElement {
async function initMap(containerId: string) {
const map = new Map({
container: containerId,
// to make sure that users can share urls
hash: true,
// create the gl context with MSAA antialiasing, so custom layers are antialiasing.
// slower, but prettier and therefore worth it for our use case
Expand Down

0 comments on commit 9122893

Please sign in to comment.