'How to run very long Google Maps/Static Maps API URLs
For my masters dissertation, I am working with Google Maps APIs. I use the Static Map API to generate images that portray locations and routes through polylines. This causes my URLs to be very long.
I have noticed that these URLs are meant to be used in websites. This is not (yet) what I am using them for. I simply copy and past the URLs in the search bar to get the image to use in my report. I have also no knowledge of how websites are programmed.
This leads to my question: because of the many locations and polylines, my URLs get very long. Too long to run in the browser.
The guideline for Static Maps API also quotes this: "URL size restriction: Maps Static API URLs are restricted to 8192 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."
But there is no alternative approach for if your maps are indeed complicated with a high number of markers and paths
How can I run these long URLs? Do you suggest another approach to generate these images?
I will try to include an example of a map with fewer nodes and routes of what I am aiming for
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
