I guess my maps lib was outdated. However, I'm still getting a quick screen 
flicker every time I click on the FAB or sub-FAB. I'm assuming I use the 
Google Maps Android API and Google Maps SDK for iOS and set those 
appropriate build hints.

Steve had mentioned in a different thread that I was initializing the 
MapContainer without the static maps api key but trying both ways still 
produces the screen 
flicker: 
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/codenameone-discussions/clQ-3bQAGJk/IZrLU4JfEAAJ

Here is my init code (which now I can at least debug the map in the 
simulator, which is great):
if (Display.getInstance().getPlatformName().equals("and")) {
            cnt = new MapContainer(Constants.ANDROID_GMAPS_API_KEY);
        } 
        else if(Display.getInstance().getPlatformName().equals("os")){
            cnt = new MapContainer(Constants.APPLE_GMAPS_API_KEY);
        }
        //for debugging in simulator
        else{
            cnt = new MapContainer(Constants.JS_GMAPS_API_KEY);
        }

I have also tried initializing with cnt = new MapContainer(new 
GoogleMapsProvider(Constants.STATIC_GMAPS_API_KEY));

>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f28295ec-5171-4aa5-83a8-1e69a1e8f249%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to