-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d2ea5a
commit 745afee
Showing
22 changed files
with
1,016 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
import type { PropType } from 'vue'; | ||
declare const _default: import('vue').DefineComponent< | ||
{ | ||
options: { | ||
type: PropType<{ | ||
compact?: boolean | undefined; | ||
customAttribution?: string | string[] | undefined; | ||
}>; | ||
default: () => { | ||
compact: boolean; | ||
customAttribution: string; | ||
}; | ||
required: true; | ||
}; | ||
position: { | ||
type: PropType<'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'>; | ||
default: () => string; | ||
required: false; | ||
}; | ||
}, | ||
void, | ||
unknown, | ||
{}, | ||
{}, | ||
import('vue').ComponentOptionsMixin, | ||
import('vue').ComponentOptionsMixin, | ||
Record<string, any>, | ||
string, | ||
import('vue').VNodeProps & | ||
import('vue').AllowedComponentProps & | ||
import('vue').ComponentCustomProps, | ||
Readonly< | ||
import('vue').ExtractPropTypes<{ | ||
options: { | ||
type: PropType<{ | ||
compact?: boolean | undefined; | ||
customAttribution?: string | string[] | undefined; | ||
}>; | ||
default: () => { | ||
compact: boolean; | ||
customAttribution: string; | ||
}; | ||
required: true; | ||
}; | ||
position: { | ||
type: PropType< | ||
'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | ||
>; | ||
default: () => string; | ||
required: false; | ||
}; | ||
}> | ||
>, | ||
{ | ||
options: { | ||
compact?: boolean | undefined; | ||
customAttribution?: string | string[] | undefined; | ||
}; | ||
position: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'; | ||
} | ||
>; | ||
export default _default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/// <reference types="@types/mapbox-gl" /> | ||
import type { FullscreenControlOptions } from 'mapbox-gl'; | ||
import type { PropType } from 'vue'; | ||
declare const _default: import('vue').DefineComponent< | ||
{ | ||
options: { | ||
type: PropType<FullscreenControlOptions>; | ||
default: () => {}; | ||
required: true; | ||
}; | ||
position: { | ||
type: PropType<'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'>; | ||
default: () => string; | ||
required: false; | ||
}; | ||
}, | ||
void, | ||
unknown, | ||
{}, | ||
{}, | ||
import('vue').ComponentOptionsMixin, | ||
import('vue').ComponentOptionsMixin, | ||
Record<string, any>, | ||
string, | ||
import('vue').VNodeProps & | ||
import('vue').AllowedComponentProps & | ||
import('vue').ComponentCustomProps, | ||
Readonly< | ||
import('vue').ExtractPropTypes<{ | ||
options: { | ||
type: PropType<FullscreenControlOptions>; | ||
default: () => {}; | ||
required: true; | ||
}; | ||
position: { | ||
type: PropType< | ||
'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | ||
>; | ||
default: () => string; | ||
required: false; | ||
}; | ||
}> | ||
>, | ||
{ | ||
options: FullscreenControlOptions; | ||
position: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'; | ||
} | ||
>; | ||
export default _default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/// <reference types="@types/mapbox-gl" /> | ||
import type { FitBoundsOptions, PositionOptions } from 'mapbox-gl'; | ||
import type { PropType } from 'vue'; | ||
declare const _default: import('vue').DefineComponent< | ||
{ | ||
options: { | ||
type: PropType<{ | ||
positionOptions?: PositionOptions | undefined; | ||
fitBoundsOptions?: FitBoundsOptions | undefined; | ||
trackUserLocation?: boolean | undefined; | ||
showAccuracyCircle?: boolean | undefined; | ||
showUserLocation?: boolean | undefined; | ||
}>; | ||
default: () => {}; | ||
required: true; | ||
}; | ||
position: { | ||
type: PropType<'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'>; | ||
default: () => string; | ||
required: false; | ||
}; | ||
}, | ||
void, | ||
unknown, | ||
{}, | ||
{}, | ||
import('vue').ComponentOptionsMixin, | ||
import('vue').ComponentOptionsMixin, | ||
Record<string, any>, | ||
string, | ||
import('vue').VNodeProps & | ||
import('vue').AllowedComponentProps & | ||
import('vue').ComponentCustomProps, | ||
Readonly< | ||
import('vue').ExtractPropTypes<{ | ||
options: { | ||
type: PropType<{ | ||
positionOptions?: PositionOptions | undefined; | ||
fitBoundsOptions?: FitBoundsOptions | undefined; | ||
trackUserLocation?: boolean | undefined; | ||
showAccuracyCircle?: boolean | undefined; | ||
showUserLocation?: boolean | undefined; | ||
}>; | ||
default: () => {}; | ||
required: true; | ||
}; | ||
position: { | ||
type: PropType< | ||
'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | ||
>; | ||
default: () => string; | ||
required: false; | ||
}; | ||
}> | ||
>, | ||
{ | ||
options: { | ||
positionOptions?: PositionOptions | undefined; | ||
fitBoundsOptions?: FitBoundsOptions | undefined; | ||
trackUserLocation?: boolean | undefined; | ||
showAccuracyCircle?: boolean | undefined; | ||
showUserLocation?: boolean | undefined; | ||
}; | ||
position: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'; | ||
} | ||
>; | ||
export default _default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import type { PropType } from 'vue'; | ||
declare const _default: import('vue').DefineComponent< | ||
{ | ||
options: { | ||
type: PropType<{ | ||
showCompass?: boolean | undefined; | ||
showZoom?: boolean | undefined; | ||
visualizePitch?: boolean | undefined; | ||
}>; | ||
default: () => {}; | ||
required: true; | ||
}; | ||
position: { | ||
type: PropType<'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'>; | ||
default: () => string; | ||
required: false; | ||
}; | ||
}, | ||
void, | ||
unknown, | ||
{}, | ||
{}, | ||
import('vue').ComponentOptionsMixin, | ||
import('vue').ComponentOptionsMixin, | ||
Record<string, any>, | ||
string, | ||
import('vue').VNodeProps & | ||
import('vue').AllowedComponentProps & | ||
import('vue').ComponentCustomProps, | ||
Readonly< | ||
import('vue').ExtractPropTypes<{ | ||
options: { | ||
type: PropType<{ | ||
showCompass?: boolean | undefined; | ||
showZoom?: boolean | undefined; | ||
visualizePitch?: boolean | undefined; | ||
}>; | ||
default: () => {}; | ||
required: true; | ||
}; | ||
position: { | ||
type: PropType< | ||
'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | ||
>; | ||
default: () => string; | ||
required: false; | ||
}; | ||
}> | ||
>, | ||
{ | ||
options: { | ||
showCompass?: boolean | undefined; | ||
showZoom?: boolean | undefined; | ||
visualizePitch?: boolean | undefined; | ||
}; | ||
position: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'; | ||
} | ||
>; | ||
export default _default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import type { PropType } from 'vue'; | ||
declare const _default: import('vue').DefineComponent< | ||
{ | ||
options: { | ||
type: PropType<{ | ||
maxWidth?: number | undefined; | ||
unit?: string | undefined; | ||
}>; | ||
default: () => {}; | ||
required: true; | ||
}; | ||
position: { | ||
type: PropType<'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'>; | ||
default: () => string; | ||
required: false; | ||
}; | ||
}, | ||
void, | ||
unknown, | ||
{}, | ||
{}, | ||
import('vue').ComponentOptionsMixin, | ||
import('vue').ComponentOptionsMixin, | ||
Record<string, any>, | ||
string, | ||
import('vue').VNodeProps & | ||
import('vue').AllowedComponentProps & | ||
import('vue').ComponentCustomProps, | ||
Readonly< | ||
import('vue').ExtractPropTypes<{ | ||
options: { | ||
type: PropType<{ | ||
maxWidth?: number | undefined; | ||
unit?: string | undefined; | ||
}>; | ||
default: () => {}; | ||
required: true; | ||
}; | ||
position: { | ||
type: PropType< | ||
'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | ||
>; | ||
default: () => string; | ||
required: false; | ||
}; | ||
}> | ||
>, | ||
{ | ||
options: { | ||
maxWidth?: number | undefined; | ||
unit?: string | undefined; | ||
}; | ||
position: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'; | ||
} | ||
>; | ||
export default _default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export declare const geolocateControlEvents: string[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export { mapLayerEvents } from './layer'; | ||
export { mapEvents } from './map'; | ||
export { markerDOMEvents, markerMapEvents } from './marker'; | ||
export { popupEvents } from './popup'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/// <reference types="@types/mapbox-gl" /> | ||
import { MapLayerEventType } from 'mapbox-gl'; | ||
export declare const mapLayerEvents: Array<keyof MapLayerEventType>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/// <reference types="@types/mapbox-gl" /> | ||
import { MapEventType } from 'mapbox-gl'; | ||
export declare const mapEvents: Array<keyof MapEventType>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export declare const markerMapEvents: string[]; | ||
export declare const markerDOMEvents: string[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export declare const popupEvents: string[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,32 @@ | ||
import Vue, { VueConstructor } from 'vue'; | ||
import VControlAttribution from './controls/VControlAttribution.vue'; | ||
import VControlFullscreen from './controls/VControlFullscreen.vue'; | ||
import VControlGeolocate from './controls/VControlGeolocate.vue'; | ||
import VControlNavigation from './controls/VControlNavigation.vue'; | ||
import VControlScale from './controls/VControlScale.vue'; | ||
import VLayerMapboxCanvas from './layers/mapbox/VLayerMapboxCanvas.vue'; | ||
import VLayerMapboxGeojson from './layers/mapbox/VLayerMapboxGeojson.vue'; | ||
import VLayerMapboxImage from './layers/mapbox/VLayerMapboxImage.vue'; | ||
import VLayerMapboxRaster from './layers/mapbox/VLayerMapboxRaster.vue'; | ||
import VLayerMapboxVector from './layers/mapbox/VLayerMapboxVector.vue'; | ||
import VLayerMapboxVideo from './layers/mapbox/VLayerMapboxVideo.vue'; | ||
import VMap from './map/VMap.vue'; | ||
import VMarker from './markers/VMarker.vue'; | ||
import VPopup from './popups/VPopup.vue'; | ||
|
||
export const MglMap: VueConstructor<Vue>; | ||
export const MglNavigationControl: VueConstructor<Vue>; | ||
export const MglGeolocateControl: VueConstructor<Vue>; | ||
export const MglFullscreenControl: VueConstructor<Vue>; | ||
export const MglAttributionControl: VueConstructor<Vue>; | ||
export const MglScaleControl: VueConstructor<Vue>; | ||
export const MglGeojsonLayer: VueConstructor<Vue>; | ||
export const MglImageLayer: VueConstructor<Vue>; | ||
export const MglVideoLayer: VueConstructor<Vue>; | ||
export const MglVectorLayer: VueConstructor<Vue>; | ||
export const MglRasterLayer: VueConstructor<Vue>; | ||
export const MglMarker: VueConstructor<Vue>; | ||
export const MglPopup: VueConstructor<Vue>; | ||
export { | ||
VMap, | ||
VMarker, | ||
VPopup, | ||
VLayerMapboxCanvas, | ||
VLayerMapboxGeojson, | ||
VLayerMapboxImage, | ||
VLayerMapboxRaster, | ||
VLayerMapboxVector, | ||
VLayerMapboxVideo, | ||
VControlAttribution, | ||
VControlFullscreen, | ||
VControlGeolocate, | ||
VControlNavigation, | ||
VControlScale, | ||
}; | ||
export default VMap; |
Oops, something went wrong.