@@ -7,21 +7,21 @@ import ol from 'openlayers';
77import { addLocaleData , IntlProvider } from 'react-intl' ;
88global . IntlProvider = IntlProvider ;
99import injectTapEventPlugin from 'react-tap-event-plugin' ;
10- import Globe from 'boundless- sdk/components/Globe' ;
11- import QGISPrint from 'boundless- sdk/components/QGISPrint' ;
12- import Zoom from 'boundless- sdk/components/Zoom' ;
13- import Rotate from 'boundless- sdk/components/Rotate' ;
14- import HomeButton from 'boundless- sdk/components/HomeButton' ;
15- import MapPanel from 'boundless- sdk/components/MapPanel' ;
10+ import Globe from '@boundlessgeo/ sdk/components/Globe' ;
11+ import QGISPrint from '@boundlessgeo/ sdk/components/QGISPrint' ;
12+ import Zoom from '@boundlessgeo/ sdk/components/Zoom' ;
13+ import Rotate from '@boundlessgeo/ sdk/components/Rotate' ;
14+ import HomeButton from '@boundlessgeo/ sdk/components/HomeButton' ;
15+ import MapPanel from '@boundlessgeo/ sdk/components/MapPanel' ;
1616import getMuiTheme from 'material-ui/styles/getMuiTheme' ;
1717import Snackbar from 'material-ui/Snackbar' ;
18- import LayerList from 'boundless- sdk/components/LayerList' ;
18+ import LayerList from '@boundlessgeo/ sdk/components/LayerList' ;
1919import enLocaleData from 'react-intl/locale-data/en.js' ;
20- import InfoPopup from 'boundless- sdk/components/InfoPopup' ;
21- import MapConfigTransformService from 'boundless- sdk/services/MapConfigTransformService' ;
22- import MapConfigService from 'boundless- sdk/services/MapConfigService' ;
23- import WMSService from 'boundless- sdk/services/WMSService' ;
24- import enMessages from 'boundless- sdk/locale/en.js' ;
20+ import InfoPopup from '@boundlessgeo/ sdk/components/InfoPopup' ;
21+ import MapConfigTransformService from '@boundlessgeo/ sdk/services/MapConfigTransformService' ;
22+ import MapConfigService from '@boundlessgeo/ sdk/services/MapConfigService' ;
23+ import WMSService from '@boundlessgeo/ sdk/services/WMSService' ;
24+ import enMessages from '@boundlessgeo/ sdk/locale/en.js' ;
2525enMessages [ "loginmodal.helptext" ] = "Login to GeoNode" ;
2626global . enMessages = enMessages ;
2727
@@ -31,7 +31,7 @@ import {getLocalGeoServer,createThumbnail} from '../services/geonode';
3131import { getCRSFToken } from '../helper' ;
3232
3333import '../css/app.css'
34- import 'boundless- sdk/dist/css/components.css' ;
34+ import '@boundlessgeo/ sdk/dist/css/components.css' ;
3535
3636// Needed for onTouchTap
3737// Can go away when react 1.0 release
@@ -165,9 +165,7 @@ class GeoNodeViewer extends React.Component {
165165 < div id = 'globe-button' > < Globe tooltipPosition = 'right' map = { map } /> </ div >
166166 < div id = 'print-button' > < QGISPrint menu = { false } map = { map } layouts = { this . props . printLayouts } /> </ div >
167167 < div id = 'home-button' > < HomeButton extent = { this . _extent } tooltipPosition = 'right' map = { map } /> </ div >
168- < div > < LayerList showZoomTo = { true } addBaseMap = { {
169- tileServices : this . state . tileServices
170- } } addLayer = { layerList } showTable = { true } allowReordering = { true } includeLegend = { true } allowRemove = { this . edit } tooltipPosition = 'left' allowStyling = { this . edit || this . props . zoomToLayer } map = { map } /> </ div >
168+ < div id = 'layerlist' > < LayerList showZoomTo = { true } addBaseMap = { true } baseMapTileServices = { this . state . tileServices } addLayer = { layerList } showTable = { true } allowReordering = { true } includeLegend = { true } allowRemove = { this . edit } tooltipPosition = 'left' allowStyling = { this . edit || this . props . zoomToLayer } map = { map } /> </ div >
171169 < div id = 'zoom-buttons' > < Zoom tooltipPosition = 'right' map = { map } /> </ div >
172170 < div id = 'rotate-button' > < Rotate autoHide = { true } tooltipPosition = 'right' map = { map } /> </ div >
173171 < div id = 'popup' className = 'ol-popup' > < InfoPopup toggleGroup = 'navigation' toolId = 'nav' infoFormat = 'application/vnd.ogc.gml' map = { map } /> </ div >
0 commit comments