@maptiler/geocoding-control 0.0.61 → 0.0.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/{dist/lib/leafletMapController.d.ts → leaflet-controller.d.ts} +0 -0
  2. package/leaflet-controller.js +15021 -0
  3. package/leaflet-controller.umd.js +25 -0
  4. package/{dist/lib/LeafletGeocodingControl.d.ts → leaflet.d.ts} +0 -0
  5. package/{dist/leaflet.js → leaflet.js} +1085 -1083
  6. package/{dist/leaflet.umd.js → leaflet.umd.js} +4 -4
  7. package/{dist/lib/MaplibreglGeocodingControl.d.ts → maplibre.d.ts} +0 -0
  8. package/{dist/lib/maplibreglMapController.d.ts → maplibregl-controller.d.ts} +1 -1
  9. package/maplibregl-controller.js +15041 -0
  10. package/maplibregl-controller.umd.js +25 -0
  11. package/{dist/maplibregl.js → maplibregl.js} +1144 -1142
  12. package/{dist/maplibregl.umd.js → maplibregl.umd.js} +4 -4
  13. package/{dist/lib/mask.d.ts → mask.d.ts} +2 -1
  14. package/package.json +50 -18
  15. package/react.d.ts +26 -0
  16. package/react.js +1327 -0
  17. package/react.umd.js +1 -0
  18. package/src/AppLeaflet.svelte +55 -0
  19. package/src/AppMaplibregl.svelte +45 -0
  20. package/src/lib/GeocodingControl.svelte +32 -28
  21. package/src/lib/ReactGeocodingControl.ts +158 -0
  22. package/src/lib/leafletMapController.ts +5 -6
  23. package/src/lib/maplibreglMapController.ts +4 -3
  24. package/src/lib/mask.ts +2 -1
  25. package/src/lib/types.ts +3 -1
  26. package/src/main-copy.ts +59 -0
  27. package/src/main.ts +65 -0
  28. package/src/vite-env.d.ts +2 -0
  29. package/style.css +1 -0
  30. package/{dist/lib/types.d.ts → types.d.ts} +2 -1
  31. package/LICENSE +0 -29
  32. package/README.md +0 -194
  33. package/dist/index.d.ts +0 -0
  34. package/dist/main.d.ts +0 -3
  35. package/dist/style.css +0 -1
@@ -1,6 +1,6 @@
1
1
  import type MapLibreGL from "maplibre-gl";
2
2
  import type { FitBoundsOptions, Map, FlyToOptions, FillLayerSpecification, LineLayerSpecification } from "maplibre-gl";
3
- import type { MapController } from "./types";
3
+ import type { MapController } from "./types.js";
4
4
  export declare function createMaplibreglMapController(map: Map, maplibregl?: typeof MapLibreGL | undefined, marker?: boolean | maplibregl.MarkerOptions, showResultMarkers?: boolean | maplibregl.MarkerOptions, flyToOptions?: FlyToOptions, fitBoundsOptions?: FitBoundsOptions, fullGeometryStyle?: undefined | {
5
5
  fill?: Pick<FillLayerSpecification, "layout" | "paint" | "filter">;
6
6
  line?: Pick<LineLayerSpecification, "layout" | "paint" | "filter">;