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

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
Thomas Neirynck 2020-02-25 20:16:04 -05:00 committed by GitHub
parent 78b1588e83
commit 1c039d42a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -238,7 +238,7 @@ This setting does not impact <<tilemap, Coordinate map visualizations>> and <<re
use in <<regionmap, Region Map>> visualizations. Supported on {ece}. Each layer
object points to an external vector file that contains a geojson
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
Kibana, the server needs to be CORS-enabled so Kibana can download the file. The
following example shows a valid regionmap configuration.

View file

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