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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -