I'm trying to export maps from an ArcGIS REST Service using WGS84 and have run into difficulty when the bounding box ends up exceeding latitude 180.
I was hoping that the map would wrap, but it doesn't. In some cases the resulting image ends up zoomed very far out and not anywhere I intended it to be.
This is an example of where the map gets clipped where I'd prefer it wrapped.
This is an example of where I've exceeded 180 and then the image is zoomed out and not on the location I intended.
Using the coordinates of a location I buffer it with a rectangle for the bounding box, which means that in some cases the bounding box will overlap -180 or +180. The resulting bounding box then doesn't get my desired result.
What is the correct way to get this to work?