mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Refactoring
This commit is contained in:
parent
de9529ef02
commit
b7f023a99b
@ -93,7 +93,7 @@
|
|||||||
<line stroke="#9fc4e1" stroke-width="1.2"/>
|
<line stroke="#9fc4e1" stroke-width="1.2"/>
|
||||||
<pathText fill="#9fc4e1" font-size="12" font-family="serif" font-style="italic" k="name" stroke="#FFFFFF" stroke-width="1"/>
|
<pathText fill="#9fc4e1" font-size="12" font-family="serif" font-style="italic" k="name" stroke="#FFFFFF" stroke-width="1"/>
|
||||||
<rule e="way" k="*" v="*" zoom-min="12">
|
<rule e="way" k="*" v="*" zoom-min="12">
|
||||||
<lineSymbol src=":/symbols/water-arrow.svg" symbol-width="16" symbol-height="8"/>
|
<lineSymbol src=":/symbols/flow.svg" symbol-width="16" symbol-height="8"/>
|
||||||
</rule>
|
</rule>
|
||||||
</rule>
|
</rule>
|
||||||
<rule e="way" k="waterway" v="stream|drain|ditch">
|
<rule e="way" k="waterway" v="stream|drain|ditch">
|
||||||
@ -106,7 +106,7 @@
|
|||||||
<line stroke="#9fc4e1" stroke-width="0.6"/>
|
<line stroke="#9fc4e1" stroke-width="0.6"/>
|
||||||
<pathText fill="#9fc4e1" font-size="10" font-family="serif" font-style="italic" k="name" stroke="#FFFFFF" stroke-width="1"/>
|
<pathText fill="#9fc4e1" font-size="10" font-family="serif" font-style="italic" k="name" stroke="#FFFFFF" stroke-width="1"/>
|
||||||
<rule e="way" k="name" v="*">
|
<rule e="way" k="name" v="*">
|
||||||
<lineSymbol src=":/symbols/water-arrow.svg" symbol-width="16" symbol-height="8"/>
|
<lineSymbol src=":/symbols/flow.svg" symbol-width="16" symbol-height="8"/>
|
||||||
</rule>
|
</rule>
|
||||||
</rule>
|
</rule>
|
||||||
</rule>
|
</rule>
|
||||||
@ -293,7 +293,7 @@
|
|||||||
<rule e="way" k="*" v="*" zoom-min="15">
|
<rule e="way" k="*" v="*" zoom-min="15">
|
||||||
<pathText fill="#000000" font-size="10" k="name" priority="-7" stroke="#FFFFFF" stroke-width="1"/>
|
<pathText fill="#000000" font-size="10" k="name" priority="-7" stroke="#FFFFFF" stroke-width="1"/>
|
||||||
<rule e="way" k="oneway" v="yes|true|1" zoom-min="16">
|
<rule e="way" k="oneway" v="yes|true|1" zoom-min="16">
|
||||||
<lineSymbol priority="-50" src=":/symbols/arrow.svg" symbol-width="16" symbol-height="8"/>
|
<lineSymbol priority="-50" src=":/symbols/oneway.svg" symbol-width="16" symbol-height="8"/>
|
||||||
</rule>
|
</rule>
|
||||||
</rule>
|
</rule>
|
||||||
</rule>
|
</rule>
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
|
|
||||||
<!-- Common map stuff -->
|
<!-- Common map stuff -->
|
||||||
<qresource prefix="/symbols">
|
<qresource prefix="/symbols">
|
||||||
<file alias="arrow.svg">icons/map/symbols/arrow.svg</file>
|
|
||||||
<file alias="cliff.svg">icons/map/symbols/cliff.svg</file>
|
<file alias="cliff.svg">icons/map/symbols/cliff.svg</file>
|
||||||
<file alias="exit.svg">icons/map/symbols/exit.svg</file>
|
<file alias="exit.svg">icons/map/symbols/exit.svg</file>
|
||||||
<file alias="water-arrow.svg">icons/map/symbols/water-arrow.svg</file>
|
<file alias="flow.svg">icons/map/symbols/flow.svg</file>
|
||||||
|
<file alias="oneway.svg">icons/map/symbols/oneway.svg</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
|
|
||||||
<!-- POIs (IMG, Mapsforge & ENC style) -->
|
<!-- POIs (IMG, Mapsforge & ENC style) -->
|
||||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@ -513,8 +513,8 @@ void RasterTile::render()
|
|||||||
QList<TextItem*> textItems;
|
QList<TextItem*> textItems;
|
||||||
QImage arrows[2];
|
QImage arrows[2];
|
||||||
|
|
||||||
arrows[ROAD] = Util::svg2img(":/symbols/arrow.svg", _ratio);
|
arrows[ROAD] = Util::svg2img(":/symbols/oneway.svg", _ratio);
|
||||||
arrows[WATER] = Util::svg2img(":/symbols/water-arrow.svg", _ratio);
|
arrows[WATER] = Util::svg2img(":/symbols/flow.svg", _ratio);
|
||||||
|
|
||||||
fetchData(polygons, lines, points);
|
fetchData(polygons, lines, points);
|
||||||
ll2xy(polygons);
|
ll2xy(polygons);
|
||||||
|
Loading…
Reference in New Issue
Block a user