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
2
votes
2 answers

Want to have on button click

Hi I am trying to find the distance between 2 location on MapQuest. I have a function MQA.EventUtil.observe(window, 'load', function() This function is loaded on the page load but i want it to be on a button click. Can anybody suggest me what…
AnuRaj
  • 233
  • 2
  • 5
  • 14
1
vote
1 answer

Get route points on Android using mapquest

I'm using mapquest java library for Android. Actualy I have simple android application with map and I can determine route between two locations. The thing I need to do is to get geopoints of this route. The code below is from samples of…
suleks
  • 13
  • 4
1
vote
5 answers

Parsing JSON returned from ASP.Net in Javascript

I am trying to map the coordinates of the following JSON text on a Mapquest Map by calling an ASP.net method that returns this string, but I am unable to figure out how to extract the latitude and longitude from it. …
DevIntern
  • 225
  • 2
  • 4
  • 17
1
vote
1 answer

How to integrate the Flash Map Api on my iPhone application

i have downloaded the MQFlashMapsAPI here, it's an .swc file, i don't know how to get started with that exciting API in my application, can you please forward me to some useful links showing how to integrate it and how to get started in my iPhone…
Malloc
  • 15,434
  • 34
  • 105
  • 192
1
vote
1 answer

Is there a maps API that will show closest residential locations? (google places?)

I have a mobile app where I need try and predictably guess which residential location the user is standing in front of. (Not businesses) I see the google places api, but it doesn't look like it does…
b-ryce
  • 5,752
  • 7
  • 49
  • 79
1
vote
0 answers

Mapquest Drections Optimized Route API Problems

We use Mapquest's directions API in order to obtain optimized routes. It has been found today, although this may have been going on longer, that our application to obtain these optimized routes no longer works. Our GET requests have been working for…
1
vote
1 answer

is it possible to get multiple results sorted by best match?

I need the mapquest geocoding API to return multiple results that best match an incomplete or incorrect address. Is that possible or the API can only return one single result that is correct or not?
Cris
  • 2,824
  • 24
  • 23
1
vote
1 answer

How do I get a reference to a mapquest map from outside the script where it's defined?

I'm maintaining some code that involves the mapquest map API. There's a javascript init() function which has this line: map = new MQA.TileMap(document.getElementById('map'),6,{lat:34, lng:-118},'hyb'); which sets up the map in a down the page…
Tneuktippa
  • 1,645
  • 3
  • 15
  • 25
1
vote
1 answer

How to render directions coordinates in react-native-maps using mapquest coordinates data?

I am trying to render directions polyline on map using coordinates from MapQuest REST API but I get the polyline not showing on top of road exatctly. Rather its showing a different output. I want to draw the polyline on top of the road exactly. I am…
1
vote
0 answers

How to show a Custom Total instead of Cluster Count inside iconCreateFunction

I want to show total number of members inside Cluster Group. Currently it shows Total number of Clusters inside a group. For example, this example shows 15 inside a circle. Whereas i want to show the total sum of 3rd parameter of this array…
user2955412
  • 227
  • 3
  • 10
1
vote
0 answers

NativeScript plugin: unable to create instance of MQMapView (MapQuest)

I am creating a custom plugin for Mapquest. But got stuck with instance for MQMapView. I tried to create instance using approach 1 console.log("map init " + MQMapView.new ); let mapview = MQMapView.new(); console.log("map object" +…
1
vote
1 answer

mapquest.js new route showing as a waypoint

I am attempting to use mapquest.js to show directions on a map for multiple predesignated locations. The map loads fine and clicking a button to see a route works as expected. However, when i click a second destination, it simply shows that…
user2672332
  • 55
  • 1
  • 8
1
vote
0 answers

Is there any way to identify why google map API is detecting wrong address?

To calculate road distance I have used Google Map Distance Matrix API. For some addresses, wrong distance is return. To identify the issue, I have directly verified the address on google map. but Google Map API, Google Maps & Google Search are…
1
vote
0 answers

Use mapquest api into DIV inside of DIV html

I'm new in mapquest, i want to create a web page where we can see a map. My example work's fine if i use a single "div", but if i use a "div" inside a "div", the maps don't loads compleatly. working sample:
1
vote
1 answer

Is there a way to return a full formatted address using map quest api?

I'm using MapQuest's GeoCoding API for a weather app I'm creating (this is due to having many complications using google's API), and the response returns each aspect of the address as a separate value, however unlike Google's API, there does not…
Sam
  • 21
  • 4