Hi,
This morning I finished the new API additions I've been keeping aside
for a week.
Here are the new additions:
* ChamplainMapSource: a GObject representing a source of map data
* ChamplainNetworkMapSource: a GObject map source
specialized in network map sources (such as
OpenStreetMap)
* ChamplainView:map-source now accepts ChamplainMapSource objects
and the ChamplainMapSource enum is gone.
* ChamplainView:offline is not in ChamplainNetworkMapSource
* Proxy support is available in ChamplainNetworkMapSource
* ChamplainZoomLevel: a GObject representing a zoom level, holding
references to the ChamplainTiles of a level (this object might
die before the release of 0.4)
* Some internal variables have changed place such as the anchor
that used to be in the ZoomLevel, it now resides in View as it
is view specific
* Numerous code style fixes, especially in ChamplainView
All in all, I think this is a great clean-up. Plus, it allows much more
flexibility: an embedding application can now define it's own map
sources! Also, it is now possible to know the maximum zoom-level
accepted by map sources. This solves a lot of bugs :)
As usual, comments greatly accepted. Nothing is fixed until a
release :)
Pierre-Luc
Attachment:
signature.asc
Description: This is a digitally signed message part