【发布时间】:2015-09-16 12:24:15
【问题描述】:
在我的应用程序中,我使用 googlemap。其中我通过 Api 获取发件人的经纬度和目的地纬度和经度。我在这些变量中取出了。以及我想用标记或任何别针显示的发件人和目的地位置。
==> sender_lat =value came from API.
==> sender_long =value came from API.
==> destination_lat =value came from API.
==> destination_long =value came from API.
地图上的路线如何。
这是我在布局中使用的片段的 xml 代码。
<fragment
android:id="@+id/map"
android:name="com.google.android.gms.maps.MapFragment"
android:layout_width="match_parent"
android:layout_height="fill_parent"/>
【问题讨论】:
-
你的其他代码在哪里?
标签: android api google-maps google-api