Distance.Route doesnt work since today: Error invoking doRoute: null

5 posts / 0 new
Last post
info.73
Distance.Route doesnt work since today: Error invoking doRoute: null

Hello!

 

We using Mapquest.js with L.mapquest.directions to paint a route on the map. Since a few hours we get this error message:

Uncaught (in promise) Error processing request: Error invoking doRoute: Error invoking doRoute: null mapquest.js:10:214150

 

Our script:

<html>

<head>

  <meta charset="utf-8" http-equiv="X-UA-Compatible" content="IE=edge" />

  <title>Karte</title>

  <script src="https://api.mqcdn.com/sdk/mapquest-js/v1.3.1/mapquest.js"></script>

  <link type="text/css" rel="stylesheet" href="https://api.mqcdn.com/sdk/mapquest-js/v1.3.1/mapquest.css"/>

  <script type="text/javascript">

    var map;

    window.onload = function() {

      L.mapquest.key = '____MAPQUESTKEY___';

 

      map = L.mapquest.map('map', {

        zoom: 3,

        center: [52.516181, 13.376935],

        layers: L.mapquest.tileLayer('map'),

        doubleClickZoom: true

      });

 

      map.addControl(L.mapquest.control());

 

      L.mapquest.directions().route({

          locations: [[52.516181, 13.376935],[52.141455, 11.623929]],

          options: {

            unit: 'k',

            routeType: 'fastest',

            narrativeType: 'none',

            destinationManeuverDisplay: false,

            sideOfStreetDisplay: false,

            countryBoundaryDisplay: false,

            stateBoundaryDisplay: false,

            doReverseGeocode: false

          }

        }

      );      

    }

 

  </script>

</head>

<body>

  <div id="map" style="width:100%; height:95%;"></div>

</body>

</html>

     

    Does something changes in the API?


    iwaraich
    Same here

    Hi

    We are also seeinng this issue. We're unable to route at the moment with the same error.


    mapquest.109
    Same here

    Seeing the same issue. Haven't changed anything on our side, so I assume it's a MapQuest outage. Quite a long one, though.


    MQBrianCoakley
    Thanks for the heads up. The
    Thanks for the heads up. The operations and development teams are working on the issue now.

    MQBrianCoakley
    The Directions API is back to
    The Directions API is back to normal and you should not see any more unexpected errors. Sorry for the inconvenience.