If no Box, use center for extent in preview
Adapting api url for deploying the branch