适用于Android的Google Map梯度折线吗? [英] Google Map Gradient Polylines for Android?

查看:109
本文介绍了适用于Android的Google Map梯度折线吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

已经多次询问了如何进行渐变折线的问题,但是,我想知道它是否内置于Android中.在以下帖子中,这个问题很明显,有人回答说,截至2015年5月,Android仍然没有渐变折线:

The question of how to do gradient polylines has been asked a number of times, however, I want to know if this comes built in for Android. In the following post, this question is poised and someone answered that as of May 2015, there was still no gradient polylines for Android:

android maps api v2中的彩色折线

我仔细阅读了所有可以找到的文档,没有看到关于梯度折线函数的任何内容.我想念它吗?因为iOS已经拥有此功能三年了.

I have combed through all the documentation I can find and do not see anything about a gradient polyline function. Am I missing it? Because iOS has had this capability for three years now.

https://maps-apis.googleblog. com/2014/02/gradient-polylines-and-structured.html

我无法想象Google会优先考虑iOS而不是Android.还是他们?这是我检查过的文档:

I can't imagine that Google is prioritizing iOS over Android. Or are they? Here is the documentation I have checked:

https://developers.google.com/maps/documentation/android-api/polygon-tutorial

https://developers.google. com/android/reference/com/google/android/gms/maps/model/PolylineOptions

https://developers.google.com/maps/documentation/android- api/groundoverlay

如果有人可以指出正确的方向,那将会有所帮助.或至少确认在渐变折线方面Android已被忽略.

If someone can point me in the right direction that would be helpful. Or at least confirm that Android has been ignored in respect to gradient polylines.

推荐答案

在Google Maps Android API中似乎尚未实现.

It looks like this is not implemented yet in Google Maps Android API.

您可以看到以下功能请求:

You can see the following feature requests:

https://issuetracker.google.com/issues/35828754

https://issuetracker.google.com/issues/35821835

在这一点上,我认为Google在这些任务上并未设置高优先级.您可以为这些功能请求加注星标,以添加投票并订阅其他通知.

At this point I think Google didn't set a high priority on these tasks. You can star these feature requests to add your vote and subscribe to further notifications.

这篇关于适用于Android的Google Map梯度折线吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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