KML and WebMercator issue

Discussion created by ggohdin on Jul 7, 2013
Latest reply on Jul 8, 2013 by ggohdin
Hi,  Looking for a bit of guidence here.

I have been working with a KML file which displays great but is offset no matter what extent or zoom I am looking at.  I believe it is to do with the MKL being wgs84 and the basemap being WebMercator.
I have tried using the code:
var kmlLayer = new esri.layers.KMLLayer(kUrl, { 
outSR: new esri.SpatialReference({ wkid: 102100 }) 

But cant get it to reproject the KML file.  ANy help would be really appreciated.

Thank you