Android的折线地图API [英] Android polylines maps api

查看:122
本文介绍了Android的折线地图API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不错,即时通讯在Android的一个初学者,我需要的设备更具体的(多义线),我需要做这样的事情上使用的地图。

well, im a begginer in android and i need to use maps on the device more specifically (polylines) i need to do something like this.

这是一个Web应用程序,我没有追查巴士路线及巴士站我的城市,我已经被要求做同样的事情在Android的!香港专业教育学院被检查Android的地图API,并没有发现类似的JS API,以折线什么,是有办法做到这一点?

this is a web app i did to track down bus routes and bus-stops on my city , and i've been asked to do the same thing in android! ive been checking the maps api for android and did not found anything similar to polyline in JS api , is there a way to achieve this?

我没有问题,添加简单的叠加,我一直在检查中的Andr​​oid开发者网站上的基本教程,但我不知道如何绘制折线。

i have no problem adding simple overlays i've been checking the basic tutorials in android developer site, but i dont know how to draw the polyline.

推荐答案

有在谷歌Android地图API没有这样的API。你只可以先列出你想画再画一个覆盖对象上的点和线的路线的实际GeoPoints。只是有没有简单的方法来做到这一点。

There no such API in Android Google Maps API. You can only first list the actual GeoPoints of the route that you want to draw and then draw the points and lines on a Overlay object. There's just no easy way to do that.

这篇关于Android的折线地图API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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