Skip to content

Commit

Permalink
fixed linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Aug 14, 2024
1 parent 3b63101 commit db3c402
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
5 changes: 1 addition & 4 deletions webclient/app/components/IndoorMap.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<script setup lang="ts">
import { addIndoorTo, IndoorControl, IndoorMap } from "maplibre-gl-indoor";
import { IndoorControl, MapServerHandler } from "maplibre-gl-indoor";
import { AttributionControl, FullscreenControl, GeolocateControl, Map, Marker, NavigationControl } from "maplibre-gl";
import { webglSupport } from "~/composables/webglSupport";
import type { MaplibreMapWithIndoor, IndoorMapOptions } from "maplibre-gl-indoor";
import type { components } from "~/api_types";
import type { FeatureCollection } from "geojson";
const props = defineProps<{ data: DetailsResponse }>();
const map = ref<MaplibreMapWithIndoor | undefined>(undefined);
Expand Down Expand Up @@ -171,8 +170,6 @@ async function initMap(containerId: string): Promise<MaplibreMapWithIndoor> {
attrib._toggleAttribution();
});
addIndoorTo(map);
const indoorOptions = { showFeaturesWithEmptyLevel: false } as IndoorMapOptions;
MapServerHandler.manage(`${runtimeConfig.public.apiURL}/api/maps/indoor`, map, indoorOptions);
Expand Down
1 change: 0 additions & 1 deletion webclient/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"@vueuse/core": "10.11.1",
"@vueuse/nuxt": "10.11.1",
"@vueuse/router": "10.11.1",
"geojson": "0.5.0",
"maplibre-gl": "4.5.2",
"maplibre-gl-indoor": "0.0.9",
"nightwind": "1.1.13",
Expand Down
9 changes: 0 additions & 9 deletions webclient/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit db3c402

Please sign in to comment.