Fix report ID, get to where organization ID is passed through correctly
This commit is contained in:
parent
f33020e2b8
commit
a64df8a687
5 changed files with 18 additions and 11 deletions
|
|
@ -22,14 +22,14 @@
|
|||
<script setup lang="ts">
|
||||
import "maplibre-gl/dist/maplibre-gl.css";
|
||||
import { ref, watch, onMounted, onBeforeUnmount } from "vue";
|
||||
import { Point } from "@/types";
|
||||
import maplibregl from "maplibre-gl";
|
||||
|
||||
interface Emits {
|
||||
(e: "map-click", latitude: Number, longitude: Number): void
|
||||
}
|
||||
interface Props {
|
||||
latitude: Number;
|
||||
longitude: Number;
|
||||
location: Point;
|
||||
organizationId: Number;
|
||||
tegola: string;
|
||||
urlTiles: string;
|
||||
|
|
@ -63,7 +63,7 @@ const initializeMap = () => {
|
|||
map.value = new maplibregl.Map({
|
||||
center: [props.longitude, props.latitude],
|
||||
container: mapContainer.value,
|
||||
//style: "https://tiles.stadiamaps.com/styles/osm_bright.json",
|
||||
style: "https://tiles.stadiamaps.com/styles/osm_bright.json",
|
||||
zoom: 19,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue