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

Use path type instead of ol.tilegrid #7985

Merged
merged 3 commits into from
Mar 15, 2018
Merged

Conversation

fredj
Copy link
Member

@fredj fredj commented Mar 15, 2018

See #7947.

Copy link
Member

@ahocevar ahocevar left a comment

Choose a reason for hiding this comment

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

The type here has to be module:ol/tilegrid/TileGrid~TileGrid, not module:ol/tilegrid~TileGrid. I made the same mistake in src/ol/tilecoord.js, where it should be changed as well.

@fredj
Copy link
Member Author

fredj commented Mar 15, 2018

changed. I've also added a commit that fixes the name for extent Corner Relationship

Copy link
Member

@ahocevar ahocevar left a comment

Choose a reason for hiding this comment

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

Thanks, please merge.

@fredj
Copy link
Member Author

fredj commented Mar 15, 2018

Thanks for the review

@fredj fredj merged commit e0e9c26 into openlayers:master Mar 15, 2018
@fredj fredj deleted the tilegrid-types branch March 15, 2018 13:51
@@ -129,14 +127,12 @@ function resolutionsFromExtent(extent, opt_maxZoom, opt_tileSize) {
* DEFAULT_MAX_ZOOM).
* @param {number|module:ol/size~Size=} opt_tileSize Tile size (default uses
* DEFAULT_TILE_SIZE).
* @param {module:ol/extent~Extent.Corner=} opt_corner Extent corner (default is
* module:ol/extent~Extent.Corner.BOTTOM_LEFT).
* @param {module:ol/extent/Corner~Corner=} opt_corner Extent corner (default is `'top-left'`).
Copy link
Member Author

Choose a reason for hiding this comment

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

note: the comment was wrong, the default value is really 'top-left' (see createForExtent function)

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