[Marble-devel] Re: Review Request: Move PlacemarkLayout to LayerManager infrastructure

Thibaut Gridel tgridel at free.fr
Sun Jul 3 22:35:02 CEST 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101842/#review4357
-----------------------------------------------------------

Ship it!


looks good, moves the responsibility of properties to the MarbleMap which seems a good thing.

- Thibaut


On July 3, 2011, 5:07 p.m., Bernhard Beschow wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101842/
> -----------------------------------------------------------
> 
> (Updated July 3, 2011, 5:07 p.m.)
> 
> 
> Review request for Marble and Thibaut Gridel.
> 
> 
> Summary
> -------
> 
> This patch makes PlacemarkLayout implement LayerInterface, such that it can be rendered as part of the LayerManager infrastructure.
> 
> Due to LayerInterface::render() taking a ViewportParams instead of a ViewParams argument, determining the visibility of placemarks is now performed in MarbleMap rather than in PlacemarkLayout. Since PlacemarkLayout now holds the visibility state of placemarks, it becomes independent of any GeoScene* classes, which should make it more robust w.r.t. dereferencing GeoSceneDocument *, which may be 0.
> 
> 
> Diffs
> -----
> 
>   src/lib/MarbleMap.h edbd2b0 
>   src/lib/MarbleMap.cpp f641c16 
>   src/lib/PlacemarkLayout.h 4b8c570 
>   src/lib/PlacemarkLayout.cpp b5f0819 
> 
> Diff: http://git.reviewboard.kde.org/r/101842/diff
> 
> 
> Testing
> -------
> 
> Tested with Plain Map toggling placemark visibility in the legend.
> 
> 
> Thanks,
> 
> Bernhard
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/marble-devel/attachments/20110703/fb6f3e3f/attachment.htm 


More information about the Marble-devel mailing list