I want to add popover / overlay / hotspot to google map street view in android

What I want is to mark some objects in streetview with an icon. And as the street view rotates, the access point icon should also move with it. As I showed below, the tag should move along with the map. Images are simply editable. but I want this in a street overview, indicating the values โ€‹โ€‹of angle, pinch and latLong.

enter image description here

So is there some way to do this ....?.

Below is a simple code that I wrote to call the phone extension application through intent.

Intent streetView = new Intent(android.content.Intent.ACTION_VIEW,Uri.parse("google.streetview:cbll=33.748832,-84.38751300000001"+"&cbp=1,90,,0,1.0&mz=8")); startActivity(streetView); 

Other ways to accomplish this are also good results ...

Thank you in advance

+6
source share
2 answers

Although my question was criticized, I found an alternative way to do this.

What I did was create a street map view of Google using the Google map JavaScript api v3, which is compatible with both the browser browser and mobile browsers. And then he added that in the assest folder of the Android application package and displayed it on the Android website. Then, taking the x coordinate value from the accelerometer and passing it to webview via webviewInterface for each update and setting the map header with it.

+3
source

So, is there a way to do this ....?.

No, since you did not write the Google StreetView app.

-1
source

Source: https://habr.com/ru/post/944439/


All Articles