Height offset in render styles, close #368
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright 2012 osmdroid authors: Viesturs Zarins, Martin Pearman
|
||||
* Copyright 2012 Hannes Janetzek
|
||||
* Copyright 2016 devemux86
|
||||
* Copyright 2016-2017 devemux86
|
||||
* Copyright 2016 Pedinel
|
||||
*
|
||||
* This file is part of the OpenScienceMap project (http://www.opensciencemap.org).
|
||||
@@ -50,6 +50,7 @@ public class PathLayer extends VectorLayer {
|
||||
|
||||
public PathLayer(Map map, int lineColor, float lineWidth) {
|
||||
this(map, Style.builder()
|
||||
.fixed(true)
|
||||
.strokeColor(lineColor)
|
||||
.strokeWidth(lineWidth)
|
||||
.build());
|
||||
|
||||
Reference in New Issue
Block a user