简体   繁体   中英

Show multiple location on Google Maps on Android Wear

I have searched a lot to find the way of showing multiple locations on google map in android wear .

But didn't find any appropriate link regarding that.

I know I can show map on android wear but i display only current location of user.

I have gone through the below links.

1) https://developers.google.com/maps/documentation/android-api/wear?hl=en

2) http://liliputing.com/2015/05/google-maps-now-runs-on-android-wear-smartwatches.html

But what I want is mark multiple locations on map. Please guide me regarding this and suggest some way to make it possible.

Thanks in advance.

i did not work yet with the Google Maps API but i used it in some examples to test it on wear, i think you can use the addMarker method of GoogleMap class,

it is the same approach as on handheld devices.

if the map is showing on the wear you can test the method by adding multiples markers.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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