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

Export TileGrid and WMTSTileGrid from ol/tilegrid #15309

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

mike-000
Copy link
Contributor

@mike-000 mike-000 commented Nov 8, 2023

It seems inconsistent that
import {Projection, fromLonLat} from 'ol/proj.js'
and
import {Layer, Tile as TileLayer} from 'ol/layer.js'
will work,

while
import {TileGrid, createXYZ} from 'ol/tilegrid.js'
or
import {TileGrid, WMTS as WMTSTileGrid} from 'ol/tilegrid.js'
do not.

This adds the missing exports to support that

Copy link

github-actions bot commented Nov 8, 2023

📦 Preview the website for this branch here: https://deploy-preview-15309--ol-site.netlify.app/.

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, @mike-000

@ahocevar ahocevar merged commit 00a4c16 into openlayers:main Nov 9, 2023
8 checks passed
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