MapQuest Offers Leaflet Plugins
Yesterday MapQuest announced beta maps, geocoding, and routing plugins for Leaflet. Before you get too excited, these currently work with MapQuest's licensed (for fee) data. But in time, the plan is to offer them to work with its open data (OSM) within weeks.
Here are the details of the plugins:
- MapQuest Maps for Leaflet – While many developers are already using MapQuest-OSM and Open Aerial Tiles with libraries like Leaflet and OpenLayers, we’ve never been able to offer access to our map tiles that are created from licensed data sources. The MapQuest Maps plugin for Leaflet allows you to do just that; it allows you to use our licensed map, satellite, and hybrid tiles with Leaflet. It’s also easy to use the Leaflet layers control to switch between each map type.
- MapQuest Geocoding for Leaflet – Sure, it’s already possible to make requests directly to our Geocoding API Web Service from an application that is built with Leaflet; however, the MapQuest Geocoding plugin for Leaflet takes care of the heavy lifting for you. You can easily integrate MapQuest geocoding functionality into Leaflet, as it takes care of making requests, parsing responses, and adding results to your map. It’s also easy to customize the POI icons that are added to the map.
- MapQuest Routing for Leaflet – Like geocoding, it’s already possible to make requests directly to our Directions API Web Service from an application that is built with Leaflet. With the MapQuest Routing plugin for Leaflet, you can easily integrate MapQuest routing into Leaflet, including our popular draggable routes functionality. Aside from draggable routes, this plugin also offers many of the features that our developers expect, such as route types, optimized routes, and route narratives.