codenameone / codenameone-google-maps

Allows native google maps to run within Codename One applications
https://www.codenameone.com/
13 stars 24 forks source link

The Google Maps JavaScript API does not support this browser #30

Closed kutoman closed 5 years ago

kutoman commented 5 years ago

My MapContainer gets not displayed in the simulator and I'm getting the mentioned error ("[JS Console] Found exception Error:..".). I've checked the native browser (it is Safari) and the API Key I'm passing to the MapContainer instance, which are actually correct / compatible.

shannah commented 5 years ago

Note: Works in jdk 1.8u162, but not in 1.8u144.

Problem is that Google maps now requires requestAnimationFrame, which apparently is available sometime after u144.

Will add this as a polyfill.