Skip to content

Using google maps but tiles are bad refresh on Smartphone #1190

@Brice75

Description

@Brice75

Hello and thx for this great plugin unity-webview.

I'm using the API https://maps.googleapis.com/maps/api/js?key=MYKEY to display a google map and communicate through JS. Everything works perfectly when using BlueStack5, the move, the JS, the communication with Unity, all are well.
But when I install the APK on my smartphone (Galaxy S20), I have a lot of "center_changed" event (contrary to BlueStack5) but I fixed this flood using dragstart/dragend but the main trouble is during the displaying of tiles on smartphone.
I have grey tiles at the first loaded, and more grey tiles when I move/zoom the map.
One strange thing is, during the movement (during dragstart event before dragend event to be precised) all the tiles are perfectly displayed without bug or grey tiles.
But when I finish the gesture (after removing my finger of the screen, so dragend event raised I supposed), there is a refresh of the display and there, grey tiles appear and the map has a random display.

I attached a result after the final load of the map.

Hope I was clear in my description of the trouble,
CoolpiX

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions