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
private final double pointXScale, pointYScale, pointXTranslate, pointYTranslate;
        private MvtCoordinateSequenceFilter(Envelope tileEnvelope, int extent) {
            this.extent = extent;
            this.pointXScale = (double) extent / tileEnvelope.getWidth();
            this.pointYScale = (double) -extent / tileEnvelope.getHeight();
            this.pointXTranslate = -pointXScale * tileEnvelope.getMinX();
            this.pointYTranslate = -pointYScale * tileEnvelope.getMinY();
        }
        @Override
        public void filter(CoordinateSequence seq, int i) {
            seq.setOrdinate(i, 0, lon(seq.getOrdinate(i, 0)));
            seq.setOrdinate(i, 1, lat(seq.getOrdinate(i, 1)));
        }
        @Override
        public boolean isDone() {
            return false;
        }
        @Override
        public boolean isGeometryChanged() {
            return true;
        }
        private int lat(double lat) {
            return (int) Math.round(pointYScale * lat + pointYTranslate) + extent;
        }
        private int lon(double lon) {
            return (int) Math.round(pointXScale * lon + pointXTranslate);
        }
    }
}