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

ol.source.WMTS now passes tileClass option to ol.source.TileImage #2838

Merged
merged 1 commit into from
Oct 15, 2014

Conversation

mike-mcgann
Copy link
Contributor

The constructor for ol.source.TileImage accepts an option for the tileClass, but ol.source.WMTS does not pass this to the parent. This pull request adds that in.

@elemoine
Copy link
Member

Thanks for the patch. You'll also need to add a tileClass option to olx.source.WMTSOptions. See https://github.com/openlayers/ol3/blob/master/externs/olx.js#L4982-L5141. Look at olx.source.TileImageOptions in the olx.js file for an example.

@mike-mcgann
Copy link
Contributor Author

Updated. Let me know if there is anything else.

@@ -5067,6 +5070,16 @@ olx.source.WMTSOptions.prototype.style;


/**
* tile class
Copy link
Member

Choose a reason for hiding this comment

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

While you're at could you please add more docs for tileClass, both for WMTSOptions and TileImageOptions? Thanks.

@elemoine
Copy link
Member

I've just added an additional comment. When addressed I'll merge this. Thanks!

The constructor for ol.source.TileImage accepts an option for the tileClass,
but ol.source.WMTS does not pass this to the parent. This pull request adds
that in.
@mike-mcgann
Copy link
Contributor Author

Happy to help out. Documentation has been updated.

@elemoine
Copy link
Member

Cool.

elemoine pushed a commit that referenced this pull request Oct 15, 2014
ol.source.WMTS now passes tileClass option to ol.source.TileImage
@elemoine elemoine merged commit b61c257 into openlayers:master Oct 15, 2014
@mike-mcgann mike-mcgann deleted the wmts-tile-class branch October 15, 2014 13:39
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