Select to view content in your preferred language

KML conversion for Webmecator (Bing in VETiledLayer)

1657
1
05-23-2012 10:02 AM
by Anonymous User
Not applicable
Original User: rgomide

Hi,

I have a simple problem about load a kml file and create the polygons manually. When I load a kml file and take this coordinates, I create a new polygon coverting this points using "geographicToWebMercator" method.

var point:MapPoint = new MapPoint(x, y, new SpatialReference(4326));
point = MapPoint(WebMercatorUtil.geographicToWebMercator(point));
x = point.x;
y = point.y;


But the polygon seems stretched horizontally.

I attach the KML used in my sample the images in Google Earth (where KML is produced) and as it is loaded in my application.
0 Kudos
1 Reply
by Anonymous User
Not applicable
Original User: rgomide

any suggestion?
0 Kudos