none
Around the world polyline RRS feed

  • Question

  • http://screencast.com/t/2hn2cjxSh

     

    Is it possible to avoid the "breaking" of a polyline (check the video for sample of problem) ?

     

    this in ONE polyline, outputed by

            var poly_array = new Array();
            for(var i in path) {
                poly_array.push(new MM.Location(path[i]["lat"], path[i]["lon"]));
            }
           
            var polyline = new MM.Polyline(poly_array,options);

            map.entities.push(polyline);

     

    pushpins are ouputed in the same loop with some new MM.Pushpin

     

    Thanks for help, yours :)

     

    • Moved by Ricky_Brundritt Saturday, March 10, 2012 12:36 PM (From:Bing Maps: Map Control and Web services Development)
    Tuesday, January 3, 2012 3:53 PM

Answers

  • Looking at your video I notice that the Bing logo, scalebar and copyright information. This looks like there might be part of your map that's cut off. Make sure that you have set the position property on your map and that you are using the proper doctype and metatag. If you are still seeing this issue can you provide code that reproduces this issue.
    http://rbrundritt.wordpress.com
    Friday, January 6, 2012 10:08 AM