I want to add popover/overlay/hotspot on the streetview of google map in android

后端 未结 1 1552
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-02 22:41

What I want is to tag some objects in streetview by an icon. And as the streetview rotates the hotspot icon should also move with it, As i have shown in bellow images that

相关标签:
1条回答
  • 2021-01-02 23:26

    Even though my question was criticized I found an alternate way to do this.

    What i have done is, created Google map street-view using Google map JavaScript api v3 which is compatible with both desktop browser and mobile browsers. And then added that in assest folder of android application package and displayed it on android webview. Then accepting the value of x coordinate from accelerometer and passing it to the webview by webviewInterface on each update and setting the heading of map with it.

    0 讨论(0)
提交回复
热议问题