mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-06-26 19:19:16 +02:00
Added BUNSTA objects style
This commit is contained in:
@ -43,6 +43,7 @@
|
||||
#define I_RDOCAL 17017
|
||||
#define I_WTWDIS 17064
|
||||
#define I_CATBRT 17066
|
||||
#define I_CATBUN 17067
|
||||
#define I_HUNITS 17103
|
||||
|
||||
#endif // ENC_ATTRIBUTES_H
|
||||
|
@ -81,9 +81,10 @@ static QMap<uint,uint> orderMapInit()
|
||||
map.insert(TYPE(SLCONS), 40);
|
||||
map.insert(TYPE(LNDMRK), 41);
|
||||
map.insert(TYPE(SILTNK), 42);
|
||||
map.insert(TYPE(LNDELV), 43);
|
||||
map.insert(TYPE(SMCFAC), 44);
|
||||
map.insert(TYPE(BUISGL), 45);
|
||||
map.insert(TYPE(I_BUNSTA), 43);
|
||||
map.insert(TYPE(LNDELV), 44);
|
||||
map.insert(TYPE(SMCFAC), 45);
|
||||
map.insert(TYPE(BUISGL), 46);
|
||||
|
||||
map.insert(TYPE(I_DISMAR), 0xFFFFFFFE);
|
||||
map.insert(TYPE(SOUNDG), 0xFFFFFFFF);
|
||||
@ -373,6 +374,8 @@ MapData::Point::Point(uint type, const Coordinates &c, const Attributes &attr,
|
||||
subtype = I_CATACH;
|
||||
else if (type == MARKUL)
|
||||
subtype = CATMFA;
|
||||
else if (type == I_BUNSTA)
|
||||
subtype = I_CATBUN;
|
||||
|
||||
QList<QByteArray> list(_attr.value(subtype).split(','));
|
||||
std::sort(list.begin(), list.end());
|
||||
|
@ -122,6 +122,7 @@
|
||||
#define I_GATCON 17031
|
||||
#define I_SLCONS 17032
|
||||
#define I_WTWAXS 17051
|
||||
#define I_BUNSTA 17054
|
||||
#define I_TERMNL 17064
|
||||
#define I_TRNBSN 17065
|
||||
#define I_WTWGAG 17067
|
||||
|
@ -435,6 +435,13 @@ void Style::pointStyle(qreal ratio)
|
||||
_points[SUBTYPE(I_RESARE, 22)] = _points[SUBTYPE(RESARE, 22)];
|
||||
_points[SUBTYPE(I_RESARE, 23)] = _points[SUBTYPE(RESARE, 23)];
|
||||
|
||||
_points[SUBTYPE(I_BUNSTA, 1)] = Point(svg2img(":/POI/fuel-11.svg", ratio),
|
||||
Small);
|
||||
_points[SUBTYPE(I_BUNSTA, 2)] = Point(svg2img(":/POI/drinking-water-11.svg",
|
||||
ratio), Small);
|
||||
_points[SUBTYPE(I_BUNSTA, 4)] = Point(svg2img(":/POI/charging-station-11.svg",
|
||||
ratio), Small);
|
||||
|
||||
_points[SUBTYPE(SMCFAC, 7)] = Point(svg2img(":/POI/restaurant-11.svg",
|
||||
ratio), Small);
|
||||
_points[SUBTYPE(SMCFAC, 11)] = Point(svg2img(":/POI/pharmacy-11.svg",
|
||||
@ -443,6 +450,8 @@ void Style::pointStyle(qreal ratio)
|
||||
ratio), Small);
|
||||
_points[SUBTYPE(SMCFAC, 13)] = Point(svg2img(":/POI/fuel-11.svg", ratio),
|
||||
Small);
|
||||
_points[SUBTYPE(SMCFAC, 14)] = Point(svg2img(":/POI/charging-station-11.svg",
|
||||
ratio), Small);
|
||||
_points[SUBTYPE(SMCFAC, 18)] = Point(svg2img(":/POI/toilet-11.svg", ratio),
|
||||
Small);
|
||||
_points[SUBTYPE(SMCFAC, 20)] = Point(svg2img(":/POI/telephone-11.svg",
|
||||
|
Reference in New Issue
Block a user