Skip to content

Commit

Permalink
Add textPlacement to city and town (osmandapp/OsmAnd#17583)
Browse files Browse the repository at this point in the history
  • Loading branch information
xmd5a2 committed Aug 16, 2023
1 parent 7a4ed9f commit dd1bc8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rendering_styles/default.render.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4444,7 +4444,7 @@
</switch>

<switch minzoom="3" textColor="$placeCityVillageTextColor" textWrapWidth="20" textHaloRadius="$placeTextHaloRadiusDay" textHaloColor="$placeCityVillageTextHaloColor" textBold="true" textDy="-4">
<case minzoom="5" tag="place" value="city" nameTag="" intersectionMargin="15" textOrder="32">
<case minzoom="5" tag="place" value="city" nameTag="" intersectionMargin="15" textOrder="32" textPlacement="bottom|top">
<apply_if additional="capital=yes" textColor="$placeCityVillageTextColor"/>
<case maxzoom="5" textSize="13" textColor="$placeStateProvinceTextColor" textHaloRadius="$placeTextHaloRadiusDay" textHaloColor="$placeCityVillageTextHaloColor"/>
<case minzoom="6" maxzoom="7" textSize="14"/>
Expand Down Expand Up @@ -4512,7 +4512,7 @@
</case>

<switch>
<case minzoom="$placeTownMinZoom" tag="place" value="town" textSize="16" textOrder="36" nameTag="" intersectionMargin="15"/>
<case minzoom="$placeTownMinZoom" tag="place" value="town" textSize="16" textOrder="36" nameTag="" intersectionMargin="15" textPlacement="bottom|top"/>
<apply>
<case additional="population_rounded=1500000000" textOrder="7"/>
<case additional="population_rounded=400000000" textOrder="8"/>
Expand Down

0 comments on commit dd1bc8e

Please sign in to comment.