LocationIndicatorLayer tests

This commit is contained in:
Łukasz Paczos
2020-04-14 16:32:53 +02:00
parent dbaad6312b
commit 7364dd0282
11 changed files with 484 additions and 35 deletions

View File

@@ -117,7 +117,16 @@ class LayerSourceProvider {
return new HashSet<>();
}
LocationIndicatorLayer generateLocationComponentLayer() {
LocationLayerRenderer getSymbolLocationLayerRenderer(LayerFeatureProvider featureProvider,
boolean isStale) {
return new SymbolLocationLayerRenderer(this, featureProvider, isStale);
}
LocationLayerRenderer getIndicatorLocationLayerRenderer() {
return new IndicatorLocationLayerRenderer(this);
}
Layer generateLocationComponentLayer() {
LocationIndicatorLayer layer = new LocationIndicatorLayer(FOREGROUND_LAYER);
layer.setProperties(
LocationPropertyFactory.perspectiveCompensation(0.9f),