Select to view content in your preferred language

KML layer looks different in arcgis vs google map

770
1
07-23-2013 04:51 PM
DamNguyen
Deactivated User
Hi,
I have a KML layer generated from a google map here: http://maps.google.com/maps/ms?ie=UTF8&hl=en&vps=2&jsv=344a&msa=0&output=nl&msid=2099036909162725171...

When used with google map API, it appears normal. When used with esri, there's a band of layer that goes across the map.

[ATTACH=CONFIG]26161[/ATTACH]


This is the code used to add the layer:
var kmlUrl = "http://maps.google.com/maps/ms?ie=UTF8&hl=en&vps=2&jsv=344a&msa=0&output=nl&msid=209903690916272517145.000490409fc924e00e3ee";
var kml = new esri.layers.KMLLayer(kmlUrl); 
map.addLayer(kml);

I was wondering if you guys would have any ideas on what might have caused it. Thanks.
0 Kudos
1 Reply
KenBuja
MVP Esteemed Contributor
If you look at that data in Google Earth, you also get the banding effect. There's a portion of the data that extends past 180° that looks like is what is causing the problem.
0 Kudos