A
data source is an object that connects a feature iterator,
a renderer, and a map layer.
A data source uses the feature iterator to get global
data information, such as the coordinate system and bounding box,
and the list of map features to parse. Then it uses the renderer to
create graphic objects. Finally, it uses the layer to manage the order
and style of those objects.
In class terms, a data source is a class that connects
an
IlvMapReusableFeatureIterator, an
IlvFeatureRenderer and an
IlvMapLayer. It uses the
iterator
object
to get global data information, such as the coordinate system and
bounding box, and the list of
IlvMapFeature
objects
to parse. Then it uses the
renderer
object
to create graphic objects. Finally it uses the
layer
object
to manage the order and style of the graphic objects.