addLayerCache method
dynamic
addLayerCache(
- String key,
- String layerID,
- String sourceID,
- AdFeatureCollection collection,
Implementation
addLayerCache(String key, String layerID, String sourceID,
AdFeatureCollection collection) {
final featureIDs = collection.features.map((e) => e.properties.id).toList();
_cache[key] = CacheInfo(
layerID, sourceID, featureIDs, DateTime.now().millisecondsSinceEpoch);
}