Lines are drawn on top of the map. Lines can not contain other objects.
<lines>
<line x="0%,100%" y="0%,100%" width="2" color="#FF0000"></line>
<line lat="42.657, -7.5845" long="-24.8555, -84.9695" arrow="both" width="1" alpha="50"></line>
</lines>
| x |
Numbers or Numbers% separated by comas |
|
If you want your line to be bounded to the stage, set x and y properties. This means that this line will not move together with the map. To find desired x and y, use developer mode. |
| y |
Numbers or Numbers% separated by comas |
|
| lat |
Numbers separated by comas |
|
If you want your line to be bounded to the map, set lat and long (latitude and longitude) properties. This means that this line will move together with the map. To find desired lat and long, use developer mode. |
| long |
Numbers separated by comas |
|
| width |
Number |
settings.line.width |
Width of your line. 0 - hairline. |
| fixed_size |
true / false |
settings.line.fixed_size |
"true" means that the line arrow will remain the same size when zooming the map. Set this property to false if you want line arrow to resize together with the map. |
| remain |
true / false |
true |
"true" means that this label will remain visible when user clicks on objects in the same level. |
| color |
Hex color code |
settings.line.color |
Line color. If not set, will be equal to line color set in settings file. |
| alpha |
Number |
settings.line.alpha |
Line alpha. If not set, will be equal to line alpha set in settings file. |
| arrow |
end / start / middle / both |
settings.line.arrow |
Arrow position. Do not set this property if you don't want arrow at all. |
| arrow_size |
Number |
settings.line.arrow_size |
Arrow size |
| arrow_color |
Hex color code |
settings.line.arrow_color |
Arrow color |
| arrow_alpha |
Number |
settings.line.arrow_alpha |
Arrow alpha |