public void RemoveTilesFromLayer(VectorTileFactory factory, LayerVisualizerBase layerVisualizer)
 {
     foreach (KeyValuePair <UnwrappedTileId, UnityTile> tileBundle in _activeTiles)
     {
         factory.UnregisterLayer(tileBundle.Value, layerVisualizer);
     }
     factory.RemoveVectorLayerVisualizer(layerVisualizer);
 }
Пример #2
0
 public void RemoveTilesFromLayer(VectorTileFactory factory, LayerVisualizerBase layerVisualizer)
 {
     foreach (var tileBundle in _activeTiles)
     {
         factory.UnregisterLayer(tileBundle.Value, layerVisualizer);
     }
     factory.RemoveVectorLayerVisualizer(layerVisualizer);
 }