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