YongGoose opened a new issue, #947:
URL: https://github.com/apache/incubator-baremaps/issues/947
<!--
Briefly describe the issue and expected behavior. Keep it short but clear
to help identify the problem quickly.
-->
## Description
If you set `minZoom` or 'maxZoom' to a float value like `2.5`, it will
automatically be converted to `2`.
```
{
minzoom: 2.5,
maxzoom: 20,
sql:
"SELECT id, tags, geom " +
"FROM osm_boundary " +
"WHERE tags ->> 'admin_level' = '2' " +
"AND tags ->> 'maritime' = 'yes';",
}
```
<!--
Specify the environment details where the issue occurred. Helps to determine
if the bug is environment-specific.
-->
## Environment
- **Browser/Version:** chrome
- **Version:** 0.8.1
<!--
Describe the difference between the expected and actual outcomes. This helps
clarify the impact of the bug.
-->
## Expected vs Actual Behavior
- **Expected:** Setting `minZoom` to 2.5 should apply it when the zoom level
is `2.5` or higher.
- **Actual:** However, it actually applies when `minZoom` is `2.0` or higher.
<!--
(Optional) Add supporting materials like screenshots or logs to provide more
context about the issue.
-->
## Attachments (Optional)
Maritime boundaries should be applied from zoom level `2.5` and above, but
they can be seen applying from `2.0`.

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]