supportmapfragment Questions
5
Solved
I have an activity in my app with 3 fragments. When a button is pushed on the first one, a method is called in the Activity that does some irrelevant stuff and then calls finish().
This triggers o...
Winifield asked 17/7, 2013 at 13:28
5
I'm trying to code my current app in Kotlin, but I get null cannot be casted to non-null type. I've tried a lot of different stuff, but I keep getting the same problem. Not sure what to do. Any hel...
Putt asked 29/11, 2018 at 22:53
5
Solved
I know that there has been an issue in using a nested fragment. But my application was designed to run on fragments and if i will be using activity for the map, my casting functions will have error...
Piperpiperaceous asked 31/7, 2014 at 5:11
2
Solved
Are there any differences between SupportMapFragment and MapFragment?
In the reference it says that you should only use MapFragment when you target Android API level 12 and higher, but are there an...
Slenderize asked 8/2, 2014 at 14:31
4
Solved
I have a navigation drawer with some fragments. Each Fragment has a MapFragment in the layout. Initially, when the app runs the navigation drawer clicks open up the fragment once, but when I click ...
Swatter asked 22/6, 2016 at 5:32
8
Solved
In my app i showing google map version2 in a fragment. but i get Null pointer exception
at
mMap = ((SupportMapFragment) getFragmentManager().findFragmentById(R.id.map)).getMap();
This is my full...
Crosscheck asked 4/9, 2013 at 10:57
5
Solved
I have implemented an activity which adds MapFragment at run time. The MapFragment xml has static fragment and I'm trying to get add at run time. Also I found there are some issues in Lollipop addi...
Norling asked 3/1, 2016 at 14:56
4
Solved
I having trouble implementing Google Map in Fragment.
This is my the part of my fragment class:
public class FragmentStoreFinderMap extends Fragment implements OnMapReadyCallback {
// Google Map...
Steinman asked 19/2, 2016 at 2:54
6
Solved
I am using Google Map API v2 in my application to show Maps.
I have followed all the steps, that is to be followed to enable Google Map in my application.
public class PinLocationOnMapView extend...
Maimonides asked 13/12, 2012 at 7:30
5
I have a gps app that works fine on my phone. However, I see there were people having a null pointer exception in the production.
SupportMapFragment fm = (SupportMapFragment) getSupportFrag...
Haggar asked 17/7, 2016 at 3:19
2
Solved
I'm trying to use SupportMapFragment inside a fragment.
On the first launch, the map is display without any error.
But when I perform a transaction to another fragment, and after that return to t...
Competition asked 14/4, 2016 at 8:54
5
Solved
I have MapFragment with parallax effect inside AppBarLayout:
I want to disable scrolling on AppBarLayout, because it is not possible to move across map, since touch evenys on the map are always ...
androidandroid-coordinatorlayoutandroid-collapsingtoolbarlayoutsupportmapfragmentandroid-appbarlayout
Disillusionize asked 5/12, 2015 at 17:25
3
I want to add a marker on map with long press.
Toast in onMapClick() was display with normal tap. But long press is not working. Toast in onMapLongClick() is not displayed with long press. Also ma...
Precedence asked 19/4, 2013 at 4:19
3
I am using supportMapFragment inside fragment this why I am using this.getChildFragmentManager() if this wrong please guide me
public static ClinicFragment newInstance() {
ClinicFragment fragmen...
Skulduggery asked 27/12, 2015 at 12:34
1
I would know the differences because I'm developing an app and I would introduce Google Map API v2 for compiling above Android 2.3.
Which should I use?
Broadleaved asked 28/4, 2015 at 12:28
4
Solved
After going through SO questions relating to my title, I couldn't find a solution to the problem. I am having a NullPointerException at mapFragment.getMapAsync. Below is my MapActivity code.
packa...
Philibeg asked 25/4, 2016 at 4:30
9
I have added a full-screen map fragment to one of my three tabbed fragments. Everything works great apart from an issue I'm experiencing with switching between the tabs.
Each time I switch from th...
Cramoisy asked 17/3, 2016 at 19:18
2
I'm using SupportMapFragment (class="com.google.android.gms.maps.SupportMapFragment") for map in my code.
When I switch my app to dark or night mode, everything are in dark except map fragment.
I...
Socialize asked 10/5, 2016 at 10:19
6
Solved
I'm trying to load SupportMapFragment dynamically in a fragment, here is my onCreateView() method:
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedIn...
Erleena asked 7/10, 2013 at 7:33
11
I am trying to use the latest Map API 2.0 provided for Android. I am using the Support Library as I want to support Android 2.2. Following is my code:
Main Activity class
public class MainActivit...
Bombsight asked 2/1, 2013 at 15:13
11
Solved
When opening my SupportMapFragment (Android maps v2) for a second time (calling setContentView) I get the following error:
01-28 16:27:21.374: E/AndroidRuntime(32743): FATAL EXCEPTION: main
01-28 ...
Baliol asked 28/1, 2013 at 15:34
4
I'm working on a tabbed application using FragmentTabHost. One of my tabs(Fragments) is a map (extends Fragment), and I can only see the first time I select it, If I select other tab and back to ma...
Aflcio asked 31/3, 2013 at 2:0
1
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 P...
Gibson asked 1/4, 2016 at 5:26
2
Solved
Background
Suppose I have a view that works as the background (MapFragment in my case), and some other views that are the content of the activity.
The problem
Focusing an EditText, it shows the ...
Smithson asked 18/1, 2016 at 9:23
3
I'm trying to get a map from a SupportMapFragment but it returns null. From what I read this could be because the fragment is not yet fully displayed and therefore no map exists?! I tried fixing it...
Drumstick asked 21/7, 2013 at 10:52
1 Next >
© 2022 - 2024 — McMap. All rights reserved.