diff --git a/lib/ReactViews/Preview/MappablePreview.jsx b/lib/ReactViews/Preview/MappablePreview.jsx index a6cf1edf27b..7bd9dc2c161 100644 --- a/lib/ReactViews/Preview/MappablePreview.jsx +++ b/lib/ReactViews/Preview/MappablePreview.jsx @@ -2,7 +2,6 @@ import React from 'react'; import DataPreviewSections from './DataPreviewSections'; import DataPreviewMap from './DataPreviewMap.jsx'; -import DataPreviewUrl from './DataPreviewUrl.jsx'; import ObserveModelMixin from '../ObserveModelMixin'; import Styles from './mappable-preview.scss'; import renderMarkdownInReact from '../../Core/renderMarkdownInReact'; @@ -35,12 +34,12 @@ const MappablePreview = React.createClass({ }, render() { - const metadataItem = this.props.previewed.nowViewingCatalogItem || this.props.previewed; + const catalogItem = this.props.previewed.nowViewingCatalogItem || this.props.previewed; return (
- Please contact the provider of this data for more information, including information - about usage rights and constraints. -
-This file only exists in your browser. To share it, you must load it onto a public web server.
+Please contact the provider of this data for more information, including information about usage rights and constraints.
++ This is a WMS + service, which generates map images on request. It can be used in GIS software with this + URL: +
++ This is a WFS + service, which transfers raw spatial data on request. It can be used in GIS software with this + URL: +
++ Layer name{catalogItem.layers.split(',').length > 1 ? 's' : ''}: {catalogItem.layers} +
++ Type name{catalogItem.typeNames.split(',').length > 1 ? 's' : ''}: {catalogItem.typeNames} +
+
+
+ {catalogItem.dataUrl}
+