Adding the following envelope to an index:

```
DELETE shape

PUT shape/
{
  "mappings": {
    "properties": {
      "geoLocationBox": {"type": "geo_shape"}
    }
  }
}

POST shape/_doc
{
  "geoLocationBox": {
    "type": "envelope",
    "coordinates": [
      [
        10.0,
        10.0
      ],
      [
        -10.0,
        -10.0
      ]
    ]
  }
}
```

If we try to plot it using vector tiles it gives the wrong bounding box as it should cross the dateline:

<img width="327" alt="image" src="https://user-images.githubusercontent.com/29038686/197124298-23855b83-91d0-4a92-a4d5-3ac728a917ef.png">

x-pack/plugin/spatial/src/test/java/org/elasticsearch/xpack/spatial/index/mapper/GeoShapeWithDocValuesFieldTypeTests.java
false,
            false,
            geoFormatterFactory
        ).build(MapperBuilderContext.ROOT).fieldType();
        final int z = randomIntBetween(1, 10);
        int x = randomIntBetween(0, (1 << z) - 1);
        int y = randomIntBetween(0, (1 << z) - 1);
        final StringBuilder mvtString = new StringBuilder("mvt(");
        mvtString.append(z).append("/").append(x).append("/").append(y);
        int extent = SimpleVectorTileFormatter.DEFAULT_EXTENT;
        int padPixels = SimpleVectorTileFormatter.DEFAULT_BUFFER_PIXELS;
        if (randomBoolean()) {
            extent = randomIntBetween(1 << 8, 1 << 14);
            mvtString.append(SimpleVectorTileFormatter.EXTENT_PREFIX).append(extent);
        }
        if (randomBoolean()) {
            padPixels = randomIntBetween(0, extent);
            mvtString.append(SimpleVectorTileFormatter.BUFFER_PREFIX).append(padPixels);
        }
        mvtString.append(")");
        final FeatureFactory featureFactory = new FeatureFactory(z, x, y, extent, padPixels);
        final List<?> sourceValue = fetchSourceValue(mapper, WellKnownText.toWKT(geometry), mvtString.toString());
        List<byte[]> features;
        try {
            features = featureFactory.getFeatures(normalize(geometry));
        } catch (IllegalArgumentException iae) {
            
            
            features = List.of();
        }