Skip to content

Commit 22fb62f

Browse files
authored
Improved reverse geocoding coordinates parser (#17)
* implemented parsing various coordinate formats * fixed ts compilation problem * fixed detecting reverse geocoding * minimized icons * improved reverse geocoding UX * updated dependencies
1 parent a155080 commit 22fb62f

29 files changed

+302
-313
lines changed

examples/maplibregl/AppMapLibreGl.svelte

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
// limit: 20,
3131
// types: ["poi"],
3232
// fetchParameters: { credentials: "include" },
33+
// selectFirst: false,
3334
iconsBaseUrl: "/icons/",
3435
proximity: [
3536
{ type: "map-center", minZoom: 12 },

package-lock.json

+25-28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@maptiler/geocoding-control",
3-
"version": "1.2.0-rc3",
3+
"version": "1.2.0",
44
"description": "The Javascript & TypeScript Map Control component for MapTiler Geocoding service. Easy to be integrated into any JavaScript mapping application.",
55
"type": "module",
66
"author": {
@@ -111,7 +111,7 @@
111111
"@types/geojson": "^7946.0.13",
112112
"@types/leaflet": "^1.9.8",
113113
"@types/react": "^18.2.45",
114-
"@types/react-dom": "^18.2.17",
114+
"@types/react-dom": "^18.2.18",
115115
"concurrently": "^8.2.2",
116116
"dotenv": "^16.3.1",
117117
"esm-env": "^1.0.0",
@@ -127,10 +127,10 @@
127127
"sass": "^1.69.5",
128128
"svelte": "^4.2.8",
129129
"svelte-check": "^3.6.2",
130-
"svelte-preprocess": "^5.1.2",
130+
"svelte-preprocess": "^5.1.3",
131131
"tslib": "^2.6.2",
132132
"typescript": "^5.3.3",
133-
"vite": "^5.0.8"
133+
"vite": "^5.0.10"
134134
},
135135
"peerDependencies": {
136136
"@maptiler/sdk": "^1",
@@ -156,5 +156,8 @@
156156
"ol": {
157157
"optional": true
158158
}
159+
},
160+
"dependencies": {
161+
"geo-coordinates-parser": "^1.6.3"
159162
}
160163
}

public/icons/area.svg

+4-26
Loading

public/icons/farm.svg

+7-15
Loading

0 commit comments

Comments
 (0)