JavaScript - Bing Maps - WellKnownText -
i have follow code:
var area = new microsoft.maps.wellknowntext.read(x, { strokecolor: stroke, strokethickness: 10 }); $scope.map.setview({ center: new microsoft.maps.location(lat, lng), zoom: 17 }); $scope.map.entities.push(area);
which should map known text (wkt) string. works fine if have point() other wkt string, shows nothing. i've looked @ msdn example, demonstrates point(), , no matter try, can't other shapes show up.
has been able map shapes through wkt handler?
thanks docmur
Comments
Post a Comment