0

I have created a map app, that displays a few points with their attribute data. The problem I am facing is that the point icons get clipped when serving the map. I have read this answer as well as this one, but none of them seem to be working for me.

This is what I get when debugging and deploying my app.

Clipped Icons

As you can see, the icons get clipped and I cannot seem to "fix" this.

1 Answer 1

0

Ok, so I hope this helps anyone else that has had the same problems as I did for whom the mentioned answers did not work...

The solution was to manually stretch the bounding box max and min X/Y coordinates. The ones computed from the data put some of the points right on the edge, stretching the bbox ensured that the features with their icons were rendered correctly.

If you are unsure of where to set this, it is part of the initial layer set up.

bbox

Here are the points being rendered correctly:

fixed features

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.