Angular 2x 地理位置自动完成的开源替代方案
Open Source alternative for Angular 2x Geolocation autocomplete
我正在寻找一种服务,它可以让我使用像 ng4-geoautocomplete 这样的地理定位自动完成功能,它看起来很棒并且工作完美,但适用于 google 地图 API.
是否有类似的东西,您无需注册 Google API 密钥,例如基于 Open Street Maps 的图书馆?
在 Nominatim OSM 抢劫
"Nominatim is a search engine for OpenStreetMap data...",有关更多详细信息,请查看此 link https://nominatim.openstreetmap.org/
另请查看这篇文章 leaflet-and-nominatim,在这里您可以找到将 Nominatim 与 Leaflet 一起使用的好示例。此示例基于 jQuery,但 Angular 框架的主要概念相同。
希望这对您有所帮助:)
我正在寻找一种服务,它可以让我使用像 ng4-geoautocomplete 这样的地理定位自动完成功能,它看起来很棒并且工作完美,但适用于 google 地图 API.
是否有类似的东西,您无需注册 Google API 密钥,例如基于 Open Street Maps 的图书馆?
在 Nominatim OSM 抢劫
"Nominatim is a search engine for OpenStreetMap data...",有关更多详细信息,请查看此 link https://nominatim.openstreetmap.org/
另请查看这篇文章 leaflet-and-nominatim,在这里您可以找到将 Nominatim 与 Leaflet 一起使用的好示例。此示例基于 jQuery,但 Angular 框架的主要概念相同。
希望这对您有所帮助:)