Skip to main content

All Questions

0 votes
0 answers
29 views

unable to invoke tha getLocationweatherdetails(latitude,longitude) from ananymous class

/** * A function to request the current location. Using the fused location provider client. */ @SuppressLint("MissingPermission") private fun requestLocationData() { val ...
Sijan's user avatar
  • 1
0 votes
1 answer
655 views

Add toolbar and drawer menu to Android Google Maps Activity

I have created a standard Google Maps Activity in my app in Android Studio and the map works as expected. My Activity is called 'NativeMap' and then the activity starts I see a ToolBar/AppBar at the ...
Fat Monk's user avatar
  • 2,225
0 votes
1 answer
655 views

How can I create a custom InfoWindow layout/background for Google Maps on with a 'stalk'

I have managed to define and use a custom InfoWindow in my Google Maps app on Android, but I can't figure out how to create a similar custom layout to that shown on the right in these examples on ...
Fat Monk's user avatar
  • 2,225
0 votes
1 answer
254 views

GoogleMap fragment inside fragment containing margin/padding at top?

Using the "Activity Bottom Navigation" template in Android Studio, I am then adding a GoogleMap fragment inside one of the default fragments. The main fragment, unchanged from the template: &...
Coyttl's user avatar
  • 537
1 vote
1 answer
1k views

Add rounded corners in border in Maps Fragment and remove the Fragment background

I have added a border in Maps fragment. The corners are rounded too. But the problem is that the fragment background is still appearing in the corners. It just makes the whole design look odd. Can ...
Samrat's user avatar
  • 81
2 votes
2 answers
182 views

Can't drag map over view with GONE visibility

I have set up google map and I have a view (a ConstraintLayout with a height of 150dp) that slides up and gets visibility(View.VISIBLE) on the bottom of the screen when i click a marker on the map. ...
Laur89's user avatar
  • 105
1 vote
2 answers
938 views

Draw dotted line under the circle in google map

I am working on an Android application that uses Google Maps and draws circle on the map so i have created the circle on the map but now i need to draw a dotted line in the circle to show the radius ...
Kiran Choudhary's user avatar
1 vote
1 answer
174 views

Animating a fling gesture on a Google map

I have an overlay (ImageView) over the map on which i catch multiple events like a scroll, double tap or a fling and than simulate those events on my map below. Scrolling and double tap are working ...
Sicisom's user avatar
  • 11
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 ...
alan eugenio's user avatar
-1 votes
2 answers
520 views

How can I get array of available routing LatLng between Source LatLng and destination LatLng?

I wanted to add some checkpoints(Marker) into Google map between the Source and destination as per available route in my Android App.
Sanket Parchande's user avatar
2 votes
1 answer
921 views

Remove default object from google maps api v2

I want to remove all the default object or places from google maps. I hope to know is this easier or building on overlay is easier. I want a blank map that supported by google. I will add the places ...
ahmed osama's user avatar
1 vote
1 answer
134 views

Android: How to fit only map objects inside system window?

I have a map fragment that is full screen and goes behind the navigation and status bars by setting fitsSystemWindows to "false". This however, means that the map objects such as the compass or the ...
Lord Goderick's user avatar
1 vote
1 answer
958 views

Android Google map's marker isn't centered

My layout looks like: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:...
Vasily Kabunov's user avatar
1 vote
1 answer
4k views

Nested Scroll View height Issue

I have implemented Google Maps with bottomsheet. However when I check the layout, the map is on the top of the screen, not occupying the whole width and height of the screen. I've tried many ways to ...
Vyshakh's user avatar
  • 632

15 30 50 per page
1
2 3 4 5