MapQuest API URL to display map

9 posts / 0 new
Last post
ahmedm1
MapQuest API URL to display map

We recently saw some issues using the below URL to render mapquest map in our application .  While loading in the browser it says MQA Not defined 

http://www.mapquestapi.com/sdk/js/v7.2.s/mqa.toolkit.js?key=YOUR-KEY-GOE...

did the url change from 

https://www.mapquestapi.com/sdk/js/v7.0.s/mqa.toolkit.js?key=

to

http://open.mapquestapi.com/sdk/js/v7.2.s/mqa.toolkit.js?key=

What URL should we use going forward?kindly please assist us.


MQBrianCoakley
The MapQuest JavaScript api
The MapQuest JavaScript api v7 was sunset earlier this year and is no longer supported. We recommend using MapQuest.js going forward.

ahmedm1
Just to give you some more

Just to give you some more details. We  are using Enterprise edition and  our web app is  rendering the maps in the browsers,  we dont have mobile apps only browser based web application. I understand that we should not use https://www.mapquestapi.com/sdk/js/v7.0.s/  instead use the 

https://api.mqcdn.com/sdk/mapquest-js/v1.3.2/mapquest-maps.js

the reason is " as mentioned in the URl https://developer.mapquest.com/forum/why-mapquestjs"

 

 


MQBrianCoakley
It looks like your account
It looks like your account has not been on Enterprise Edition since 2/24/17. There have been some issues with the unsupported sdk that have since been resolved. If you're still seeing the MQA error, make sure the sdk is downloading successfully. 

ahmedm1
when i run this http://www

when i run this http://www.mapquestapi.com/sdk/js/v7.2.s/mqa.toolkit.js?key=YOUR-KEY-GOE... link with the Key  in the browser ,it should download a javascript ,but it redirects to another documentation page https://developer.mapquest.com/documentation/,so sdk javascript is not downloaded ,can you point us to the new url


ahmedm1
https://www.mapquestapi.com

https://www.mapquestapi.com/sdk/js/v7.0.s/mqa.toolkit.js?key

instead if i use this  url ,i see the javascript is downloaded properly . i think v7.0.s is not working v7.1.s and v7.2.s is giving us javscript sdk download .can we use this version

https://www.mapquestapi.com/sdk/js/v7.1.s/mqa.toolkit.js?key

or

https://www.mapquestapi.com/sdk/js/v7.2.s/mqa.toolkit.js?key

 


MQBrianCoakley
They all seem to be working

They all seem to be working as expected for my key. Are you still seeing this issue?

 

This sdk is no longer supported so if the sdk comes back, it will be low priority to restore.


ahmedm1
https://www.mapquestapi.com

https://www.mapquestapi.com/sdk/js/v7.0.s/mqa.toolkit.js?key=   //  not working and redirection to another page .javascript sdk download not happening and issue is here. we get MQA object not defined.

https://www.mapquestapi.com/sdk/js/v7.1.s/mqa.toolkit.js?key= // working and i see javascript sdk downloaded 

https://www.mapquestapi.com/sdk/js/v7.2.s/mqa.toolkit.js?key= // working and i see javascript sdk downloaded 

if these sdks are not supported, wha sdk should we be using the ,can you point to a sdk url or any example.

 


MQBrianCoakley
MapQuest.js is the current
MapQuest.js is the current JavaScript mapping sdk.