是否可以在g-map中更改街道的颜色? [英] Is it possible to change the color of street in g-map?

查看:64
本文介绍了是否可以在g-map中更改街道的颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个WPF项目,显示城市上的所有公交车路线以及每辆公交车的当前位置。我可以使用标记和所有路线显示所有位置,但路线通过在街道内画一条线来显示。



如果我将更有效率可以改变整条街道宽度的颜色,而不是通常的方式(绘图线)。



有可能吗?如果是的话怎么样?



我尝试了什么:



我无法找不到任何可以尝试的东西。

I have a WPF project that shows all of buses route over the city and the current position of every bus. I can Show all positions using markers and also all of routes but the routes are shown by drawing a line inside the streets.

It is going to be more efficient if I can change the color of whole street's width instead of usual way(drawing line).

Is it possible? If yes How?

What I have tried:

I Couldn't find anything to try.

推荐答案

我不相信可以改变谷歌地图中线条的实际颜色,因为它是托管的缓存地图服务。从理论上讲,你可以复制它并自己托管然后改变它,但这会适得其反。你可以让你的线条与街道的宽度相同,让人觉得整条街道都是不同的颜色。
I don't believe it's possible to change the actual color of the lines in the Google map since it's a hosted, cached map service. In theory you could make a copy of it and host it yourself and then change it, but that would be counterproductive. You could make your line the same width as the street to give the feeling that the whole street is a different color.


这篇关于是否可以在g-map中更改街道的颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆