Skip to main content

The MQ Blog

Discover easy ways to improve your business needs using MapQuest’s tools and gain insights into MapQuest use cases for various industries

Announcement: MapQuest.js Public Release

We’re excited to announce the release of the successor to our Leaflet Plugins, MapQuest.js! Built with Leaflet v1.1.0 integration, MapQuest.js provides all of the power of the MapQuest geospatial platform combined with the elegance of the open-source Leaflet mapping library. Seamless integration with MapQuest’s APIs allows easy interaction with the geocoding, directions, traffic, and search-ahead services, both with and without a map.

Leverage proven MapQuest APIs with new flexibility and more features:

With new simplified interfaces, you can create and configure interactive maps with many new features. Instantly choose from light, dark, satellite, or hybrid map tiles with zoom levels from 0 to 20 and utilize OpenStreetMap or licensed MapQuest datasets.

MapQuest.js provides all of the standard Leaflet controls, as well as our own MapQuest- designed controls, ultimately helping you code faster and more efficiently.

  • MapQuest.js Controls:

    Want to add some of the features of

    to your own map? The MapQuest control adds zoom, locator, satellite tiles, and traffic integration to your map with a simple and clean interface. Other controls include the new geocoding and directions controls.

Use proven MapQuest APIs from inside a new flexible JavaScript library: 

  • Icon Service:

    Access all icons from the popular MapQuest icons API. Standard and customized icons, flags with labels, standard or retina resolution.

  • Geocoding:

    Tap into our industry leading MapQuest geocoder to do forward, reverse, or batch geocoding. Tap into OpenStreetMap data or MapQuest licensed datasets.

  • Search Ahead:

    Use autocomplete for prediction-based searches with the geocoding control with search ahead.

  • Traffic:

    Include the traffic layer for real-time traffic incidents and construction. Icon popups add more details and three levels of severity

    .

MapQuest.js is lightweight. Pick the footprint and the library you need for your specific application: 

  • MapQuest.js

    : The full library with Leaflet v1.1.0 included. This solution requires only the MapQuest.js JavaScript and CSS resources to begin development.

  • MapQuest-core.js

    : The core library lets you use a specific version of Leaflet. MapQuest-core.js includes the MapQuest integrations of the full library, but without Leaflet built-in. Simply add your specific version of Leaflet’s JavaScript and CSS tags before including MapQuest-core.js and you can use the Leaflet version of your choice.

  • MapQuest-maps.js

    : A smaller version of MapQuest.js with a focus on mapping. The maps library removes some of the MapQuest API integrations in favor of being a lightweight and maps-only focused version.

For more information, visit our documentation for code and visual examples. And, post your follow-up questions or feature requests in our forum.

Recent articles

What is the difference between latitude and longitude?

In the realm of geographic navigation and positioning, the concepts of latitude and longitude stand as fundamental principles guiding us across the complex surface of our planet. These two sets of lines not only demarcate positions on Earth but also play a pivotal role in the fields of GPS technology, time zones management, and global […]

Jenn Chu

Why Route Optimization is Critical for Operational Success

In today’s fast-paced business landscape, route optimization software and APIs offer a game-changing solution for enhancing operational efficiency and driving cost savings. When your drivers have hundreds, if not thousands, of destinations or clients to visit, planning routes manually becomes a time-intensive and inefficient solution. Route optimization benefits extend far beyond just reducing travel distance […]

Jenn Chu

The Science Behind GPS: How Does It Work?

The Satellite Network GPS operates through a constellation of satellites that are strategically positioned in medium Earth orbit. This network includes at least 24 operational satellites at all times, ensuring global coverage and providing users with precise navigation and timing services 1. Each satellite orbits the Earth approximately twice a day at an altitude of about […]

Jenn Chu