Using google maps but tiles are bad refresh on Smartphone
Nobody has claimed this yet.
- Dominant language
- Objective-C++
- Stars
- 2.7k
- Forks
- 734
- Avg merge
- 11h 39m
- Merged PRs (30d)
- 1
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the Google Maps JavaScript API display through unity-webview on a Galaxy S20 and compare it with BlueStacks5, focusing on the initial load and the redraw after drag or zoom gestures. Done means map tiles render correctly without grey or randomly displayed areas after the gesture ends.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, unity
- Domain
- mobile-dev, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100