I am trying to draw a container for a set of x features. Right now I am using the extent of those features with the union method to generate the container. but i want to fit the resulting extent to the map or find another alternative to do it.
Now:
How should it be
Thanks