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

setText orientation producing error NS_ERROR_FAILURE in firefox #54

Open
adSyb opened this issue Oct 12, 2016 · 1 comment
Open

setText orientation producing error NS_ERROR_FAILURE in firefox #54

adSyb opened this issue Oct 12, 2016 · 1 comment

Comments

@adSyb
Copy link

adSyb commented Oct 12, 2016

Thank you for the plug-in!

I am getting the error NS_ERROR_FAILURE in Firefox 49 when adding the orientation option to the following:

layer.setText(feature.properties.Name, {center: true, offset: -5, orientation: 'flip', attributes: { ... }});

Along with the error, the text for a single feature renders, in an unexpected location. Without adding the orientation attribute, it works fine. The orientation works in Chrome. It doesn't matter what value is given for the orientation.

@darthsteven
Copy link

darthsteven commented Jun 8, 2017

I'm seeing this NS_ERROR_FAILURE too, but when trying to render text that isn't actually visible on screen (map is in a container with display: none).

That could be related.

https://bugzilla.mozilla.org/show_bug.cgi?id=612118

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

No branches or pull requests

2 participants