svelte-maplibre
Advanced tools
Comparing version 0.8.1 to 0.8.2
import { SvelteComponentTyped } from "svelte"; | ||
import { type DeckGlMouseEvent } from './context'; | ||
declare class __sveltets_Render<DATA> { | ||
@@ -16,3 +17,5 @@ props(): { | ||
events(): { | ||
click: CustomEvent<any>; | ||
click: CustomEvent<DeckGlMouseEvent<DATA>>; | ||
mousemove: CustomEvent<DeckGlMouseEvent<DATA>>; | ||
mouseleave: CustomEvent<DeckGlMouseEvent<DATA>>; | ||
} & { | ||
@@ -19,0 +22,0 @@ [evt: string]: CustomEvent<any>; |
import { SvelteComponentTyped } from "svelte"; | ||
import { type LngLatLike, type PointLike } from 'maplibre-gl'; | ||
import type { MarkerClickInfo } from './types'; | ||
import type * as GeoJSON from 'geojson'; | ||
@@ -16,2 +17,6 @@ declare const __propDef: { | ||
events: { | ||
drag: CustomEvent<MarkerClickInfo>; | ||
dragstart: CustomEvent<MarkerClickInfo>; | ||
dragend: CustomEvent<MarkerClickInfo>; | ||
} & { | ||
[evt: string]: CustomEvent<any>; | ||
@@ -18,0 +23,0 @@ }; |
import { SvelteComponentTyped } from "svelte"; | ||
import { type LngLatLike, type PointLike } from 'maplibre-gl'; | ||
import type { MarkerClickInfo } from './types'; | ||
import type * as GeoJSON from 'geojson'; | ||
@@ -19,2 +20,7 @@ declare const __propDef: { | ||
events: { | ||
drag: CustomEvent<MarkerClickInfo>; | ||
dragstart: CustomEvent<MarkerClickInfo>; | ||
dragend: CustomEvent<MarkerClickInfo>; | ||
click: CustomEvent<MarkerClickInfo>; | ||
} & { | ||
[evt: string]: CustomEvent<any>; | ||
@@ -21,0 +27,0 @@ }; |
import { SvelteComponentTyped } from "svelte"; | ||
import type { Feature } from 'geojson'; | ||
import type { MarkerClickInfo } from './types'; | ||
declare const __propDef: { | ||
@@ -20,8 +21,26 @@ props: { | ||
events: { | ||
dragstart: CustomEvent<any>; | ||
drag: CustomEvent<any>; | ||
dragend: CustomEvent<any>; | ||
click: CustomEvent<any>; | ||
dblclick: CustomEvent<any>; | ||
contextmenu: CustomEvent<any>; | ||
click: CustomEvent<MarkerClickInfo & { | ||
source: string | null; | ||
feature: GeoJSON.Feature; | ||
}>; | ||
dblclick: CustomEvent<MarkerClickInfo & { | ||
source: string | null; | ||
feature: GeoJSON.Feature; | ||
}>; | ||
contextmenu: CustomEvent<MarkerClickInfo & { | ||
source: string | null; | ||
feature: GeoJSON.Feature; | ||
}>; | ||
drag: CustomEvent<MarkerClickInfo & { | ||
source: string | null; | ||
feature: GeoJSON.Feature; | ||
}>; | ||
dragstart: CustomEvent<MarkerClickInfo & { | ||
source: string | null; | ||
feature: GeoJSON.Feature; | ||
}>; | ||
dragend: CustomEvent<MarkerClickInfo & { | ||
source: string | null; | ||
feature: GeoJSON.Feature; | ||
}>; | ||
} & { | ||
@@ -28,0 +47,0 @@ [evt: string]: CustomEvent<any>; |
@@ -23,2 +23,6 @@ import { SvelteComponentTyped } from "svelte"; | ||
events: { | ||
open: CustomEvent<maplibregl.Popup>; | ||
close: CustomEvent<maplibregl.Popup>; | ||
hover: CustomEvent<maplibregl.Popup>; | ||
} & { | ||
[evt: string]: CustomEvent<any>; | ||
@@ -25,0 +29,0 @@ }; |
{ | ||
"name": "svelte-maplibre", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"description": "Svelte bindings for MapLibre", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
123025
1428