Вы находитесь на странице: 1из 5

MAP.

XML

2012
15

map.xml ( 15).
#RRGGBB (,
#C0C0C0), : white, black, ltgray, gray, dkgray, red, dkred,
green, dkgreen, blue, dkblue, yellow, dkyellow, cyan, dkcyan, magenta, dkmagenta, brown,
dkbrown.
PNG, .
map version.
(. gui.xml).
:
const . ,
. .
map .

groundColor .
skyColor .
horizonSize .
cursor .

width, height, alt , , .


leftFrontColor, rightFrontColor, leftBackColor, rightBackColor .
edgeColor .
stopColor , .
coarseColor , .
scale .

color .
borderColor .
fontSize ( ).
fontBold (1) (0).
left, right .

.
. %.
minWidth .
route .

goalPic, finishPic, startPic ,

.
road straight
, :
color .
nextColor .
edgeColor .
nextEdgeColor .
pixels, metres (. polyline).
turn ,

:
color .
nextColor .
edgeColor .
nextEdgeColor .
width .
minSegment ( ).
maxBefore ( ).
maxAfter ( ).
,
, minSegment, maxBefore /
maxAfter .
track .

color .
polygons . polygon

. ,
.

type .
( 0x).
, : 0x1200-0x1300,0x1d00,0x2f09,0x4200-0x4300.
color .
fill (1) (0) .
edgeColor 2D- 3D-.
edge (1) (0) 2D-.
edge3D (1) (0) 3D-.
pattern (16x16).
fontSize ( ).
fontBold (1) (0).
fontColor .
fontBorderColor .
hideLabel (0) (1) .
verbal .
guiPicture , (,

).
polygonsSelected . polygons.
-
,
polygons.
polylines . polyline

. ,
.

type .
( 0x).
, : 0x1200-0x1300,0x1d00,0x2f09,0x4200-0x4300.
color .

edgeColor .
edge (1) (0) .
dashColor , .
dotColor , .
pixels, metres /. ,
. pixels pd,

dpi / 96.
fontSize ( ).
fontBold (1) (0).
fontColor .
fontBorderColor .
hideLabel (0) (1) .
verbal .

polylinesSelected . polylines.
-
,
polylines.
pois POI. poi POI

. ,
.
type POI.
( 0x).
, : 0x1200-0x1300,0x1d00,0x2f09,0x4200-0x4300.
picture . .
, picture=shop, shop_1.png
(), shop_2.png (), shop_3.png (). shop_2.png
, shop.png.
guiPicture , (,
). , picture.
picPosition . x;y, x
left, right center, y above, below center.
labelPosition . picPosition.
fontSize ( ).
fontBold (1) (0).
fontColor .
fontBorderColor .
hideLabel (0) (1) .
verbal POI ( ).

speedcams . speedcam
. ,
.
type ( ).
picture . .
, picture=shop, shop_1.png
(), shop_2.png (), shop_3.png (). shop_2.png
, shop.png.

picPosition . x;y, x
left, right center, y above, below center.


15

speedcams.

0.14
route startPic.
0.13
poi polygon guiPicture.
0.12
include, if, ifnot.
0.11
cursor coarseColor.
0.10
( ).
0.09
.
0.08
.