Comments (2)
E.g. for waterbodies we have in styles
area|z10-13[natural=water][!tunnel][bbox_area>=4000000],
{font-size: 9;}
area|z10-13[natural=water][!tunnel][bbox_area<4000000],
{text: none;}
We can try use the same approach for islands.
But its unlikely to work out of the box, because atm islands labels are point POIs, i.e. the actual polygon is not stored in the map data.
Maybe if we add a [bbox_area]
condition to styles then the generator will automatically make it an areal geometry feature (IDK).
But then it'd mean quite a lot of data will be stored just to be able to calculate an approx area at run-time.
A much more efficient approach would be to calc area sizes at the generation stage and derive several feature types like place-island-small/medium/big
.
(so its another case when this "dynamic bbox_area" approach is suboptimal, see #6331)
from organicmaps.
cc: @organicmaps/styles
from organicmaps.
Related Issues (20)
- outdoor_seating=no is added to all POIs by the editor HOT 4
- Making displaying Wikipedia articles optional or change screen part size HOT 3
- Failed debug-build for android in Android Studio HOT 2
- [android] Position arrow jumps in navigation mode
- Island labels given higher priority than the water bodies they reside in
- add a shop=water type HOT 1
- Organic Maps doesn't render a pushup station
- Organic Maps can't interpret "PH" in the opening hours HOT 1
- App crashes trying to highlight a feature near a navigation endpoint HOT 1
- Organic Maps can't open gpx file from UMAP HOT 2
- Organic Maps can't select a gpx file to import and imports all files from a folder HOT 3
- Industrial Mine Landuse not displayed correctly
- [android] Allow OM to send you notifications? dialog is not displayed when download button on the Place Page is pressed HOT 2
- Search doesn't find https://www.openstreetmap.org/node/2834916536 when searching for "8, zadov, czech" HOT 21
- [navigation] Use yards instead of feet in the UK. HOT 2
- Include "Manage Route" button on transit directions view
- GPS rapidly alternating between two positions HOT 4
- Bad routing in Madrid-Barajas Airport HOT 1
- [ios] The Logger clips the message when iCloud is logging the list of the files HOT 1
- Allow updating maps one by one when there is no enough free space to download all maps
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from organicmaps.