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.
Solved! Go to Solution.
Problem solved. Found the m.addDataFromPath(url) function.
Here is what I tried, but it does not work.
Problem solved. Found the m.addDataFromPath(url) function.