Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boundaryの実装方法の検討 #6

Closed
takamotobiz opened this issue Jan 17, 2021 · 0 comments
Closed

boundaryの実装方法の検討 #6

takamotobiz opened this issue Jan 17, 2021 · 0 comments

Comments

@takamotobiz
Copy link
Contributor

boundaryがレベル4のみとなっていますが、属性のadmin_levelを使って表示するズームレベルを決められるようにするとよい。
以下、Tileserver-glの実装例です。

admin_sub,line,boundary,-,-,
filter=['in', 'admin_level', 4, 6, 8]

admin_country,line,boundary,-,-,
filter=['all', ['<=', 'admin_level', 2], ['==', '$type', 'LineString']]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants