Various map styling fixes (#278)

Addresses #182, #291, #273 and #191 

In particular:
* Removes zoom fading for now
* adds legend
* Styles mapbox popup correctly
* Styles zoom control
* Adds feature borders at higher zoom levels
This commit is contained in:
Nat Hillard 2021-07-01 12:57:59 -04:00 committed by GitHub
commit beac44ef20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 236 additions and 187 deletions

View file

@ -2,7 +2,6 @@ import * as React from 'react';
import {useFlags} from '../contexts/FlagContext';
import MapboxMap from './mapboxMap';
import OpenLayersMap from './openlayersMap';
import * as constants from '../data/constants';
const MapWrapper = () => {
const flags = useFlags();
@ -13,7 +12,6 @@ const MapWrapper = () => {
<MapboxMap /> :
<OpenLayersMap features={[]}/>
}
<p>Current Score Property: {constants.SCORE_PROPERTY}</p>
</div>
);
};