Hi all
Can anyone say whether the "VectorTileLayer" can deal with kml/kmz file like the "esri/layers/KMLLayer" at the "http://js.arcgis.com/3.14/" version ?
KMLLayer is not being removed, but it's not yet implemented.
I meant to say that it is not present in API docs yet
Just because the 4.0 beta 2 does not currently support KMLLayer does not necessarily mean that it is being removed. Perhaps someone at Esri can confirm whether KMLLayer has been removed or if it just hasn't been implemented in 4.0 yet.
This is an example of KMZ file - publicly accessible on the internet
I edit it by the GOOGLE EARTH utilitys
https://sites.google.com/site/yoavhermoni/italy/ItalyTrackDay4.kmz
Do you belive ther is a way to show it on the 4.0 beta jsapi ?
There is no "esri/layers/KMLLayer" class in 4.0 Beta 2. You can try KML | ArcGIS API for JavaScript for 3.14.
According to the documentation
The KMLLayer uses a utility service from ArcGIS.com, therefore your kml/kmz must be publicly accessible on the internet. If your kml/kmz files are behind the firewall you will need to set the <A href="https://developers.arcgis.com/javascript/jshelp/inside_defaults.html" style="color: #00629b;" rel="nofollow noopener noreferrer">esriConfig.defaults.kmlService</A>
<A href="https://developers.arcgis.com/javascript/jshelp/inside_defaults.html" style="color: #00629b;" rel="nofollow noopener noreferrer">esriConfig.defaults.kmlService</A>
to your own utility service. (Requires Portal for ArcGIS).
Hope it would clarified all.
Hi Abdul thank you and shukran
I have got the kml/kmz files ready , and i'm just need to show them on the Esri map. Do you have any Practical Suggestion how to show them Dynamically by Javascript on the 4/0 beta Jsapi
IMHO it is negative.
"esri/layers/KMLLayer" itself is complex and requires ArcGIS Portal trip to decode KML.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.