Skip to content
Permalink
Browse files

Path text: set repeat gap 100 #1112

  • Loading branch information...
devemux86 committed Mar 31, 2019
1 parent 1fd419a commit e684a4b07504a16794db29ee516e20b0673a4334
@@ -16,14 +16,7 @@
*/
package org.mapsforge.map.rendertheme.renderinstruction;

import org.mapsforge.core.graphics.Align;
import org.mapsforge.core.graphics.Color;
import org.mapsforge.core.graphics.Display;
import org.mapsforge.core.graphics.FontFamily;
import org.mapsforge.core.graphics.FontStyle;
import org.mapsforge.core.graphics.GraphicFactory;
import org.mapsforge.core.graphics.Paint;
import org.mapsforge.core.graphics.Style;
import org.mapsforge.core.graphics.*;
import org.mapsforge.map.datastore.PointOfInterest;
import org.mapsforge.map.layer.renderer.PolylineContainer;
import org.mapsforge.map.model.DisplayModel;
@@ -40,7 +33,7 @@
* Represents a text along a polyline on the map.
*/
public class PathText extends RenderInstruction {
private static final float REPEAT_GAP_DEFAULT = 50f;
private static final float REPEAT_GAP_DEFAULT = 100f;
private static final float REPEAT_START_DEFAULT = 10f;

private Display display;
@@ -232,7 +232,7 @@
<xs:attribute name="stroke" default="#000000" type="tns:color" use="optional" />
<xs:attribute name="stroke-width" default="0" type="tns:nonNegativeFloat" use="optional" />
<xs:attribute name="repeat" default="true" type="xs:boolean" use="optional" />
<xs:attribute name="repeat-gap" default="50" type="xs:float" use="optional" />
<xs:attribute name="repeat-gap" default="100" type="xs:float" use="optional" />
<xs:attribute name="repeat-start" default="10" type="xs:float" use="optional" />
<xs:attribute name="rotate" default="true" type="xs:boolean" use="optional" />
</xs:complexType>

0 comments on commit e684a4b

Please sign in to comment.
You can’t perform that action at this time.