Specifically into NAD83.
Google tells me that KML only supports WGS84, but I can't seem to find much info on being able to reproject KML using ESRI's Javascript API.
Basically, I've got this base map in Nad83 and I need to overlay some kml.
|
Specifically into NAD83. Google tells me that KML only supports WGS84, but I can't seem to find much info on being able to reproject KML using ESRI's Javascript API. Basically, I've got this base map in Nad83 and I need to overlay some kml. |
|||||
|
|
Yes, the ArcGIS API for JavaScript's KMLLayer class relies on a hosted service that converts a KML file to JSON. To re-project, specify an outSR in the constructor options when creating your KML layer. |
|||
|
|
|
No, the js api cannot reproject on the fly. The KML needs to match the base service that you are using. The js api can convert WGS84 geometries to Web Mercator, but that is all it can do. |
|||
|