The MapQuest APIs allow developers to add mapping, geocoding, routing, searching, and other functions to the applications quickly and easily.
Questions tagged [mapquest]
313 questions
3
votes
1 answer
Leaflet circles and click events to load new page
Hi I have a series of circles using mapquest and leaflet
The circle data is dynamically generated from querying the sql table that contacts: circle name, long / lat center position and radius.
I want the user to be able to click on any of the…
user3939487
3
votes
1 answer
Reverse Geocode using OSM to get nearest node/ way information
I am very new to geocode and quite overwhelmed with all the information. I have seen similar questions to the one I have but I haven't been able to figure out the solution. I hope you'll can help.
I have a .csv file that is populated with over…

user3299469
- 67
- 1
- 6
3
votes
2 answers
file_get_contents returning corrupted image from URL
I'm using this code to download image files from the Mapquest Traffic API.

Josh Ferrara
- 757
- 2
- 9
- 25
3
votes
2 answers
Getting data from JSON (Using Mapquest and PHP)
So, I'm trying to pair Google and MapQuest's geocoding abilities because some address aren't able to be geocoded through Google, but they show up on Mapquest so I want to pair them. I was able to get the google…

user1470118
- 412
- 2
- 9
- 24
3
votes
3 answers
NSJSONSerialization returning null for MapQuest JSON in iOS
I am trying to parse a mapquest geocode json in iOS, but NSJSONSterilization returns null. I checked with online json checkers and it appears that the url is in fact a json.
Here is the code for NSJSONSerialization
if(geocodeResponseData)
{
…

Spenciefy
- 892
- 11
- 33
3
votes
2 answers
Get Zip Codes within a range in a given Longitude-Latitude
Im working with the google-mapquest mapping API. I need to add some Points of Interest near a certain area from a given latitude-longitude location.
I search the google and mapquest documentation to figure out if there is a method to get all…

Charles
- 696
- 1
- 10
- 19
2
votes
2 answers
Does createRoute method support lat/Lng in Mapquest?
This is a question about Mapquest Android Maps API.
Does anyone know that the createRoute method is supporting lat/Lng or not in mapquest?
public void createRoute(java.lang.String from, java.lang.String to)
The document I found here:
I have read…

Yeny
- 45
- 2
- 4
2
votes
2 answers
How do I correctly zoom to bounds in MapQuest?
I'm attempting to use MQA.TileMap.zoomToRect to set the view-port of a given bounding box.
var cust;
var rect = new MQA.RectLL();
for (var i = 0, len = custs.length; i < len; i++) {
cust = custs[i];
poi = new MQA.Poi({lat:cust.lat,…

Brett Ryan
- 26,937
- 30
- 128
- 163
2
votes
2 answers
mapquest pointing to center the map for a POI in Javascript API
I am using mapquest for adding new locations with following code from Javascript API.
window.map = new MQA.TileMap( /*constructs an instance of MQA.TileMap*/
document.getElementById('map'), /*ID of element on the page where you want…

AjayR
- 4,169
- 4
- 44
- 78
2
votes
1 answer
mapquest not recognized in angular
I am trying to use mapquest for adding a traffic layer in angular . I believe i have included all the scripts needed to run them in index.html
Feel free to share some other way to add traffic using leaflet if you know .
var trafficlayer =…

kaicr
- 25
- 6
2
votes
1 answer
How to display multiple different MapQuest leaflet maps on one single page?
I'm pulling dynamic data from a database to display different maps with different cities and states on one single page.
The problem is that with the code that I have, only one map displays properly.
All the other ones appear grayed-out just like…

Random
- 81
- 7
2
votes
1 answer
validating location submitted by user
I'm building a web app that calls the mapquest Geocoding API to grab the users lat-long position, and then make a second call to another API to return another set of data. The main issue I am having is when I call the mapquest Geocode API the user…

kristopherw2
- 21
- 2
2
votes
1 answer
Capturing latitude and longitude on marker drag in MapQuest
I can't seem to find a way to get the latitude and longitude from existing markers in MapQuest.
I currently set my directions map using:
var map = L.mapquest.map('map', {
center: [selfLatitude, selfLongitude],
layers:…

PaulB
- 1,554
- 2
- 16
- 34
2
votes
0 answers
Display only bicycle mode in MapQuest.js
I am going through the MapQuest.js documentation and essentially i'd like to omit the option for automobiles and replace it with a bicycle.
var map = L.mapquest.map('map', {
center: this.state.center,
layers:…

Antonio Pavicevac-Ortiz
- 7,239
- 17
- 68
- 141
2
votes
1 answer
Calculating distance and duration in mapquest
I am using the code below. I just want to calculate the distance of the optimized routes and total driving duration. Can anyone help me to get this.