Questions tagged [mapquest]

The MapQuest APIs allow developers to add mapping, geocoding, routing, searching, and other functions to the applications quickly and easily.

313 questions
1
vote
1 answer

MapQuest direction api returning too few points

I'm using the MapQuest directions API for one of my projects and drawing the result with MapBox (I have to use both because MapQuest has options that MapBox doesn't have), but it seems that it returns too few points to draw an accurate route. As…
1
vote
1 answer

Javascript, passing string of addresses to MapQuest API NOT working

I'm dynamically passing a list of addresses, to a string variable and want to plot them on a map using MapQuest API. However when I pass those addresses to my function I'm getting an error. mq-routing.js?key=jP…M0C6qxa2BKpuAhqZ:44 Uncaught…
1
vote
0 answers

changing symbol option only in MapQuest/Leaflet

Using MapQuest, I want to create a flag with the same colour/size options, but different texts (symbol option) for different locations. In the js function I have: var iconA = L.mapquest.icons.flag( { primaryColor: '#2240fF', …
Richard Hainsworth
  • 1,585
  • 7
  • 9
1
vote
1 answer

When does mapquest route finish rendering?

I am using MapQuest map with leaflet. The routes are being injected dynamically. When we add routes to the map, it takes time to finish the rendering. I want to block the screen while the map is being rendered. Is there any way(mapquest API or…
Sandeep Kumar
  • 2,397
  • 5
  • 30
  • 37
1
vote
1 answer

How to integrate own tile server on top of MapQuest?

I need to replace MapQuest's map with my tile server URL which looks like http://tile.openstreetmap.org/{z}/{x}/{y}.png by keeping the controls as it is Eg: Marker & Polygon. I followed this link and couldn't find a source to my problem. The below…
Himagaran
  • 312
  • 2
  • 14
1
vote
1 answer

leaflet integration with openweathermap api

Kindly check my output here Can anybody here help me out with some good tutorial or ways to integrate openweathermap api with leaflet mapquest api. I read on owm website that both are compatible and can work together. Any help will be appreciated.…
Ahsan
  • 33
  • 8
1
vote
1 answer

Mapquest API key not recognized

I signed up for the Mapquest API service, and I am now testing my application, using PHP. Under Manage Keys, I created a new key, and Mapquest gave me: Consumer Key Consumer Secret I clicked on Approve All Keys I looked up the documentation for…
EastsideDev
  • 6,257
  • 9
  • 59
  • 116
1
vote
0 answers

Mapsquest geocoding api

I am using maps quest geocoding api to search for zip codes via geocode address api. Request part looks like this: $ch = curl_init(); // curl_setopt($ch, CURLOPT_ENCODING, 'UTF-8'); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Accept:…
megagosha
  • 23
  • 1
  • 4
1
vote
1 answer

Route optimization with more than 25 stops using MapQuest API

So, I have a service, which as one of its features allows my clients to optimize their driving routes for the day. Normally, they only have a dozen or so stops before returning to base, so I just use the MapQuest API (paid) which has an optimize…
user2020111
  • 111
  • 4
1
vote
0 answers

OpenLayers 3 MapQuest Tiles

As of today, July 11th 2016 MapQuest has blocked direct access to there tiles. Is there a good alternative for projection EPSG:4326?
Funn_Bobby
  • 647
  • 1
  • 20
  • 57
1
vote
1 answer

getPixelFromCoordinate returning null

In my app I added a mapquest layer with open layers 3, drawed points and lines... Now i need to know the pixel coordinates from a long/lat point in the map (visible area) using map.getPixelFromCoordinate(coordinate). this function always returns…
papalagui
  • 11
  • 3
1
vote
1 answer

Satellite layer for OpenLayers 3 (except Google)

I am looking for a satellite layer (except Google) which runs with OpenLayers 3. According to the examples, it should be possible to connect OL3 with Bing satellite, MapQuest satellite or OSM satellite. However, the provided examples do not work…
Gigelicious
  • 118
  • 1
  • 10
1
vote
2 answers

Mapquest route matrix response

Hi I am using mapquest api to show the distance from source to destination in app Problem: I am sending below request to mapquest to get the distance { "locations":[ "40.2336,-111.6475", "33.621227,-111.917229","30.688181,76.706238"], "options":{…
alwaysLearn
  • 6,882
  • 7
  • 39
  • 67
1
vote
0 answers

Code Exceeds JS Function Boundaries and Fires Instantly

The following code is in a javascript function within a file called maplocation.js that is supposed to fire only on a button click but instead it fires automatically when the page loads for the first time. The code does not wait for the button click…
Nate
  • 2,044
  • 4
  • 23
  • 47
1
vote
2 answers

geopy openmapquest for Python throws GeocoderInsufficientPrivileges error

I am running the following: import geopy geolocator = geopy.geocoders.OpenMapQuest(api_key='my_key_here') location1 = geolocator.geocode('Madrid') where my_key_here is my consumer key for mapquest, and I get the following…
Escachator
  • 1,742
  • 1
  • 16
  • 32