mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
Compare commits
1 Commits
6a20269819
...
yannikblos
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9926b97fc0 |
@@ -658,9 +658,9 @@ node|z17-[building]::int_name,
|
||||
Housenumbers and main captions are displaced independently (e.g. a housenumber will stay if a building name is displaced),
|
||||
but are bound to icons (e.g. a housenumber will disappear if a parent icon is displaced).
|
||||
*/
|
||||
node|z16-[addr:housenumber][addr:street],
|
||||
node|z17-[addr:housenumber][addr:street],
|
||||
{text: name; text-color: @housenumber; text-position: center;}
|
||||
node|z16-[addr:housenumber][addr:street]::int_name,
|
||||
node|z17-[addr:housenumber][addr:street]::int_name,
|
||||
{text: int_name; text-color: @housenumber; text-position: center;}
|
||||
|
||||
node|z18-[entrance=main],
|
||||
|
||||
@@ -2352,7 +2352,7 @@ amenity-vending_machine-excrement_bags # icon z18- (also has captio
|
||||
amenity-vending_machine-food # icon z18- (also has caption(optional) z18-)
|
||||
amenity-vending_machine-newspapers # icon z18- (also has caption(optional) z18-)
|
||||
amenity-vending_machine-sweets # icon z18- (also has caption(optional) z18-)
|
||||
building-address # caption z16-
|
||||
building-address # caption z17-
|
||||
man_made-telescope-optical # icon z17- (also has caption(optional) z17-)
|
||||
=== -9970
|
||||
|
||||
|
||||
@@ -2358,7 +2358,7 @@ amenity-vending_machine-excrement_bags # icon z18- (also has captio
|
||||
amenity-vending_machine-food # icon z18- (also has caption(optional) z18-)
|
||||
amenity-vending_machine-newspapers # icon z18- (also has caption(optional) z18-)
|
||||
amenity-vending_machine-sweets # icon z18- (also has caption(optional) z18-)
|
||||
building-address # caption z16-
|
||||
building-address # caption z17-
|
||||
man_made-telescope-optical # icon z17- (also has caption(optional) z17-)
|
||||
=== -9970
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ void CaptionDescription::Init(FeatureType & f, int8_t deviceLang, int zoomLevel,
|
||||
|
||||
// TODO(pastk) : its better to determine housenumbers minZoom once upon drules load and cache it,
|
||||
// but it'd mean a lot of housenumbers-specific logic in otherwise generic RulesHolder..
|
||||
uint8_t constexpr kHousenumbersMinZoom = 16;
|
||||
uint8_t constexpr kHousenumbersMinZoom = 17;
|
||||
if (geomType != feature::GeomType::Line && zoomLevel >= kHousenumbersMinZoom &&
|
||||
(auxCaptionExists || m_mainText.empty()))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user