libchamplain vala binding, libchamplainAPI and other things
- From: Quikee <quikee gmail com>
- To: libchamplain-list gnome org
- Subject: libchamplain vala binding, libchamplainAPI and other things
- Date: Mon, 12 Oct 2009 20:41:47 +0200
Hi,
I have created libchamplain and libchamplain-gtk binding for vala
which are posted on vala mailing list. Now that I have actually seen
and tried to use the API I have some questions and observations:
Why the separation between a Layer and Polygon? I regard the Layer as
a invisible sheet over the actual map to which I can mark my own this
whatever they are - including a polygons. Actually I think a Polygon
can be seen as a special kind of Layer, which holds special kind of
interconnected points.
This brings me to my next question. Why is a (Base)Marker not a
Point? In my opinion a Marker is just a special kind of a Point with a
custom presentation on a map, but not much different than a plain
Point in a Polygon. In gpx a point can have name and description for
example which would come in handy in such a case.
This is more or less what I had on my mind regarding the API.
Currently I am also working on a parser for GPX files (and also KML
and other formats in future) in vala. I want to make the parser into a
library once but first i want to try and use it in an emerillion
gpx-viewer plugin. My question is it possible to add support to
generate a vapi from the sources which can then used in the vala
written plugin. I am currently struggling with compilation of plugin
which has part written in vala and part written in C but with no
success.
regards, Tomaž
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]