|
|
|
@ -183,7 +183,7 @@ class Geo extends Component {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
renderStopMarkers() { |
|
|
|
|
const { count, results } = this.props.stop |
|
|
|
|
const { count, results, query } = this.props.stop |
|
|
|
|
if (count < 1) |
|
|
|
|
return null |
|
|
|
|
|
|
|
|
@ -201,8 +201,9 @@ class Geo extends Component {
|
|
|
|
|
"type": "FeatureCollection", |
|
|
|
|
"features": arrStops |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return <GeoJSON |
|
|
|
|
key={`stops-all`} |
|
|
|
|
key={`stops-${query}-${count}`} |
|
|
|
|
data={stopCollection} |
|
|
|
|
pointToLayer={(feat, latlon) => { |
|
|
|
|
return ( |
|
|
|
|