Painting

Geo Controls Drawing Order

Geo draws:

  1. Backgrounds
  2. Foreground layers
  3. Foreground mouse over layers?
  4. Foreground selected layers

Layers control symbology

For CMLayerDataset, the dataset contains the data and is efficient at moving through the data for painting. However, we need to paint regular features, selected features, and mousedown features which needs to happen at the layer level.

Dataset Controls Data

Dataset calls back to layer to do actual painting:

Tiles

Tiles are different because they iterate through their spatial data and paint the data directly to the layer. This means the tiles need to get the style for each feature from the layer, set it, and then paint.