Select to view content in your preferred language

Load KML and KMZ locally

662
0
06-05-2022 10:37 AM
JGraca
by
New Contributor

Hi.

I would like to know how to load KML and KMZ files without having to convert to geoJSON because when converting to geoJSON, the polygon don't get the correct color and are converted to a single polygon, some of the polygons don't load at all, the popups don't appear with the graphic.

I already followed this guide: https://community.esri.com/t5/arcgis-api-for-javascript-questions/display-kml-file-in-4-x-api/td-p/3...

Is it possible to use Google service to locally load KML and KMZ or do I need to use GIS services? Or do you have another suggestion?

Using https://www.npmjs.com/package/@arcgis/core.

0 Kudos
0 Replies