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

Document map DOM elements #2355

Merged
merged 1 commit into from Jul 13, 2014
Merged

Document map DOM elements #2355

merged 1 commit into from Jul 13, 2014

Conversation

probins
Copy link
Contributor

@probins probins commented Jul 12, 2014

There are currently various references to the 'map viewport' and to overlaycontainers, but no description of what/where these are.

@@ -258,7 +258,8 @@ olx.OverlayOptions.prototype.positioning;
/**
* Whether event propagation to the map viewport should be stopped. Default is
* `true`. If `true` the overlay is placed in the same container as that of the
* controls (`ol-overlaycontainer-stopevent`).
* controls (`ol-overlaycontainer-stopevent`); if `false` it is placed in
* `ol.overlaycontainer`.
Copy link
Member

Choose a reason for hiding this comment

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

Should this be ol-overlaycontainer instead? I think it might be clearer to say something about this being a CSS class name. Maybe "if false, it is placed in an element that lets events pass through (with class ol-overlaycontainer)" or something.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, you're right. I'll change this

@probins
Copy link
Contributor Author

probins commented Jul 13, 2014

updated to clarify that the names are CSS class names

@marcjansen
Copy link
Member

Good to go!

marcjansen added a commit that referenced this pull request Jul 13, 2014
@marcjansen marcjansen merged commit 5cd202d into openlayers:master Jul 13, 2014
@probins probins deleted the mapelements branch July 13, 2014 09:07
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

3 participants