As many of you are aware, MapQuest has had a Static Maps API Service using licensed data for quite some time now. So, it’s only fair that we now provide the same service using open data for the open community!
What does the API do then? The Open Static Map Service enables the user to create beautiful static map images generated via an HTTP request for their website or publication. The simplest example requires only a few key parameters:
- key – your MapQuest AppKey
- center – center of map in latitude/longitude
- size – size of map in pixels
- zoom – zoom level of map
For example, http://open.mapquestapi.com/staticmap/v4/getmap?key=Kmjtd%7Cluu7n162n1%2C22%3Do5-h61wh&size=600,200&zoom=15¢er=41.862648,-87.615549 will result in the following image:
But what if you need to plot POI locations? On satellite imagery? Easy.
How about a route? No problem.
Multiple features, plus an automatic ‘declutter’ option? You got it!
Now that you’ve seen a few examples, don’t be shy! Get creative by dynamically producing static maps for your website, adding your own custom icons, and more!
Visit the Open Static Map Developer’s Guide to learn about additional request parameters and options available. Or if you’re just a beginner, perhaps you’ll want to head straight to the Open Static Map Wizard.