Skip to content

Commit

Permalink
fix: unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayakkulkarni committed Feb 15, 2022
1 parent d81a70c commit 1a967e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions src/map/VMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
let loaded: Ref<boolean> = ref(false);
let events: Ref<Array<keyof MapEventType>> = ref(mapEvents);
let styleChanged: Ref<boolean> = ref(false);
let tilesLoaded: Ref<boolean> = ref(false);
onMounted(() => {
map.value = new Map(props.options);
loaded.value = true;
Expand Down
5 changes: 1 addition & 4 deletions types/symbols.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@ import type { Map } from 'mapbox-gl';
import type { InjectionKey, Ref } from 'vue';

const MapKey: InjectionKey<Ref<Map>> = Symbol('Map');
const MapLoadedKey: InjectionKey<Ref<boolean>> = Symbol('MapLoaded');
const MapStylesLoadedKey: InjectionKey<Ref<boolean>> = Symbol('MapStyleLoaded');
const MapTilesLoadedKey: InjectionKey<Ref<boolean>> = Symbol('MapTilesLoaded');

export { MapKey, MapLoadedKey, MapStylesLoadedKey, MapTilesLoadedKey };
export { MapKey };

0 comments on commit 1a967e3

Please sign in to comment.