gpt4 book ai didi

android - 使用地理定位调用 map Intent ,是否可以在其上放置图钉?

转载 作者:太空宇宙 更新时间:2023-11-03 12:21:35 24 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
How to show marker in Maps launched by geo uri Intent?

我有一个 Google map 应用程序的 Intent ,该应用程序具有从我的数据库中获得的一个地理位置,GM 是否可以在我通过 URI 发送的位置放置一个图钉?

final String uri = "geo:" + location.Latitude + "," + location.Longitude + "?z=12";
MyActivity.this.startActivity(new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(uri)));

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com