Skip to content

Do not use an array for a single style #4535

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 1 commit into from
Dec 9, 2015

Conversation

ahocevar
Copy link
Member

@ahocevar ahocevar commented Dec 9, 2015

Since arrays are used nowhere else in the example, it will be a bit faster to also use a plain style here. See https://github.com/openlayers/ol3/pull/4518/files#r47052600.

@fredj
Copy link
Member

fredj commented Dec 9, 2015

LGTM

ahocevar added a commit that referenced this pull request Dec 9, 2015
Do not use an array for a single style
@ahocevar ahocevar merged commit a5abd8d into openlayers:master Dec 9, 2015
@ahocevar ahocevar deleted the osm-example-style branch December 9, 2015 09:50
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