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/vector-tile/src/main/java/org/elasticsearch/xpack/vectortile/feature/FeatureFactory.java
}
    /**
     * Returns a List {@code byte[]} containing the mvt representation of the provided geometry
     */
    public List<byte[]> getFeatures(Geometry geometry) {
        
        final org.locationtech.jts.geom.Geometry jtsGeometry = geometry.visit(builder);
        
        final List<org.locationtech.jts.geom.Geometry> flatGeometries = clipGeometries(
            clipTile.copy(),
            JtsAdapter.flatFeatureList(jtsGeometry)
        );
        
        simplifyGeometry(flatGeometries, pixelPrecision);
        
        convertToMvtGeometry(flatGeometries, sequenceFilter);
        
        final List<VectorTile.Tile.Feature> features = PatchedJtsAdapter.toFeatures(flatGeometries, layerProps, userDataIgnoreConverter);
        final List<byte[]> byteFeatures = new ArrayList<>(features.size());
        features.forEach(f -> byteFeatures.add(f.toByteArray()));
        return byteFeatures;
    }
    private static List<org.locationtech.jts.geom.Geometry> clipGeometries(
        org.locationtech.jts.geom.Geometry envelope,
        List<org.locationtech.jts.geom.Geometry> geometries
    ) {
        final List<org.locationtech.jts.geom.Geometry> intersected = new ArrayList<>(geometries.size());
        for (org.locationtech.jts.geom.Geometry geometry : geometries) {
            try {
                final IntersectionMatrix matrix = envelope.relate(geometry);