Generic interface for rendering tiles. Implementations of this interface are mainly used in the different rendering strategies. Some may choose to create an image such as a PNG from a tile, while other will create SVG, or perhaps even VML.
Anyway, what's important here is the timing! You may notice that this interface has only one function. This function takes in a RenderedTile
as parameter and also returns one. The idea here is that implementations of this interface add a rendered result to this tile. This result can be either SVG, VML or an image.
Now back to the timing thing: the tile you get as parameters here, should already contain InternalFeature
objects. Usually it will come from a TiledFeaturePainter
, which is used in almost all rendering strategies as feature painter.
|
|