ArcGIS Pro supports adding XYZ tile layers (TMS) using the "Add Data From Path" button. Is there a way to add data from URL programmatically without clicking the button? I am developing a plugin that can allow users to add XYZ tile layers programmatically by code in the ArcGIS Notebook. Note that the tile layer URL is generated dynamically. It is inconvenient to click the Add Data From URL button every time.
Problem solved. Found the m.addDataFromPath(url) function.
Here is what I tried, but it does not work.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.