Skip to content Skip to sidebar Skip to footer

Google Map Android API V2 GetMap() Error

Hi I'm trying to implement Google Maps display in my app using Google Map Android API v2, and I am trying to follow the solution in here. Codes seem to be okay except when I tried

Solution 1:

The getMap() method is part of the com.google.android.gms.maps.SupportMapFragment class. Your SherlockMapFragment should be extending this in the first place so just using getMap() shoudl work properly but unless you're doing some actual extra customizations with the ActionBar in the MapFragment and not your FragmentActivity, you can just extend SupportMapFragment in the first place.


Post a Comment for "Google Map Android API V2 GetMap() Error"