c# - azure maps differentiate address from point of interest
问题描述
I would like to be able to differentiate an address given by a user, by a point of interest. For example, if I make an address reasearch with "Assemblée nationale" (which is a part of the parliament), I get a street called "assemblée nationale" in Versailles, instead of the parliament in Paris. Of course, it works with the Point Of Interest research.
Is it possible with Azure Maps, to 'detect' that what the user inputs is an address or a point of interest ?
解决方案
你可以使用 Azure Maps模糊搜索 API。您可以检查 API 响应中结果的“类型”字段,以查看搜索结果是 POI 还是街道。
以下是支持的结果类型:POI、街道、地理、点地址、地址范围、十字街
推荐阅读
- javascript - 如何捕捉 DOM 的高质量视频?
- reactjs - 如何将网格数据导出到 excel、csv 和 pdf 文件 (React)
- python - Python递归和返回
- reactjs - 如何在不触发的情况下将回调传递给孩子
- react-native - 如何从 firebase 控制台发送带有自定义数据的测试推送通知?
- python - 在 cv2.resize() 之后找到新坐标
- java - 未能执行目标 org.jboss.as.plugins:jboss-as-maven-plugin:7.4
- mongodb - 建议一个好的数据库结构
- keras - 训练用于词嵌入的神经网络
- node.js - 如何在javascript中将pdf文件上传到s3?