All Questions
Tagged with google-maps-android-api-2 maps
80
questions
0
votes
1
answer
42
views
Google map directions delay loading the itinerary
I'm using google map intent in my react native application has been almost one year without any problem passing the coordinates in this url allowing the user to open "Google maps" on ...
0
votes
0
answers
55
views
Track my location only when I'm load this app / fragment at the second time
I'm facing an unusual issue in my Android application where the initial GPS location doesn't update properly when the app is loaded for the first time. Here's the relevant code snippet:
public class ...
0
votes
0
answers
54
views
wrong react native map boundaries when the map is rotated
Summary
I'm using react-native-maps for the following issue.
I'm trying to get the visible map boundary using mapRef.current?.getMapBoundaries, it returns { northEast: LatLng, southWest: LatLng }, ...
0
votes
1
answer
120
views
Android - map map is blank on one device, not others
Hoping someone can help with this. I have a map fragment in my Android app, but on one physical device (Android 11 with the Feb 2022 security update) it always comes up blank. On another device (...
1
vote
3
answers
1k
views
Google Map API is not working on release mode
I am using Google Map in my android. It was working fine. Today I implemented Google Places API, after that when I build release APK, map is not working. I don't know that it is because of Google ...
0
votes
0
answers
71
views
Show Toast in googleMap Activity
I´m doing an app that has a googlemaps activity which shows you a map with your location provided by the gps.
I have a method that detects the distance between you and a point that is updated every ...
2
votes
0
answers
82
views
Getting street info from Google Maps API
On my Android app, I am trying to implement Dijkstra's algorithm for some cities, but I want to give weights to the streets manually. Is there any way I can get a graph of all crossroads of a given ...
-1
votes
1
answer
131
views
Didn't know how to get the current location and show nearby car services(workshops)
I have a google maps in one fragment in my app. How can I get the current location and show nearby car services?
package com.example.easyauto;
import android.location.Location;
import android.os....
0
votes
1
answer
163
views
mapFrag.getMapAsync() problems in a while loop
I really need help for a problem I don´t know how to solve.
I´m trying to make an application for my father, and I will work with Map.
The problem is specific in a mapFrag.getMapAsync() inside a while ...
-1
votes
2
answers
161
views
Googlemaps V2: Add an info window on GeoJsonPolygon
I am using geojson files to draw polygon on the map on Android. Now I wanna add info windows on top of this polygons. I try to use GeoJsonPolygonStyle from
GeoJsonlayer -> getFeature() method to ...
1
vote
1
answer
1k
views
How to keep map orientation fixed towards North in android
i want to keep my maps orientation always towards north .If the location changes towards left in driving mode ,It should always align it towards north.
0
votes
1
answer
224
views
Restrict traffic layer on Google maps
I'm aware that it is possible to enable traffic layer on Google maps, but it enables traffic on the entire map. Is it possible to restrict the traffic layer to specific route similar to Uber?
I'm ...
-1
votes
1
answer
235
views
Drawing track of multiple points using google maps
I'm trying to build an application(android) to draw a route between multiple points, but i have problem that google services just give me a path between two points so is there any service that i can ...
0
votes
1
answer
148
views
Optimized and not deprecated way for displaying markerOptions only if zoom is above a value
I want to display the thousand markers of my map only if the zoom is higher than 15.
Searching here I found this solution, but it is deprecated and is not good if you are showing a thousand of markers,...
0
votes
0
answers
55
views
Reading values from text file for map into my application
Right now I am trying to allow a user to select a location which will take them to it on a map. This works fine, however it is hard coded. What I want to be able to do is read in values I have stored ...