-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
continents #16
base: master
Are you sure you want to change the base?
continents #16
Conversation
[continent] |
fixed size ocean names
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Есть замечания.
text-priority: -5; | ||
details-enabled: 0; | ||
|
||
icon-scale: 0.7; | ||
[entrance=main] { | ||
icon-scale: 0.85; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Что это за пустые строчки?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
мой редактор автоматически удаляет при сохранении файла спрятанные в коде пустые spaces & tabs, видимо там и присутсвовали такие ненужные символы, сорян
@@ -280,7 +296,7 @@ node,area { | |||
font-size: 9; | |||
details-enabled: 1; | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
И тут
@@ -734,7 +750,7 @@ node,area { | |||
text-color: @color_text_offices; | |||
} | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
И дальше..
Default.style/points.mapcss
Outdated
} | ||
|z1-2 { | ||
font-size:0; | ||
details-enabled: 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Зачем font-size:0 ?
Если ты не хочешь чтоб что-то было видно - поправь зум маску в правиле, которое показывает объект, а не добавляй костыль.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Default.style/points.mapcss
Outdated
@@ -10,6 +10,14 @@ node,area { | |||
font-stroke-width: 1pt; | |||
font-stroke-color: @color_label_stroke; | |||
|
|||
[place=continent] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
если нас интересуют только точки, надо писать node[place=continent] потому что вверху правило node,area и запросы будут в базе искать еще place=country и среди полигонов. Если нам это не надо - сразу фильтруем.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
принял
fixed костыль)
На всех устройствах больше iPhone 6s минимальный зум карты > 2.5, когда уже работают правила |z3. И даже на 6s они будут видны с 2.35 до 2.5. Получается имена континентов надо показывать на зумах 2-3. С 3-го зума уже видны названия стран и именам континентов надо дать приоритет выше и шрифт больше, чем у имен стран, чтоб их было видно в первую очередь. Так же в спец правилах для стран правило для z2-3 не будет работать потому что там только размер шрифта а свойство текст после изменений устанавливается с z3. |
No description provided.