简体   繁体   English

在Android的Google地图上绘制点

[英]draw points on google maps in android

I am working on Google map integration with my android application. 我正在与我的android应用程序集成Google地图。 I am able to display the map perfectly in map View. 我能够在地图视图中完美显示地图。 Now i need to draw points on that map based on get directions. 现在,我需要根据获取路线图在该地图上绘制点。 Any working sample code will be a great help for me. 任何有效的示例代码都会对我有很大的帮助。 I need some help in this issue. 在这个问题上我需要一些帮助。 Kindly guide in. 请引导。

Thanks 谢谢

Use ItemizedOverlay class and override draw method for drawing path. 使用ItemizedOverlay类,并为绘图路径覆盖draw方法。

or try this 尝试这个

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM