Repository navigation
GeoJSON on steroids (using geojson-vt) - #872
Merged
Merged
Conversation
Member
Author
|
Fixing up the tests now. |
Member
Author
|
Contributor
There was a problem hiding this comment.
What's the rationale for this change? Sources with inline TileJSON will not have a url property.
Member
Author
There was a problem hiding this comment.
GeoJSONSource now reuses most of Source logic, including tile loading, — it's just a quick way to silence the error thrown by TileCoord.url which doesn't get this.tiles, since for GeoJSON, we don't care about any URLs – it's just passed as null.
Contributor
There was a problem hiding this comment.
The condition should be something like !this._isGeoJSON then, otherwise this will be broken:
new Source({
type: 'vector',
tiles: ['http://example.com/{z}/{x}/{y}.png']
});
Contributor
|
Awesome. 👍 |
mourner
added a commit
that referenced
this pull request
Dec 9, 2014
GeoJSON on steroids (using geojson-vt)
Contributor
|
This is awesome! Is there a build of the mb-pages branch available or do I have to build one myself? |
Member
Author
|
@averas you have to build one. |
This was referenced Dec 9, 2014
jfirebaugh
added a commit
to mapbox/mapbox-gl-test-suite
that referenced
this pull request
Dec 12, 2014
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hallelujah, it works! The super-duper-awesome GeoJSON support in GL JS.
Fixes #464 (see comments for details)
Fixes #670
Fixes #694
@jfirebaugh to review.