Shai: i Found in the web that function is available in com.google.android.gms:play-services-maps:9.4.0 , but searching in the error log, i found you use com.google.android.gms/play-services-maps/8.3.0/
how i can upgrade the version? can you help me? On Wednesday, September 14, 2016 at 2:24:54 AM UTC-3, Rocotoco Rodriguez wrote: > > Shai: i was looking about how to set the maximum zoom in a map and i found > in > https://developers.google.com/android/reference/com/google/android/gms/maps/GoogleMap > > were i found the GoogleMap.setMaxZoomPreference function who looks like > what i need. > > the problem is when i try to compile in androd , so the compiler returns > the following error: > > Compiling with JDK Java compiler API. > /tmp/build8361734456919142315xxx/MyApplication/src/main/java/com/codename1/googlemaps/InternalNativeMapsStub.java:45: > error: incompatible types: void cannot be converted to int > return impl.setMaxZoom(param0); > ^ > /tmp/build8361734456919142315xxx/MyApplication/src/main/java/com/codename1/googlemaps/InternalNativeMapsImpl.java:492: > error: cannot find symbol > GoogleMap.setMaxZoomPreference(parZoom); > ^ > symbol: method setMaxZoomPreference(int) > location: class GoogleMap > > > any idea about what is happend? thanks > > > > If you are experiencing an issue please mention the full platform your > issue applies to: > IDE: NetBeans/Eclipse/IDEA > Desktop OS > Simulator > Device > -- 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 codenameone-discussions+unsubscr...@googlegroups.com. 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/b6fe6d42-f64d-47be-a04a-7b5e6b13947c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.