Releases: maptiler/maptiler-geocoding-control
Releases · maptiler/maptiler-geocoding-control
v2.1.7
v2.1.6
v2.1.4
Fixed ReferenceError in SSR frameworks
Full Changelog: v2.1.3...v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.0
What's Changed
- Add icon titles by @zdila in #68
- Add focus options and
setReverseModeby @zdila in #69 - Added
adjustUrlfunction by @zdila in #71 - dependencies update by @zdila in #74
- Add new and modified icons by @petraduriancikova in #70
- Added
clearListOnPickandkeepListOpenoptions by @zdila in #73 - Update MapTiler SDK to v3 & MapLibre to v5 by @sebstryczek in #75
- implemented separate options for reverse geocoding by @zdila in #79
Full Changelog: v2.0.1...v2.1.0
v2.0.1
What's Changed
- fixed proximity javadoc by @zdila in #51
- fix margin in quirks mode by @zdila in #52
- fixed TypeError by @zdila in #53
- included map to react example by @zdila in #54
- cleaned geocoding control events (fixes #49) by @zdila in #55
- improved markers customization by @zdila in #57
- fixed leaflet control position option (fixes #60) by @zdila in #62
- Workaround to prevent collision with svelte-maplibre (fixes #59) by @zdila in #63
- vendor compatible events by @zdila in #61
- Implement way to display picked feature of polygon without a marker. by @zdila in #64
- API cleanup for v2.0.0 by @zdila in #65
- bumped version by @zdila in #67
Full Changelog: v1.4.1...v2.0.1
Breaking changes
- Events were reworked to be idiomatic per map library
- Universal example for MapLibre GL, MapTiler SDK, Leaflet and Openlayers:
geocodingControl.on("featureslisted", (e) => console.log(e.features)); - For vanilla JS EventTarget API is used. Example:
geocodingControl.addEventListener("response", (e) => console.log(e.detail.url));
- Universal example for MapLibre GL, MapTiler SDK, Leaflet and Openlayers:
zoomparameter must be now onlyRecord<string, number>and notnumberwhich was already deprecated- removed deprecated
maxZoom - For
showPlaceTypeparameter,falsehas been replaced by with"never"and"ifNeeded"by"if-needed" - Replaced parameter
showFullGeometrywithpickedResultStylewhich is now default"full-geometry". To keep old behavior use"full-geometry-including-polygon-center-marker"instead oftrueor"marker-only"instead offalse. - For
enableReverseparameter,falsehas been replaced by"never",trueby"button" - Advanced: Changed
MapControllerinterface