@theHamster wrote:
Hi,
I’m using the Google Maps Javascript SDK in an Ionic 3 + Capacitor application. It’s a totally blank application with a very ‘standard’ maps implementation.
The map is working perfectly when running in the browser via $ionic serve. No errors.
However, when built for iOS and running on an iOS device, there’s a problem. The map loads /displays perfectly fine. I can drag it anywhere once. No error. I can drag it again, no error. But every time I test this, on the 3rd drag, the map goes grey/blank and an error appears in the Xcode console:
[error] - InvalidValueError: setCenter: not a LatLng or LatLngLiteral with finite coordinates: in property lat: NaN is not an accepted value
This appears about 30 times in the console as soon as I start the 3rd drag on the map.
There’s also a memory warning:
Received memory pressure event 2 vm pressure 0
I’m not sure if these are linked.
I have no idea where to go next regarding troubleshooting this. Does anyone now how to debug this kind of issue?
Thanks!
Posts: 1
Participants: 1