65,901 questions
0
votes
0
answers
46
views
Flutter Google Maps always follows system theme on Android (can’t force light mode)
I’m experiencing an issue with the Google Maps Flutter Navigation SDK on Android.
I want my map to always stay in light mode, regardless of the device’s system theme. My app is forced to light mode ...
-3
votes
1
answer
48
views
Google map displays the message "This page did not load Google Maps correctly."
My Google map displays the message "This page did not load Google Maps correctly." But enabled Billing in Google Cloud but I'm still getting the error BillingNotEnabledMapError. Any idea ...
0
votes
0
answers
40
views
Google maps JS API PinElement deprecation without clear alternative
I'm using the Google Maps JavaScript API and creating advanced markers using the PinElement class. I was creating these pin elements like this:
glyph = document.createElement("div");
glyph....
0
votes
0
answers
52
views
Navigation sound at start sometimes missing
Please check for me if the code is correct, the function call position is reasonable.
Because there is currently a problem that the navigation sound when starting Navigation is sometimes absent.
...
Advice
0
votes
1
replies
48
views
Google maps Border-radius with gmp-map integration
I use the last best practice to integrate google map into a web page in JS: https://developers.google.com/maps/documentation/javascript/adding-a-google-map
This method create a shadow-root "...
0
votes
1
answer
62
views
Latest version of Compose Maps dependency throws "IllegalArgumentException: source must not be null"
When using com.google.maps.android:maps-compose in version 6.12.2 I get the following error building the project:
org.jetbrains.kotlin.util.FileAnalysisException: While analysing <redacted>/...
-4
votes
0
answers
58
views
google maps platform builder agent issues?
I have just started using the Google Maps Platform Builder Agent, and it's amazing. I created a map a few years ago of a group of specialists around the world, which could then be searched by location ...
1
vote
1
answer
89
views
Flutter Google Maps: setMapStyle deprecated, how to style the map in newer versions?
I'm using the latest version of google_maps_flutter, and I noticed that this code is now showing a deprecation warning:
if (_mapStyle != null) {
mapController.setMapStyle(_mapStyle);
}
I used this ...
-5
votes
0
answers
40
views
Finding location for device after mock map was sat [closed]
Looking to find out where the ip registered location was at when mock map was sat. I've put into cloud Dropbox and takeout and its all delete..? I've can't find anywhere online showing me the right ...
0
votes
0
answers
86
views
Google Play warning about 16-KB page size — libgmm-jni.so not supported. How to fix?
Google Play is warning that my app does not support 16-KB page size. My app currently supports only 4-KB pages.
When I checked my AAB using the APK Analyzer, I found that the file libgmm-jni.so does ...
Advice
1
vote
2
replies
38
views
Google Maps Static API in Mail Body
In our Web Application we would like to send updates to users via mail.
The mail should contain a map, in the best case from Google Maps.
Our first idea was to simply use the `iframe` and display ...
0
votes
2
answers
43
views
NativeScript Android app closes when trying to add a marker in Google Maps
I'm having a problem with my code. I'm just trying to add a simple marker. Here's my implementation
<script setup lang="ts">
import { AbsoluteLayout, Page } from '@nativescript/core';
...
0
votes
0
answers
40
views
Google Maps Flutter camera center appears in top-left corner depending on Scaffold layout (extendBody / AppBar / bottomNavigationBar)
I'm building a custom map page in Flutter using `google_maps_flutter` (and a wrapper widget from `google_maps_drawing_tools`). I'm fighting a layout issue where the **camera target is not visually ...
0
votes
0
answers
53
views
How to prevent traffic prompts to overlap with travel estimates on Android Auto?
In my Android Auto app, I show a travel estimates using the NavigationTemplate.
The navigation is performed using Google Navigation SDK. This SDK can display an alert with a traffic prompt. This ...
0
votes
0
answers
51
views
How to activate night mode automatically on Android Auto for a map using Google Navigation SDK?
I followed this documentation to show a Google map in my Android Auto app: https://developers.google.com/maps/documentation/navigation/android-sdk/android-auto#draw_the_map_and_navigation_ui
...
0
votes
0
answers
91
views
Kotlin Multiplatform + Google Maps on iOS: Why do I still need .def file with SPM? Interop not working without cinterop
I am integrating Google Maps SDK for iOS into my Kotlin Multiplatform (KMP) project. Earlier I was using CocoaPods and everything was working. Now I migrated to Swift Package Manager (SPM) and removed ...
-4
votes
1
answer
104
views
Google Maps API with OAuth2 [closed]
Can I use Googlemaps API without an API Key and with a OAuth2 Token instead ?
I did not found any sample URL, or something in the Google Docs with this OAuth2 access token instead the API key.
1
vote
0
answers
245
views
Map markers cut off when applying ignoresSafeArea() with Google Map
I'm using the iOS Google Maps SDK to show maps in my app.
On my maps, I also show some map markers.
This has been working great, however I want the map to ignore the safe areas of the device so that ...
0
votes
1
answer
161
views
React Native Maps not showing Markers on Android, even though API data is fetched correctly
I'm building a React Native app to display location markers on a map using react-native-maps. I'm using the Google Maps provider on Android.
My problem is that the map loads, but the markers are not ...
0
votes
1
answer
213
views
iOS26 UINavigationController swipe from middle on Google Maps causing issue
I have a UINavigation controller which on the second viewController has a Google Map view. In iOS 18 you would navigate normally around the map, and swipe your finger from the left side of the screen ...
0
votes
1
answer
93
views
How do I change the Google PlaceAutocompleteElement width? [duplicate]
Unlike the past, Google's new PlaceAutocompleteElement imposes its own styling on the input and it clashes with my site.
In particular, the width is not full-width / fill. I see Google allows a small ...
1
vote
0
answers
221
views
Google Navigation SDK Android (7.0.0) — guidance arrow freezes on North after 5-15 minutes in navigati
Problem:
I’m integrating the Google Navigation SDK for Android into a Flutter app using Kotlin module. Navigation starts fine, but after 5-15 minutes in navigation, the blue arrow stops rotating with ...
0
votes
1
answer
68
views
Change markers icons when loading KML from file
In kotlin, I want to load a KML file stored as XML and show it with default icon marker.
Here is my actual code:
val content = requireContext().openFileInput("map.kml")
val layer = KmlLayer(...
3
votes
0
answers
230
views
React Native Maps Callout not showing content after upgrading Expo 54 / react-native 0.81
I upgraded my Expo app from SDK 51 to SDK 54 (React Native 0.81, react-native-maps 1.20.1).
After the upgrade, my <Callout> inside <Marker> stopped showing data.
Before upgrade it worked ...
1
vote
2
answers
48
views
Static image ignores 'visible' parameter when using 'path' parameter
I'm using the Google Maps API for getting static images of specific parts of a route (path), like this:
https://maps.googleapis.com/maps/api/staticmap?size=800x800&path=color:0xFF0000|weight:5|51....
0
votes
0
answers
46
views
Google Places SDK: How to prevent iOS text search from sorting results by distance?
I'm using the Google Places SDK for iOS and Android, along with the new Places API (New), to implement text-based place search (e.g., "pizza" near the current location).
I'm passing the same ...
0
votes
0
answers
76
views
googleMap can't display map on android14 system
i got sample google demo code from https://github.com/googlemaps-samples/android-samples/tree/main
<meta-data
android:name="com.google.android.geo.API_KEY"
android:...
0
votes
0
answers
134
views
React Native Maps Marker not Render on Android but work As expected on IOS
I’m using react-native-maps with clustering on the map. When zooming in, markers are displayed with images based on genres. The issue is that the markers are not rendering on Android, although they ...
1
vote
2
answers
151
views
How to show railways line in Android Google Maps SDK?
I am building an Android app where I want to display the actual railway line between two cities.
If I just draw a Polyline using the lat/long of intermediate stations, it produces straight lines ...
0
votes
1
answer
43
views
can we get poi details from onload funtion?
For andriod googlePlaceUikit . afre all function configureFromSearchByTextRequest, we really get the place list , but still has a question: can we get details from onLoad function, since the function ...
1
vote
3
answers
386
views
How to make vis.gl react google maps work with Terra Draw
Google Maps drawing manager has been deprecated since August 2025, and their advice is to switch to Terra Draw.
I'm using @vis.gl/react-google-maps library to display a map on my react app, it ...
0
votes
1
answer
149
views
Using Google Map in Compose starts to crash with 6.7.2
My app starts crashing if I update the module "com.google.maps.android:maps-compose" to version 6.7.2 with
java.lang.NullPointerException: CameraUpdateFactory is not initialized
With ...
-2
votes
2
answers
111
views
Google Maps Embed API directions mode blocked in Safari with domain-restricted API key
Using the free Google Maps Embed API (iframe) with place and directions modes on the same domain/subdomain.
Place mode works fine in all browsers.
Directions mode works in Chrome/Firefox but fails in ...
2
votes
2
answers
62
views
mapDblclick not firing on AdvancedMarkerElement in @angular/google-maps
I'm using @angular/google-maps and AdvancedMarkerElement to display custom markers on my Google Map. I can handle single clicks just fine with (mapClick), but (mapDblclick) never fires—even for a ...
0
votes
0
answers
55
views
PlatformException when calling getVisibleRegion() in google_maps_flutter
I’m facing this issue in my Flutter project while using google_maps_flutter
Exception has occurred.
PlatformException (PlatformException(channel-error,
Unable to establish connection on channel:
&...
4
votes
2
answers
161
views
Why does @mapbox/polyline decode differently than Google’s Routes API polyline decoder?
I have an encoded polyline string:
ivgfAw_}bNaAfMwBjZk@IUrCGlC?jBFjCDbAV~B^xBVdAJFbB~EpApClAzBfC~DfAbBvDxGFZvDxGtAzBpDbHp@hAbDdG|EhH@d@bEbGlDnFl\fi@lIfN~OlWvFbJ|BpDg@~x@bDdFtHfMvZ~f@hDvF|EzHhDxFxTj^...
0
votes
1
answer
119
views
Google Maps PlatformException: Unable to establish connection on channel "dev.flutter.pigeon.google_maps_flutter_android.MapsApi.getVisibleRegion.5"
I'm facing a platform channel error in my Flutter app when trying to use Google Maps. The error occurs specifically when calling getVisibleRegion() on the Google Maps controller.
Error Details:
...
0
votes
1
answer
107
views
Adding KmlLayer to google maps breaks InfoWindowAdapter
I have a maps which has marker. I want to add a KML layer on it to show a KML from google thanks to a KMZ file. But, when I add the new layer, the custom marker is no longer appearing.
I'm using this ...
0
votes
2
answers
94
views
Display Google map inside a modal in vue.js
I want to display a map inside a modal but it is not working.
In my blade.
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCtTed7y_ePqg1QoDMHOyu01FtP_Ot-mDU" async ...
2
votes
1
answer
333
views
Google Navigation SDK (Android): setDestinations(..., CustomRoutesOptions(routeToken)) still takes fastest route instead of my chosen route
I’m using the Google Navigation SDK for Android together with the Routes API - directions/v2:computeRoutes.
From computeRoutes I get two routes: the default one and an alternate. I want to navigate ...
1
vote
1
answer
149
views
Angular 19 Google Maps Javascript SDK Does not load properly
Im currently working on Angular 19.1.7 based project where I am trying load google maps via Javascript SDK. Im using below in index.html:
<script src="https://maps.googleapis.com/maps/api/js?...
2
votes
2
answers
162
views
How to make Google Maps JavaScript API zoom in/out process smoother?
I’m using the Google Maps JavaScript API with a lot of SVG markers clustered using MarkerClusterer. When I zoom in and out, the map feels laggy and the zoom animation isn’t smooth — it stutters or ...
0
votes
1
answer
71
views
Some Maps Platform quotas are meaninglessly named `(Unlabeled limit)` for the Maps Javascript API, `gcloud alpha quotas info` not working either [closed]
In the Google Cloud console, Google Maps Platform section, some quotas are just listed as (Unlabeled limit) as can be observed in the attached capture.
Is this expected or is this a bug?
I tried to ...
0
votes
0
answers
70
views
How to structure google map so that it can be used in whole app android?
I am working on map project in android kotlin. i have one activity main and that implements the OnMapReadyCall back
MainActivity.kt
class MainActivity : BaseActivity(), OnMapReadyCallback, ...
0
votes
1
answer
126
views
Google Maps - Places API: Why can't I combine ADDRESS and ESTABLISHMENT in setTypesFilter()?
I'm using the Places SDK for Android and trying to get both addresses and business names in autocomplete predictions. Since setTypeFilter() was deprecated, I switched to setTypesFilter() as ...
1
vote
2
answers
156
views
Google maps place id refresh
I have a relatively simple question, I can't find an answer for. I'm using the google places api and store the ids. However the documentation states, that refreshing placeId is free of charge. It's ...
0
votes
1
answer
95
views
How to remove padding from Google Maps InfoWindow in Vue 3 to make image cover full popup?
I'm building a Google Maps component using vue3-google-map, and I want the image inside the InfoWindow to fully cover the popup — edge to edge, no default padding.
The problem is that Google Maps ...
0
votes
0
answers
100
views
EdgeToEdge padding for SupportNavigationFragment Google NavigationSDK from Google Maps Platform
im using the Google Navigation SDK in an Kotlin Android App and I am currently working on implementing EdgeToEdge since this is required for Android SDK 35+
For good borderless design I'm currently ...
0
votes
1
answer
38
views
How to prevent Google Map Static APi from returning nearby buildings?
In a Next.js application, I have this effect:
useEffect(() => {
if (!apiKey || !lat || !lng) return
const metadataUrl = `https://maps.googleapis.com/maps/api/streetview/metadata?location=...
1
vote
1
answer
75
views
Google Maps Custom Style Not Applying in WordPress (Elementor)
I’m working on a WordPress website using the Elementor Pro page builder, and I’m trying to integrate a custom-styled Google Map on the "Contact Us" page.
What I’ve done so far:
Created a ...