This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HARP-12677: Extract PoiRenderer from TextCanvas (#1994)
* HARP-12677: Extract PoiRenderer from TextCanvas * Makes PoiRenderer independent from TextCanvas * PoiRenderer renders on its own * Icons can be rendered even if no FontCatalog is availble Signed-off-by: Frauke Fritz <frauke.fritz@here.com> * HARP-12677: Supports interleaved renderOrders between Icons and Text * PoiRenderer supports callback between layers * TextCanvas supports rendering of layers inside a scope Signed-off-by: Frauke Fritz <frauke.fritz@here.com> * HARP-12677: Removes obsolete PoiRendererFactory Signed-off-by: Frauke Fritz <frauke.fritz@here.com> * HARP-12677: Adress Review Comments Signed-off-by: Frauke Fritz <frauke.fritz@here.com> * HARP-12677: Removes Obsolete ScreenSpaceRenderer Signed-off-by: Frauke Fritz <frauke.fritz@here.com> * HARP-12677: Removes conditionals from always available PoiRenderer and TextCanvas Signed-off-by: Frauke Fritz <frauke.fritz@here.com> * HARP-12677: Removes obsolete reference to PoiRenderer from TextStyleCache Signed-off-by: Frauke Fritz <frauke.fritz@here.com> * HARP-12677: Cleans up PoiRenderer dependencies * PoiRenderer passes PoiLayer to PoiBuffer instead of the whole instance * Removes MapView Dependency, and passes only needed information instead Signed-off-by: Frauke Fritz <frauke.fritz@here.com> * HARP-12677: Moves Poi renderloop to TextElementsRenderer Signed-off-by: Frauke Fritz <frauke.fritz@here.com> * HARP-12677: Fixes findImageItem, broked due to previoues refactor Change-Id: I16eea8ce448f8f172351afd4f1fbd3efb3162b9b Signed-off-by: Frauke Fritz <frauke.fritz@here.com> * HARP-12677, HARP-12687: Fixes Icons getting lost after theme update, furter cleanup in PoiRenderer * PoiRenderer only creates new layer on actual Buffer generation * PoiInfos with already created buffers from a former PoiRenderer are handled * MapView contains one PoiRenderer which is reset instead of recreated on theme change * Fixes issue introduced to TextStyleCache not being able to access config name of FontCatalog Signed-off-by: Frauke Fritz <frauke.fritz@here.com> * HARP-12677: Adresses latest review comments Signed-off-by: Frauke Fritz <frauke.fritz@here.com> * HARP-12677, HARP-12687: Fixes Icons getting lost after theme update, furter cleanup in PoiRenderer * PoiRenderer only creates new layer on actual Buffer generation * PoiInfos with already created buffers from a former PoiRenderer are handled * MapView contains one PoiRenderer which is reset instead of recreated on theme change * Fixes issue introduced to TextStyleCache not being able to access config name of FontCatalog Change-Id: Ie4b961b37904d10940d76ec2ae62e3eb282bcb58 Signed-off-by: Frauke Fritz <frauke.fritz@here.com>
- Loading branch information