Skip to content

new line in ol.style.Text is ignored while zooming #20

@10lojzo

Description

@10lojzo

When defining the text style with new line "\n" in text attribute, the text appears inline while zooming, both in cluster and original feature.

text: new ol.style.Text( { text: size.toString() + "\nnew line", fill: new ol.style.Fill( { color: '#fff' }) })

I tweaked this example changing just the code above.
http://viglino.github.io/OL3-AnimatedCluster/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions