[Marble-devel] Review Request: Implement what the KML spec says on placemarks regarding MultiGeometry and icons
Guillaume Martres
smarter at ubuntu.com
Fri Sep 16 11:21:01 UTC 2011
> On Sept. 16, 2011, 11:05 a.m., Dennis Nienhüser wrote:
> > src/lib/geodata/data/GeoDataPlacemark.cpp, line 79
> > <http://git.reviewboard.kde.org/r/102591/diff/1/?file=35972#file35972line79>
> >
> > This looks ugly code-wise. coordinate(bool*) should be coordinate(bool*=0) and deal with the null pointer as "not interested in the result". Then the "bool throwaway" is not needed here.
Good idea, will do.
> On Sept. 16, 2011, 11:05 a.m., Dennis Nienhüser wrote:
> > src/lib/layers/PlacemarkLayout.h, line 122
> > <http://git.reviewboard.kde.org/r/102591/diff/1/?file=35973#file35973line122>
> >
> > "ok" without reading the api docs sounds like "the result is ok, i.e. valid coordinates". This is not very intuitive.
Well, that's the case, kind of. I guess I could put iconAtCoordinates there too, or rename the function placemarkIconCoordinates?
- Guillaume
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102591/#review6557
-----------------------------------------------------------
On Sept. 12, 2011, 6:03 p.m., Guillaume Martres wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102591/
> -----------------------------------------------------------
>
> (Updated Sept. 12, 2011, 6:03 p.m.)
>
>
> Review request for Marble and Thibaut Gridel.
>
>
> Summary
> -------
>
> Implement what the KML spec says on placemarks regarding MultiGeometry and icons
>
> From https://code.google.com/apis/kml/documentation/kmlreference.html#placemark
> "To give the user something to click in the 3D viewer, you would need to
> create a MultiGeometry object that contains both a Point and the other Geometry
> object."
>
>
> Diffs
> -----
>
> src/lib/geodata/data/GeoDataPlacemark.h 46842d7
> src/lib/geodata/data/GeoDataPlacemark.cpp 14634ed
> src/lib/layers/PlacemarkLayout.h bc2ceda
> src/lib/layers/PlacemarkLayout.cpp 34d7b7f
>
> Diff: http://git.reviewboard.kde.org/r/102591/diff
>
>
> Testing
> -------
>
>
> Thanks,
>
> Guillaume
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20110916/4598519a/attachment-0001.html>
More information about the Marble-devel
mailing list