Skip to content

New style format - #363

Merged
ansis merged 19 commits into
masterfrom
newstyle
May 6, 2014
Merged

ansis merged 19 commits into
masterfrom
newstyle

Conversation

@mourner

@mourner mourner commented Apr 14, 2014

Copy link
Copy Markdown
Member

Work in progress to support latest style format from https://github.com/mapbox/gl-style
Issues left to fix:

  • casings don't render
  • collision detection is different for some reason
  • opacity doesn't work
  • broken build
  • GeoJSON doesn't work

@mourner

mourner commented Apr 16, 2014

Copy link
Copy Markdown
Member Author

OK, all things work now except that collision behavior changed and I can't yet figure out why. Can't say that the new way is wrong, it's similar but with many more pois rendered. Here's a comparison:

This pull:
image

Master:
image

@ansis any ideas?

@ansis
ansis merged commit 04fe482 into master May 6, 2014
@ansis

ansis commented May 6, 2014

Copy link
Copy Markdown
Contributor

Great!

@mourner
mourner deleted the newstyle branch May 6, 2014 20:01
@mourner

mourner commented May 6, 2014

Copy link
Copy Markdown
Member Author

@ansis any clues about the collision stuff I mentioned above?

@ansis

ansis commented May 6, 2014

Copy link
Copy Markdown
Contributor

I don't know where the change came from either. It looks alright (better), so unless we can spot a bug I think we can skip digging deeper.

@mourner

mourner commented May 6, 2014

Copy link
Copy Markdown
Member Author

@ansis btw it would be awesome to add another debug drawer that draws the collision tree rectangles. It would help a lot with debugging labeling (at least it did when developing kothic).

Comment thread js/geometry/bucket.js

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Promote text from a value of the type key to being a key on its own.

Comment thread js/render/drawfill.js

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Change layer color to fill-color

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

Successfully merging this pull request may close these issues.

2 participants