Skip to content

Render name labels if the geometry is a point in KML format (@tamarmot) #4316

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

Merged
merged 4 commits into from
Oct 25, 2015
Merged

Render name labels if the geometry is a point in KML format (@tamarmot) #4316

merged 4 commits into from
Oct 25, 2015

Conversation

marcjansen
Copy link
Member

This is a follow-up PR for #4306. With a fixed build (gjslint failed) and a corrected color. I also changes the commit messages to be more in line with our recommendations.

Thanks for the continued work on this, @tamarmot

@marcjansen marcjansen changed the title Render name labels if the geometry is a point in KML format Render name labels if the geometry is a point in KML format (@tamarmot) Oct 25, 2015
marcjansen added a commit that referenced this pull request Oct 25, 2015
Render name labels if the geometry is a point in KML format (@tamarmot)
@marcjansen marcjansen merged commit a3dbe4b into openlayers:master Oct 25, 2015
@marcjansen marcjansen deleted the clean-4306 branch November 12, 2015 07:05
}
if (!goog.object.isEmpty(foundStyle.getText())) {
textStyle = /** @type {ol.style.Text} */
(goog.object.clone(foundStyle.getText()));
Copy link
Member

Choose a reason for hiding this comment

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

The use of goog.object.isEmpty() and goog.object.clone() should be avoided here. See #4781.

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.

3 participants