StoreDirectory
marked as @internal
#76
-
Hello dear developers! I create a TileLayer using the method below.
It works, but it bothers me that it complains about: Why is StoreDirectory internally annotated? Tank you, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @sirkalmi, Please make sure you have read the entire documentation. It looks like you may be trying to use FMTC like it was pre v5 - if so, you'll need to upgrade fully. If not:
Note that this is similar (in the way of misunderstanding) to the original issue in discussion #29, although you spotted the 'internal' warning and he didn't. If you need more help, please ask under this comment, and I'll be happy to assist :) |
Beta Was this translation helpful? Give feedback.
Hi @sirkalmi,
Please make sure you have read the entire documentation. It looks like you may be trying to use FMTC like it was pre v5 - if so, you'll need to upgrade fully. If not:
FMTCTileProvider
andStoreDirectory
should not be accessed through their respective objects - they are marked with an@internal
annotation to warn against this. Instead, follow both sections at https://fmtc.jaffaketchup.dev/usage/roots-and-stores.The purpose of this is to simplify usage to the 'chains' described on that page, whilst allowing flexibility within this project and for advanced devs that may be taking FMTC to the max.
Note that this is similar (in the way of misunderstanding) to the original issue …