Elevation for 'short routes' RRS feed

  • Question

  • Hi,

    i use the Service at


    to get the Elevation data along a route and generate an Elevation Profile for this route. If the route is Long enough ( > 20 km), there is no Problem. But with 'shorter routes' i get no result!!

    I try this with 'List' and 'Polyline' like this:


                url: elevationServiceURL,

                data: {

                    //Encode the location array as required by the elevation service.

                    points: Microsoft.Maps.PointCompression.encode(locs),



                    key: sessionKey,


                dataType: "jsonp",

                jsonp: "jsonp",

                context: this,

                success: function(data) {

                    if(data != null&&data.resourceSets && data.resourceSets.length > 0 && data.resourceSets[0].resources &&

                            data.resourceSets[0].resources.length > 0) {

                                        varelevations = data.resourceSets[0].resources[0].elevations;

                                        //alert('Daten: ' + elevations.length);

                                       createElevationProfile(distances, elevations);




                        "d_Elevation").innerHTML = "<span style='color: #ffffff;'><p>&nbsp;</p><p>Fehler </p><p>&nbsp;</p></span>";



    I get no error!

    Is this a known Problem? Only in Germany? Any solution?




    Monday, February 5, 2018 5:31 PM


  • There is not work around for this issue and no timeline to fix this issue. The elevation service is not commonly used. 

    [Blog] [twitter] [LinkedIn]

    • Proposed as answer by Ricky_Brundritt Thursday, February 8, 2018 4:40 PM
    • Marked as answer by Pagehl Thursday, February 8, 2018 4:41 PM
    Thursday, February 8, 2018 4:40 PM

All replies