routing support modules for Javascript API

2 posts / 0 new
Last post
30362
routing support modules for Javascript API

How can i download routing support modules prior to use with the MQA.withModule, was not able to find on site.


MQBrianCoakley
You can use the old route
You can use the old route module like this MQA.withModule('directions',function(){     map.addRoute([         {latLng: {lat:40.735383, lng:-73.984655}},         {latLng: {lat:40.765416, lng:-73.985386}}     ]); });   But keep in mind that the documentation has been removed because that sdk is being deprecated. MapQuest now offers tile, geocode, and directions plugins for Leaflet. These are current and documented. Any new functionality should be built on these tools rather than the old ones.