mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-08 13:44:18 -07:00
Zoom fade for higher zoom levels (#265)
This commit is contained in:
parent
f9ffe305b2
commit
92efc5c937
21 changed files with 1617 additions and 1348 deletions
|
@ -1,9 +1,8 @@
|
|||
import React, {useState} from 'react';
|
||||
import React from 'react';
|
||||
import Layout from '../components/layout';
|
||||
import MapWrapper from '../components/map';
|
||||
// import MapWrapper from '../components/map';
|
||||
import MapWrapper from '../components/mapWrapper';
|
||||
import HowYouCanHelp from '../components/HowYouCanHelp';
|
||||
import Feature from 'ol/Feature';
|
||||
import Geometry from 'ol/geom/Geometry';
|
||||
import {Alert} from '@trussworks/react-uswds';
|
||||
import * as styles from './cejst.module.scss';
|
||||
|
||||
|
@ -15,7 +14,6 @@ interface IMapPageProps {
|
|||
const CEJSTPage = ({location}: IMapPageProps) => {
|
||||
// We temporarily removed MapControls, which would enable you to `setFeatures` also, for now
|
||||
// We will bring back later when we have interactive controls.
|
||||
const [features] = useState<Feature<Geometry>[]>([]);
|
||||
return (
|
||||
<Layout location={location}>
|
||||
<main id="main-content" role="main">
|
||||
|
@ -50,7 +48,7 @@ const CEJSTPage = ({location}: IMapPageProps) => {
|
|||
</p>
|
||||
</Alert>
|
||||
<h2>Explore the Tool</h2>
|
||||
<MapWrapper features={features} />
|
||||
<MapWrapper/>
|
||||
<HowYouCanHelp />
|
||||
</main>
|
||||
</Layout>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue