Questions tagged [google-maps-static-api]

The Google Maps Static API returns an image (either GIF, PNG or JPEG) in response to an HTTP request via a URL.

The Google Maps Static API returns an image (either GIF, PNG or JPEG) in response to an HTTP request via a URL. For each request, you can specify the location of the map, the size of the image, the zoom level, the type of map, and the placement of optional markers at locations on the map. You can additionally label your markers using alphanumeric characters.

A Maps Static API image is embedded within an HTML <img> tag's src attribute, or its equivalent in other programming languages.

347 questions
68
votes
10 answers

Convert long/lat to pixel x/y on a given picture

I have a city map of Moscow. We modified a Google Maps image with some artistic elements, but the relation between GPS coordinates and pixels remains the same. Problem: How do I convert GPS coordinates from various data points we have into pixel…
Kalinin
  • 2,489
  • 8
  • 37
  • 49
34
votes
4 answers

Using a custom image marker on google static map?

how to have custom image marker on google static map, i need url format: this is what i have tried, but its having default marker image …
praveenraj
  • 774
  • 1
  • 9
  • 20
27
votes
4 answers

Google static maps with directions

I have in my project list of generated places with mini maps. There should be 2 points on the map and colored road direction between this two points. it should looks somehow like this: This should be static image, because there will be many such…
25
votes
1 answer

How can I use high resolution custom markers with the scale parameter in Google's Static Maps API?

We're using Google's Static Maps API with the scale parameter to display lovely smooth maps for people using high resolution displays. However, we'd also like to use custom icons to show points on the map. Unfortunately I can't find any way of doing…
alnorth29
  • 3,525
  • 2
  • 34
  • 50
21
votes
6 answers

Converting Google Maps styles array to Google Static Maps styles string

I've built a tool that allows folks to apply a JSON map style to a Google Map, and am now wanting to add support for the Google Static Maps API. Using the following styles…
aendra
  • 5,286
  • 3
  • 38
  • 57
20
votes
10 answers

Google Static Maps URL length limit

I have 153 markers and need to generate a static map with them, but when put them in the url I get an error like this: 414 Request-Uri Too Large My url is something like…
19
votes
7 answers

Drawing a circle Google Static Maps

I have a Google Maps Circle drawn on v3 api. When the user has plotted there circle (or polygon if they choose), they can save the data to the server. If the user has picked a radial search, the Centre coordinates and the radius in feet is stored to…
rickyduck
  • 4,030
  • 14
  • 58
  • 93
14
votes
3 answers

Is there any limit to number of markers that can be placed on google static maps?

Is it possible to place (say 1000) markers (using set of LAT-LONG values) on Static Google map image? Also, is there some sort of HTTP POST method to achive this or URL is the only way to go? Basically, I was looking into Bing maps REST service -…
Learner
  • 3,904
  • 6
  • 29
  • 44
12
votes
3 answers

New Google Maps Platform - How do I set my own usage limits?

In their notifications about the new billing system for the Google Maps APIs, Google very clearly state that you "can set usage limits to protect against unexpected increases". However, I haven't found any documentation regarding how to set these…
Ambulare
  • 897
  • 3
  • 10
  • 32
11
votes
2 answers

I need to take data about a dynamic Google map and create a static Google map from it using API V3

What I really want to do is to allow a user to create a map with google maps and save the image. I have attempted a work around that does this by using the google maps api V3 and also the static maps api. The user can use the dynamic google map to…
11
votes
1 answer

Get static image from Google map for given area

I know that Google Maps provides an API for getting static images: https://developers.google.com/maps/documentation/static-maps/intro However that API gets as input a center point, zoom level and output image size. In my case, I need an image that…
lviggiani
  • 5,824
  • 12
  • 56
  • 89
10
votes
4 answers

Google Static Maps API: URL Signature in JavaScript

How to generate valid signature in JavaScript, I do have a business Key and client id but not able to proceed for static maps api valid url signature, as I am calling this API using JavaScript and want to send the signature and client ID to have…
user2142056
  • 101
  • 1
  • 4
9
votes
4 answers

Is it possible to draw a circle on a Google static map?

The static map API discusses paths, but no mention of circles. Is this possible? Thanks
Aneil Mallavarapu
  • 3,485
  • 5
  • 37
  • 41
9
votes
5 answers

Exceeded usage limits for Geocoding API

When accessing the below link: http://maps.googleapis.com/maps/api/geocode/json I get the response: { "error_message" : "You have exceeded your daily request quota for this API.", "results" : [], "status" : "OVER_QUERY_LIMIT" } There are…
Jon
  • 610
  • 2
  • 6
  • 13
8
votes
1 answer

Google Maps style does not apply to the Korea area

I ran into a problem recently with Google Maps styling. I used the Styled Maps Wizard to customize the Google Maps, but I realized the style does not apply to areas/tiles near Korea. This is the static in…
kaho
  • 4,746
  • 1
  • 16
  • 24
1
2 3
23 24