Skip to main content

Questions tagged [google-maps-android-api-2]

Google Android Maps Api v2 is the next generation of Google Maps SDK available for Android developers.

google-maps-android-api-2
0 votes
0 answers
289 views

How to refresh the last location every second?

Pretty new in Kotlin and I am trying to setup a map marker that follows the user ever they go, which means the location need to be updated like every second. I have used FusedLocationProviderClient ...
Tommy -'s user avatar
  • 103
0 votes
1 answer
47 views

Save on memory when creating custom bitmap images for a TileProvider

Using a custom TileProvider: class ObjectTileProvider @Inject constructor( val application: Application, val repository: ObjectRepository ) : TileProvider { override fun getTile(x: Int, y: ...
lostintranslation's user avatar
0 votes
0 answers
28 views

Can't assigned Latlng from Bundle

I run the debugger and get these details If the bundle has the Latlng, then why I can't assign it to the global variable? This is InputTempatActivity class where I get the Latlng: private Agenda ...
Floppydisx's user avatar
0 votes
1 answer
127 views

Some controls of Google Map view are under status bar and toolbar

I have an app with transparent toolbar and statusbar and there is map which takes all space of the display but I need to move native controls of Google's map view under toolbar somehow How can it be ...
user924's user avatar
  • 11k
1 vote
2 answers
506 views

Flutter Map Not opening on android

import 'package:url_launcher/url_launcher.dart'; import 'package:url_launcher/url_launcher_string.dart'; class MapsUtils{ MapsUtils._(); static Future<void> openMapWithPosition(double latitude, ...
Siddhesh Pathak's user avatar
3 votes
1 answer
1k views

Loading of GoogleMap in Compose is really slow

I am using the Maps Compose Library to display a map: @Composable fun Maps(latLng: LatLng, radius: Float) { val uiSettings = remember { MapUiSettings(zoomControlsEnabled = false, ...
QenBau's user avatar
  • 377
0 votes
0 answers
160 views

Is there a way to display locations without Google Maps? - android

I want to display locations but not necessarily on a map. I just need a widget with a white background that can display Location objects. Is there anything like that available?
Bence's user avatar
  • 109
1 vote
0 answers
47 views

show a map with the current location of the user and the stations downloaded from the server

good morning everyone i have a problem with a fragment class. Specifically, I want to show the user's current location and the location of different train stations downloaded from the server. My code ...
Elly's user avatar
  • 339
0 votes
1 answer
543 views

How to Optimize google maps api calls for mobile apps

How can we reduce Google Maps api calls?? in one of our app (similar like uber) we are using Google directions api to plot two points(source and destination) and dynamic path between them, so we have ...
santosh's user avatar
  • 171
0 votes
1 answer
1k views

FusedLocationProviderClient and LocationCallback() object queries

To sum up the issue, I was implementing the google maps API to make a run tracker and was also implementing MVVM architecture at the same time. However, when I managed to configure my code to place ...
Isaac Chen's user avatar
0 votes
0 answers
124 views

Retrofit API calls are not synchronous in Android

I am getting location of the user in the background service and putting it in local database and I am checking if any connection is available I've to pass this data to the server using API. For API I ...
Ghazanfar Ateeb's user avatar
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
0 answers
44 views

Location not detected when using fake position

I am implementing a navigation app, and I take the positions update like this: private fun checkSettingsAndStartLocationUpdates() { val request: LocationSettingsRequest = ...
giordy16's user avatar
  • 347
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
-1 votes
1 answer
122 views

google maps not rendering while driving android

I am facing an issue of google maps rendering maps while driving it's not updating the map fast I have tried several ways to counter this but no result Thank you in advance
Khalid Ahmad Fazli's user avatar

15 30 50 per page
1
3 4
5
6 7
309