有没有比手动绘制自定义多边形更简单的方法来在 Bing 地图中勾勒出各个状态的轮廓?
我正在创建一个数据可视化,其中美国各州根据数据用不同的颜色着色。因此,使用 Bing 地图等工具的理想做法是让每个州都由自定义多边形表示,然后我可以将其着色为适当的颜色。 所以,我的问题是,除了尝试创建自定义多边形之外,是否有一种简单的方法可以选择一个状态并在该状态上创建自定义图层?
我觉得必须有一种更简单的方法来做到这一点。 谢谢!
I'm looking to create a data visualization where the states of the US are shaded different colors based on data. So, what would be ideal in using a tool like Bing Maps would be to have each state be represented by a custom polygon that I can then shade to the appropriate color.
So, my question is, is there an easy way to select a state and create a custom layer on that state besides trying to create a custom polygon?
I feel like there must be an easier way to do it.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
遗憾的是,您无法在 Bing 地图 SDK 中找到此功能。因此,执行此操作的唯一方法有两种:
希望有帮助!
Unfortunately you won't find this natively in the Bing map SDK. So the only 2 ways to do this are:
Hope that helps!
现在有一种更简单的方法,即 Bing 地图 SDS(空间数据服务)。
https://learn.microsoft.com/en-us/bingmaps/v8-web-control/map-control-concepts/spatial-data-services-module-examples/geodata-api/load-single-boundary -地理数据示例
There is an easier way now, with Bing Maps SDS (Spatial Data Services).
https://learn.microsoft.com/en-us/bingmaps/v8-web-control/map-control-concepts/spatial-data-services-module-examples/geodata-api/load-single-boundary-geodata-example