All Questions
Tagged with google-maps-android-api-2 supportmapfragment
70
questions
-1
votes
2
answers
3k
views
Google map not displaying object labels (street names and etc)
I am creating an app which is based on google map sdk, some time ago I noticed that my apps map is less detailed than other apps maps.
So I created new project with google map activity generate API ...
1
vote
1
answer
135
views
Interact with Button from another layout in SupportMapFragment
I would like to know how to hide/show the FloatingActionButton when clicking a marker in the map.
Here's the Maps code:
public class MapsActivity extends SupportMapFragment implements
...
1
vote
1
answer
635
views
How to reuse/recycle GoogleMaps in Fragment?
A long time i used this code, to 'reuse' a GoogleMap in Fragment - when switching to another Fragment and opening the MapFragment again, the Map and all its content was as before (no zooming-in again, ...
0
votes
3
answers
835
views
SupportMapFragmentManagers getMapAsync() does not trigger onMapReady(GoogleMap map)
I have a
public abstract class MyMapFragment implements OnMapReadyCallback
{
//
public GoogleMap googleMap;
SupportMapFragment mapFragment;
@IdRes
public abstract int getSupportMapFragId()...
3
votes
2
answers
145
views
MapFragment in ViewPager NullPointer : 'void maps.ad.y.v()' on a null object reference
I want to have a MapView in a Fragment.
It seems simple... still I don't get it !
I get this error when launching the application :
java.lang.NullPointerException: Attempt to invoke interface ...
0
votes
1
answer
282
views
Google Maps two finger pinch/stretch callbacks
In my map, I am trying to capture zoom in/out using ScaleGestureDetector but I am never receiving any callbacks to either of onScale or onScaleBegin or onScaleEnd.
In my Fragment's onCreateView, I ...
6
votes
1
answer
1k
views
Android GoogleMap v2 getting cropped or not fully displayed
I am observing unexpected behavior of Google Map.
Problem is Map getting crop from top and bottom area using Support Map Fragment,
if I am using full screen, map is completely visible as shown in ...
1
vote
1
answer
612
views
SupportFragment Map in Navigation Drawer Activity Very Slow and Unresponsive
I'm trying to use a SupportFragment Google Map with a navigation drawer, initializing the map every two seconds with new overlays pulled from a server. I should also mention that the google maps ...
-1
votes
1
answer
316
views
Android Google Map (SupportMapFragment) Not Displaying Points
Using the SupportMapFragment I'm able to get a map to display and load into the view. However that's all it's doing. I can't get it to load points, zoom, or anything that has any value.
What is wrong ...
5
votes
1
answer
1k
views
Android Maps V2 memory leak LocationClientHelper
We're trying to track down a memory leak happening on the GoogleMap in our Android app, which ends in an OOM after about 40-50 device rotations. The map gets set around 3500 markers.
The App has a ...
0
votes
1
answer
449
views
How to use getchildfragmentmanager without extending fragment class?
I am using
class baseactivity extends Activity
{
//some stuffs is here, so i cannot Extend Fragment
}
class activity extends baseactivity
{
GoogleMap map=((MapFragment) ...
2
votes
1
answer
533
views
SupportMapFragment with navigationDrawer
I have an activity that extends ActionBarActivity and has a navigation drawer. This is the xml layout of the activity:
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas....
0
votes
1
answer
543
views
Why is SupportMapFragment is null (support back to API 9)
I have created a Github project that demonstrates the issue.
git clone https://github.com/anujgoyal/buggymap.git
I realize there are existing questions, but very few of them have distilled the ...
2
votes
3
answers
2k
views
Lollipop throwing Incorrect Signature for SupportMapFragment
I have an android app that shows a map via a SupportMapFragment. The app was running fine for the past several months until just recently I upgraded my phone from 4.4.4 to 5.0 (via the official OTA ...
1
vote
1
answer
210
views
What is wrong with SupportMapFragment?
I have adt x86-64 mac os. I did everything from maps v2 documentation but i still get:
09-28 03:07:11.755: E/AndroidRuntime(549): Caused by: android.app.Fragment$InstantiationException: Unable to ...