Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several minor improvements. #707

Merged
merged 2 commits into from
Jun 16, 2017
Merged

Several minor improvements. #707

merged 2 commits into from
Jun 16, 2017

Conversation

manthey
Copy link
Contributor

@manthey manthey commented Jun 13, 2017

  • When calling a tile url function, use the layer as the context.

    This would allow, for instance, two layers in different projections to use the same function which could then use this.gcsTileBounds() to determine the extent of the tile correctly for the layer.

  • Allow getting and setting the animation queue. This allows, for instance, linking two map's animation queues after they have been created.

  • Allow getting and setting the autoResize flag.

- When calling a tile url function, use the layer as the context.

  This would allow, for instance, two layers in different projections to use the same function which could then use this.gcsTileBounds() to determine the extent of the tile correctly for the layer.

- Allow getting and setting the animation queue.  This allows, for instance, linking two map's animation queues after they have been created.

- Allow getting and setting the autoResize flag.
@codecov-io
Copy link

codecov-io commented Jun 13, 2017

Codecov Report

Merging #707 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #707      +/-   ##
==========================================
+ Coverage   95.25%   95.28%   +0.03%     
==========================================
  Files          83       83              
  Lines        8980     9000      +20     
==========================================
+ Hits         8554     8576      +22     
+ Misses        426      424       -2
Impacted Files Coverage Δ
src/d3/d3Renderer.js 93.35% <ø> (ø) ⬆️
src/osmLayer.js 100% <ø> (ø) ⬆️
src/tileLayer.js 97.94% <ø> (ø) ⬆️
src/registry.js 95.03% <100%> (+0.03%) ⬆️
src/map.js 98.8% <100%> (+0.03%) ⬆️
src/mapInteractor.js 96.12% <0%> (+0.28%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a485da6...4920faa. Read the comment docs.

Copy link
Member

@aashish24 aashish24 left a comment

Choose a reason for hiding this comment

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

LRTM

Copy link
Member

@aashish24 aashish24 left a comment

Choose a reason for hiding this comment

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

LRTM

@manthey manthey merged commit 235c395 into master Jun 16, 2017
@manthey manthey deleted the minor-map-improvements branch June 16, 2017 13:08
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