Skip to content

Relative scale#19

Open
erickuehne wants to merge 4 commits into
masterfrom
relative_scale
Open

Relative scale#19
erickuehne wants to merge 4 commits into
masterfrom
relative_scale

Conversation

@erickuehne

Copy link
Copy Markdown

"relative" scale calculates r to keep circles fixed width relative to the map.

@erickuehne

Copy link
Copy Markdown
Author

We discussed adding minz and maxz which I have not done yet. Still trying to figure out the best way to handle that.

Comment thread src/GeoJson.js Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think lines 167 and 168 are functionally identical to line 163.
Also, if tile.zoom == 0 the first time then !zoomWhenLoaded will evaluate to true the next time around.

Ah my bad.

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.

3 participants