I have been using the awesome android map extensions library in my application. I am doing a rewrite of the map / marker section and have attempted to updated the library to the 2.2 release from https://github.com/mg6maciej/android-maps-extensions, however, I am unable to include it as a library successfully (even after making it a library in properties). I am using Eclipse import, not the gradle version btw.
Reason is, I am using the getMap() and onMapReady() features of the updated Android V2 Gmaps.
Errors include (due to library no loading):
MapFragment cannot resolve to a type:
MapFragment mapFragment = (MapFragment) getFragmentManager()
.findFragmentById(R.id.map);
GoogleMap cannot be resloved to a type:
public void onMapReady(GoogleMap map) {
When I use the standard google map imports, everything is just fine. The code is good, just cannot get the AME library to load.
How do you import the 2.2 update into eclipse?
EDIT>>> I am attempting to use Android Studio now... I have an error:
Caused by: java.lang.ClassCastException: com.google.android.gms.maps.SupportMapFragment cannot be cast to com.androidmapsextensions.SupportMapFragment