[Maps] Add EPSG-code to docs (#58378)

This commit is contained in:
Thomas Neirynck 2020-02-25 14:21:25 -05:00 committed by GitHub
parent 30fb4eb694
commit d9e3d744ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -231,7 +231,7 @@ This setting does not impact <<tilemap, Coordinate map visualizations>> and <<re
use in <<regionmap, Region Map>> visualizations. Supported on {ece}. Each layer use in <<regionmap, Region Map>> visualizations. Supported on {ece}. Each layer
object points to an external vector file that contains a geojson object points to an external vector file that contains a geojson
FeatureCollection. The file must use the FeatureCollection. The file must use the
https://en.wikipedia.org/wiki/World_Geodetic_System[WGS84 coordinate reference system] https://en.wikipedia.org/wiki/World_Geodetic_System[WGS84 coordinate reference system (ESPG:4326)]
and only include polygons. If the file is hosted on a separate domain from and only include polygons. If the file is hosted on a separate domain from
Kibana, the server needs to be CORS-enabled so Kibana can download the file. Kibana, the server needs to be CORS-enabled so Kibana can download the file.
The following example shows a valid regionmap configuration. The following example shows a valid regionmap configuration.

View file

@ -268,6 +268,10 @@ export class JsonIndexFilePicker extends Component {
maxFileSize: bytesToSize(MAX_FILE_SIZE), maxFileSize: bytesToSize(MAX_FILE_SIZE),
}} }}
/> />
<br />
{i18n.translate('xpack.fileUpload.jsonIndexFilePicker.coordinateSystemAccepted', {
defaultMessage: 'Coordinates must be in EPSG:4326 coordinate reference system.',
})}{' '}
</span> </span>
) )
} }