Search code examples
google-mapsbing-mapsbing-apigoogle-maps-static-api

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 - Imagery and I found that maximum 100 pushpins (markers) can be placed on to Bing map.

I would like to generate static map with unlimited markers/pushpins. Google or Bing does not matter.

Something like this: http://msdn.microsoft.com/en-us/library/ff701724.aspx#code-snippet-19


Solution

  • The documentation for static maps states:

    URL Size Restriction

    Static Map URLs are restricted to 2048 characters in size. In practice, you will probably not have need for URLs longer than this, unless you produce complicated maps with a high number of markers and paths. Note, however, that certain characters may be URL-encoded by browsers and/or services before sending them off to the Static Map service, resulting in increased character usage. For more information, see Building a Valid URL.