You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Something I'd like to see is applying marker imagery points on the map, using a quad tree for efficiency, anti-rotating against angle changes to remain upright, and supporting z-indexing (markers closer to the bottom of the screen are in front of those closer to the top).
Yeah, seeing this as I dig in. I will keep at this as a port over from current WebGL functionality, despite us possibly throwing this away as I'd like to get a bit more familiar with the whole style/bucket/parse/tag/vertex/shader/render flow we have for things like lines and fills.
After getting basic POI working, I'll look into arbitrary external content (GeoJSON/whatever) for drawing actual markers.
Ok, parsing properly and rendering... almost properly. Problem is related to what @kkaeferis working on with universal clip id's so that we can have multiple sources overlaid.
Right now I only get masking in tiles where the route overlaps, but then don't get the baselayer actually drawing there (exclusive clip id's):
I'm going to get #167 merged into master, then break this out into another pull that depends on the clip id work before getting merged.
But basically at this point we can throw arbitrary GeoJSON LineString features into llmr-native and have them pre-tiled and just about rendered.
Activity
kkaefer commentedon Feb 12, 2014
WebGL isn't using a quad tree.
incanus commentedon Feb 12, 2014
Yeah, seeing this as I dig in. I will keep at this as a port over from current WebGL functionality, despite us possibly throwing this away as I'd like to get a bit more familiar with the whole style/bucket/parse/tag/vertex/shader/render flow we have for things like lines and fills.
After getting basic POI working, I'll look into arbitrary external content (GeoJSON/whatever) for drawing actual markers.
incanus commentedon Feb 13, 2014
Getting there.
incanus commentedon Feb 15, 2014
Breaking this down a bit:
refs #60: first cut of POI rendering
Merge pull request #68 from mapbox/poi-render
incanus commentedon Feb 21, 2014
First task done; next up is more Maki in the stylesheet, which hopefully looks better, then arbitrary data, which is a bigger hurdle.
refs #60: add some more point styles
refs #60: add support for point colorization & opacity
refs #60: size POIs properly based on pixel ratio
incanus commentedon May 3, 2014
Making progress on GeoJSON support. Most of the feature tiling is done. Will round that out + bucket parsing + rendering next.
incanus commentedon May 6, 2014
Ok, parsing properly and rendering... almost properly. Problem is related to what @kkaefer is working on with universal clip id's so that we can have multiple sources overlaid.
Right now I only get masking in tiles where the route overlaps, but then don't get the baselayer actually drawing there (exclusive clip id's):
I'm going to get #167 merged into
master, then break this out into another pull that depends on the clip id work before getting merged.But basically at this point we can throw arbitrary GeoJSON
LineStringfeatures intollmr-nativeand have them pre-tiled and just about rendered.incanus commentedon May 7, 2014
Closing in favor of #170.