bing 地图中的自定义颜色?
我正在查看 http://www.msnbc.msn.com/id /26295161/ns/weather/ 并注意到 Flash 地图是由 bing 提供的,并且具有自定义配色方案。我也有类似的需求,需要用黑色和白色显示地图。白色主题,是否可以使用他们的 api 或者他们制作了自定义瓷砖? (为所有级别的所有地图提供图块似乎不可行:)
I was looking at http://www.msnbc.msn.com/id/26295161/ns/weather/ and noticed that the flash map is provided by bing and have a custom color scheme. I have a similar need to show maps with a black & white colortheme, is it possible using their api or have they made custom tiles ? (doesnt seem feasible to provide tiles for alls maps on all levels :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
如果您不习惯 Bing 地图,您可以查看 Mapbox,它提供基于 OpenStreetMap 以您想要的任何样式。
If you are not wedded to Bing maps, you could look into Mapbox, which provide maps based on OpenStreetMap in any style that you desire.
这个问题仍然没有答案,即使它有点老,我认为它很重要。
事实上,他们没有使用不同的图块或自定义图块方案。您可以在网络检查工具中看到这些。
由于它们位于 Flash 应用程序内,因此可以使用图像上的滤镜 (ColorMatrixFilter) 轻松更改图像的颜色,并在客户端动态更改渲染的颜色。
This question is still not answered and even if it's kind of old, I think it matters.
In fact, they're not using different tiles or a custom tile scheme. You can see those in the network inspection tool.
Since they're inside a Flash application, they can easily change the color of the image using filter on image (ColorMatrixFilter) and changing dynamically on the client side the rendered colors.
现在几年后您可以: https://msdn.microsoft.com/ en-us/library/mt823636.aspx :-)
(我通过寻找一些示例样式来到这里,并认为我为其他发现此问题的人添加了链接)
Well now some years later you can: https://msdn.microsoft.com/en-us/library/mt823636.aspx :-)
(I got here by looking for some sample styles and thought I add the link for anybody else finding this question)
也许您需要一个自定义图块皮肤器: http: //rbruundritt.wordpress.com/2009/11/27/bing-maps-custom-tile-skinner/
在本例中,作者使用 ColorMatrix 和 ColorMap 更改道路的颜色:
Perhaps a custom tile skinner is that you need: http://rbrundritt.wordpress.com/2009/11/27/bing-maps-custom-tile-skinner/
In this example, the author changes the color of roads using ColorMatrix and ColorMap: