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 ol.Projection#getMetersPerUnit() #816

Merged
merged 1 commit into from Jun 24, 2013

Conversation

ahocevar
Copy link
Member

As a follow-up to #815, this change makes
ol.tilegrid.createForProjection work in cases where a Proj4
projection does not have units set. For better code readability,
a new variable is used when calculating the resolution.

@tschaub
Copy link
Member

tschaub commented Jun 24, 2013

Looks good to me. Assuming Travis approves (enjoy the wait), please merge.

As a follow-up to openlayers#815, this change makes
ol.tilegrid.createForProjection work in cases where a Proj4
projection does not have units set. For better code readability,
a new variable is used when calculating the resolution.
@ahocevar
Copy link
Member Author

Travis is lazy today, but my local build.py integration-test finishes with status 0, so merging.

ahocevar added a commit that referenced this pull request Jun 24, 2013
Use ol.Projection#getMetersPerUnit(). r=@tschaub
@ahocevar ahocevar merged commit a427719 into openlayers:master Jun 24, 2013
@ahocevar ahocevar deleted the tilegrid-units branch June 24, 2013 23:05
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.

None yet

2 participants