349 questions
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 ...
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
1
answer
87
views
Google Maps Static API request isn't working over https and http2 (h2)
I have a webpage served over https which should display an image created via the Google Maps Static API. I try to create the map image by making a request to the API via http like this:
<img src=&...
-1
votes
1
answer
151
views
Is there a way to test Google Maps Static API beta for new style change?
I saw the default map styles for the APIs are changing, specifically the Maps Static API and NOT using the cloud-based map styling. In the email it states August 2024 it will be available, but when ...
0
votes
1
answer
198
views
Google Static Maps API Polyline with repeating icon (dashed line)
I have successfully used Google Maps icon technique to create dashed poly lines but now I want to apply this to a Google Maps Static Maps API image.
How do I apply a repeating icon along a path in a ...
0
votes
1
answer
85
views
Numbering Static Map Markers
I am trying to label markers on a static map with numbers beyond 5 or 10. The current limitation of 5 custom markers along with the limitation of only adding a single character to the label is ...
2
votes
2
answers
927
views
How to scale an overlay image based on the Google Maps zoom level
I am trying to paste an overlay image on a static google map screenshot. Here is the code snippet -
import requests
from PIL import Image
import io
API_KEY = '***'
plot_center = [75.49927187059548, ...
2
votes
2
answers
684
views
How to resolve Google Maps API warning "X-Staticmap-Api-Warning: Error geocoding: center, marker 1"?
For some addresses, google maps static api returns a 200 response, but image shows up blank with a yellow ribbon at the top right with this error message: "Maps error: g.co/staticmaperror":
...
-1
votes
2
answers
415
views
Unable to generate digital signature for google static street view API
I am trying to use the google static street view API to get an image of a property. The docs for the API state that I need to use a "digital signature": https://developers.google.com/maps/...
-3
votes
1
answer
685
views
Google static API large zoomed map
Hi,
For a project i'm working on I need a lot of maps from different places around the world zoomed to building level. I tried to use Google static map API and python to achieve that. I planned to ...
0
votes
1
answer
403
views
Custom marker icon not working. Maps displaying default marker image instead
I have a google static map where I am adding 4 markers with 4 different custom icons. Three of the icons work, but the fourth does not. Instead, one of the markers displays as the default orange pin. ...
1
vote
1
answer
234
views
WebClient.DownloadData times out on server after moving to AWS
In an ASP.NET MVC webapp I developed years ago in C#, there is an action / controller that downloads an image of Google maps and saves it to disk for later use, using WebClient.DownloadData.
This ...
0
votes
1
answer
760
views
Google Static Map API multi polygon url too long
I am working with Static google maps to generate urls with multi polygons on the map. But the coordinates are very long and the urls exceed 8 thousand characters.
Here you have the url that i use with ...
0
votes
1
answer
631
views
Google Map Static Api with polyline not displaying on React Native
I am trying to add an image of a map using the Google Maps Static API in React Native.
I am using the directions api to obtain the overview_polyline data and incorporating that into a url that is then ...
0
votes
0
answers
169
views
Google Static Map occasionally maps the path differently to the dynamic google map
I extract coordinates on google maps by plotting an overlay (exhibit A).
I then reuse these same coordinates as the path variable in the google static map (exhibit B) and for some locations, it does ...