Esri / arcgis-maps-sdk-swift

Swift Package Manager support for ArcGIS Maps SDK for Swift
https://developers.arcgis.com/swift
Other
20 stars 1 forks source link

Multiple Layer classes should be set open not public #10

Closed and01 closed 1 year ago

and01 commented 1 year ago

In the documentation for ImageTiledLayer it says A base class for layers that display cached maps. You would typically work with one or more sub-classes of this class. How can one subclass an ImageTiledLayer when it is not set open but rather public? Am I missing something here?

zkline101 commented 1 year ago

Hi @and01, thanks for the question. It seems like we could tweak that documentation to better describe the expected behavior. You are correct, you cannot subclass ImageTiledLayer. Instead, you would create a custom tiled layer using CustomTiledLayer. Let me know if you have any more questions.