OSMIndoorLayer: add style scaling #355

This commit is contained in:
Emux
2017-06-02 21:54:29 +03:00
parent dce7886447
commit f669022ca3
2 changed files with 11 additions and 5 deletions

View File

@@ -94,7 +94,7 @@ public class JeoIndoorMapActivity extends BaseMapActivity {
VectorDataset data = JeoTest.readGeoJson(is);
Style style = JeoTest.getStyle();
mIndoorLayer = new OSMIndoorLayer(mMap, data, style);
mIndoorLayer = new OSMIndoorLayer(mMap, data, style, getResources().getDisplayMetrics().density);
mMap.layers().add(mIndoorLayer);
showToast("data ready");