File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ const defaultProps = {
6565}
6666
6767// DeckGL react component
68- const CountryMap = ( {
68+ const IntelligenceMap = ( {
6969 layers,
7070 setDimensionsCb,
7171 setHighlightObj,
@@ -187,15 +187,15 @@ const CountryMap = ({
187187 )
188188}
189189
190- CountryMap . propTypes = {
190+ IntelligenceMap . propTypes = {
191191 ...propTypes ,
192192 ...StaticMap . propTypes ,
193193 ...commonProps ,
194194}
195- CountryMap . defaultProps = {
195+ IntelligenceMap . defaultProps = {
196196 ...defaultProps ,
197197 ...StaticMap . defaultProps ,
198198 ...commonDefaultProps ,
199199}
200200
201- export default CountryMap
201+ export default IntelligenceMap
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import React from 'react'
33import { storiesOf } from '@storybook/react'
44import POIMap from '../src/components/poi-map'
55import Map from '../src/components/generic-map'
6- import CountryMap from '../src/components/country -map'
6+ import IntelligenceMap from '../src/components/intelligence -map'
77import geoProvinceJson from './data/pois-polygon-province.json'
88
99const MAPBOX_ACCESS_TOKEN = process . env . MAPBOX_ACCESS_TOKEN
@@ -18,6 +18,6 @@ storiesOf('Deck', module)
1818 . add ( 'Generic Map' , ( ) => (
1919 < Map mapboxApiAccessToken = { MAPBOX_ACCESS_TOKEN } />
2020 ) )
21- . add ( 'Country Map' , ( ) => (
22- < CountryMap mapboxApiAccessToken = { MAPBOX_ACCESS_TOKEN } geoProvinceJson = { geoProvinceJson } />
21+ . add ( 'Intellignce Map' , ( ) => (
22+ < IntelligenceMap mapboxApiAccessToken = { MAPBOX_ACCESS_TOKEN } geoProvinceJson = { geoProvinceJson } />
2323 ) )
You can’t perform that action at this time.
0 commit comments