Despite the many mapping industry changes, where tech giants are switching providers on what seems like a daily basis, OpenStreetMap has been the clear leader in meaningful solutions. Their lack of legal and technical restrictions, not to mention the remarkable level of contributors and data contributed, make them a popular alternative to other commercially available datasets.
MapQuest first began offering products and services based on data from OpenStreetMap back in July 2010, and today we’re extremely proud to be announcing a slew of updates to our Open APIs – all of which are still available for free and without any limit on transactions!
This highly anticipated update includes several major improvements to the API:
Open Aerial Tiles
For those of you looking to add aerial imagery to your application, you’ll be happy to learn the MapQuest Open Aerial Tiles have been fully integrated into the API. The tiles are composed only of imagery in the public domain (or released under similar licenses) and can be used for any purpose without any restrictions.
As the name indicates, this new control can be used to detect the user’s location and automatically re-center the map. A custom handler can also be added to perform a task, such as getting directions to the nearest ice cream shop after the user has been geolocated.
Increased Mobile Support
A major focus for the v7.0 release was to significantly improve performance and functionality on mobile devices. Key bug fixes were made in order to better handle touch events and increase support for pop-up InfoWindows and other popular features.
Open Geocoding API
One obstacle with using OpenStreetMap has always been geocoding, but the new Open Geocoding API (our first stab at releasing a first-rate open geocoder) allows users to geocode, reverse geocode and batch geocode addresses. Powered by Nominatim, the Open Geocoding API makes it possible for users to specify which country to search, which city to search, and use other advanced specifications to further refine their request.
Basic Geocode Request:
Advanced Geocode Request:
To learn more about the API, including information about returning the geocode quality and static map thumbnails in the response, be sure to read the Open Geocoding Developer’s Guide. If you also have suggestions on how we can improve the service, please let us know!
Open Directions API, Open Guidance API & Open Static Map API
Continuing with the geocoding theme, both the Open Directions API and Open Guidance API now support addresses as their input.
The Open Static Map API has also been updated to support address locations when making a getplacemap request.
http://open.mapquestapi.com/staticmap/v4/getplacemap?location=1090 N Charlotte St, Lancaster, PA&size=500,300&type=map&zoom=17&showicon=red_1
(Note to current Open Static Map users: please switch to v4 as v3 has been deprecated).
We owe many thanks to the OpenStreetMap community for contributing their time and efforts to the project, and we hope you share with us all the creative ways in which you use our APIs!
Have questions or comments? Please post them on our forums or on Twitter @MapQuestTech and we’ll get back to you as soon as we can. Thank you and enjoy!