Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

Document the supported range of geometric coordinates in vector tiles #468

Merged
merged 3 commits into from
Jul 13, 2016

Conversation

lucaswoj
Copy link

@@ -181,7 +181,7 @@
<h3 class='space-bottom1'><a href='#sources-vector' title='link to vector'>vector</a></h3>
<p>
A vector tile source. Tiles must be in <a href="https://www.mapbox.com/developers/vector-tiles/">Mapbox
Vector Tile format</a>. All layers that use a vector source must specify a <code>"source-layer"</code> value.
Vector Tile format</a>. All geometric coordinates in vector tiles must be in the range <code>[-extent, (extent * 2) - 1)</code> All layers that use a vector source must specify a <code>"source-layer"</code> value.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't the range here inclusive on both ends, due to the - 1?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah! Yes! Good catch.

@lucaswoj lucaswoj merged commit c6e8181 into mb-pages Jul 13, 2016
@lucaswoj lucaswoj deleted the vector-tile-bounds branch July 13, 2016 23:11
@jingsam
Copy link
Contributor

jingsam commented Jul 14, 2016

Is it means that I should regenerate tiles by reducing buffer size to solve the problem with line rendering problem?

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

Successfully merging this pull request may close these issues.

3 participants