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

Long label in polygons (polygons, rectangle, circle) are not displayed in print (pdf/png) #85

Open
ochriste opened this issue Nov 27, 2023 · 3 comments

Comments

@ochriste
Copy link
Member

When drawing a surface of type polygon, rectangle or circle, when adding a visible label, the label is not displayed in print (pdf/png) if the label is longer than a certain length.

The max length seems to be something like the surface bbox + a certain margin.

@julianhafner
Copy link

https://mapfish.github.io/mapfish-print-doc/styles.html#vendoroptions

goodnessOfFit(0.5): Sets the ratio of the label that must sit inside the geometry to allow drawing the label. Works only on polygons. Provided values should span from 0 .. 1

you can set this variable in vars.yaml of the GMF, 0 doesn't seem to work though.

@ochriste
Copy link
Member Author

@julianhafner thank you

@ochriste
Copy link
Member Author

well, even using a value as small as "0.0000000000000000000000001" doesnt work, so im wondering if Mapfish Print even handle this request parameter correctly from the json payload

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