Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

reconsider default value for anchorYUnits and anchorXUnits in ol.style.Icon #1837

Closed
bartvde opened this Issue · 4 comments

3 participants

@bartvde
Owner

Currently the default value is fraction, but IMHO pixels is more commonly used.

@bartvde bartvde added the api label
@tschaub
Owner

The benefit of the current defaults is that they should give decent results with a variety of icon sizes.

An alternative would be to parse user provided values and derive the units (as is done with things like 20px and 50% in CSS).

@bartvde
Owner

good point @tschaub hadn't thought about that

@twpayne

@bartvde, what are your current thoughts on this?

@bartvde
Owner

I think we close this and leave it as is.

@bartvde bartvde closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.