Skip to content

Commit

Permalink
fix: use MapKey from utils instead of types
Browse files Browse the repository at this point in the history
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
  • Loading branch information
vinayakkulkarni committed Mar 20, 2023
1 parent 136a5ee commit e563c1d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 17 deletions.
3 changes: 1 addition & 2 deletions lib/v-mapbox/controls/VControlAttribution.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
import type { PropType } from 'vue';
import { AttributionControl } from 'maplibre-gl';
import { defineComponent, onMounted, h } from 'vue';
import { MapKey } from '../types/symbols';
import { injectStrict } from '../utils';
import { MapKey, injectStrict } from '../utils';
export default defineComponent({
name: 'VControlAttribution',
Expand Down
3 changes: 1 addition & 2 deletions lib/v-mapbox/controls/VControlFullscreen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
import type { PropType } from 'vue';
import { FullscreenControl } from 'maplibre-gl';
import { defineComponent, onMounted } from 'vue';
import { MapKey } from '../types/symbols';
import { injectStrict } from '../utils';
import { MapKey, injectStrict } from '../utils';
export default defineComponent({
name: 'VControlFullscreen',
Expand Down
3 changes: 1 addition & 2 deletions lib/v-mapbox/controls/VControlGeolocate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
import { GeolocateControl } from 'maplibre-gl';
import { defineComponent, onMounted } from 'vue';
import { geolocateControlEvents as events } from '../constants/events/geolocate';
import { MapKey } from '../types/symbols';
import { injectStrict } from '../utils';
import { MapKey, injectStrict } from '../utils';
export default defineComponent({
name: 'VControlGeolocate',
Expand Down
3 changes: 1 addition & 2 deletions lib/v-mapbox/controls/VControlNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
import type { PropType } from 'vue';
import { NavigationControl } from 'maplibre-gl';
import { defineComponent, onMounted } from 'vue';
import { MapKey } from '../types/symbols';
import { injectStrict } from '../utils';
import { MapKey, injectStrict } from '../utils';
export default defineComponent({
name: 'VControlNavigation',
Expand Down
5 changes: 2 additions & 3 deletions lib/v-mapbox/controls/VControlScale.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
import type { PropType } from 'vue';
import { ScaleControl } from 'maplibre-gl';
import { defineComponent, onMounted } from 'vue';
import { MapKey } from '../types/symbols';
import { injectStrict } from '../utils';
import { MapKey, injectStrict } from '../utils';
export default defineComponent({
name: 'VControlScale',
props: {
options: {
type: Object as PropType<ScaleOptions>,
default: () => ({}),
required: true,
required: false,
},
position: {
type: String as PropType<
Expand Down
6 changes: 0 additions & 6 deletions lib/v-mapbox/types/symbols.ts

This file was deleted.

0 comments on commit e563c1d

Please sign in to comment.