forked from organicmaps/organicmaps
Fixed rules order
This commit is contained in:
parent
3411cb1bd4
commit
2772ae846b
4 changed files with 52 additions and 51 deletions
50
data/styles/include/base_defaults.mapcss
Normal file
50
data/styles/include/base_defaults.mapcss
Normal file
|
@ -0,0 +1,50 @@
|
|||
way::*
|
||||
{
|
||||
linejoin: round;
|
||||
linecap: round;
|
||||
text-position: line;
|
||||
}
|
||||
|
||||
*::*
|
||||
{
|
||||
text-halo-color: @white;
|
||||
text-anchor-horizontal: center;
|
||||
text-anchor-vertical: center;
|
||||
icon-width: 16;
|
||||
icon-height: 16;
|
||||
}
|
||||
|
||||
*::int_name
|
||||
{
|
||||
text-offset: 20;
|
||||
}
|
||||
|
||||
node::* {
|
||||
text-anchor-vertical: top;
|
||||
}
|
||||
|
||||
area::* {
|
||||
text-position: center;
|
||||
text-anchor-vertical: center;
|
||||
}
|
||||
|
||||
|
||||
*[amenity],
|
||||
*[office],
|
||||
*[historic],
|
||||
*[tourism],
|
||||
*[leisure],
|
||||
*[man_made],
|
||||
*[natural],
|
||||
*[power],
|
||||
*[landuse],
|
||||
*[craft],
|
||||
*[internet_access],
|
||||
{
|
||||
text-position: center
|
||||
}
|
||||
area[aeroway],
|
||||
area[tourism]
|
||||
{
|
||||
fill-position: background;
|
||||
}
|
|
@ -1,54 +1,3 @@
|
|||
way::*
|
||||
{
|
||||
linejoin: round;
|
||||
linecap: round;
|
||||
text-position: line;
|
||||
}
|
||||
|
||||
*::*
|
||||
{
|
||||
text-halo-color: @white;
|
||||
text-anchor-horizontal: center;
|
||||
text-anchor-vertical: center;
|
||||
icon-width: 16;
|
||||
icon-height: 16;
|
||||
}
|
||||
|
||||
*::int_name
|
||||
{
|
||||
text-offset: 20;
|
||||
}
|
||||
|
||||
node::* {
|
||||
text-anchor-vertical: top;
|
||||
}
|
||||
|
||||
area::* {
|
||||
text-position: center;
|
||||
text-anchor-vertical: center;
|
||||
}
|
||||
|
||||
|
||||
*[amenity],
|
||||
*[office],
|
||||
*[historic],
|
||||
*[tourism],
|
||||
*[leisure],
|
||||
*[man_made],
|
||||
*[natural],
|
||||
*[power],
|
||||
*[landuse],
|
||||
*[craft],
|
||||
*[internet_access],
|
||||
{
|
||||
text-position: center
|
||||
}
|
||||
area[aeroway],
|
||||
area[tourism]
|
||||
{
|
||||
fill-position: background;
|
||||
}
|
||||
|
||||
line[highway=motorway_junction]
|
||||
{
|
||||
casing-width: 0;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
@import("colors_dark.mapcss");
|
||||
@import("include/base_defaults.mapcss");
|
||||
@import("include/base_roads.mapcss");
|
||||
/* @import("include/base_roads_UK.mapcss"); */
|
||||
@import("include/base_shop.mapcss");
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
@import("colors_light.mapcss");
|
||||
@import("include/base_defaults.mapcss");
|
||||
@import("include/base_roads.mapcss");
|
||||
/* @import("include/base_roads_UK.mapcss"); */
|
||||
@import("include/base_shop.mapcss");
|
||||
|
|
Loading…
Add table
Reference in a new issue