简体   繁体   English

Mapzen自定义标记或地图上的叠加层

[英]Mapzen custom markers or overlays on map

Is there any possible method to draw custom overlays or switch up the default markers on the Android Mapzen SDK? 是否有任何方法可以绘制自定义叠加层或切换Android Mapzen SDK上的默认标记? I just need to be able to differentiate two different locations on a map using different-looking markers. 我只需要能够使用外观不同的标记来区分地图上的两个不同位置。

Thanks so much! 非常感谢!

Partial solution: 部分解决方案:

To use two different markers (an active and inactive default marker), use mapzenMap.drawRoutePins(LngLat start, LngLat end). 要使用两个不同的标记(活动和非活动默认标记),请使用mapzenMap.drawRoutePins(LngLat开始,LngLat结束)。 One marker will be grey, the other will be black. 一个标记为灰色,另一个标记为黑色。

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

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