Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Leaflet map plus data #40

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Conversation

tyreer
Copy link
Contributor

@tyreer tyreer commented Mar 29, 2017

See issue thread #33.

This component is a first pass demo of a react-leaflet map with a GeoJSON layer. The GeoJSON data has been extended with additional mock data, which is then rendered below the map on click events to approximate the housing team's wireframe posted in issue #33.

Also worth noting that I revised the positioning strategy for the RechartsPie legend. I used top and left offsets in the legendStyle object defined in the RechartsPie and LeafletPlusData stories. This addresses the initial render position bug mentioned in #35. The IconType property on the legend is also not rendering as expected—again, originally noted in #35.

@dsdemaria dsdemaria requested review from oovg and DavideDaniel and removed request for oovg and DavideDaniel April 8, 2017 17:48
@DavideDaniel
Copy link
Contributor

DavideDaniel commented Apr 19, 2017

Is this map specific to the housing project? @dsdemaria ?

@dsdemaria
Copy link
Contributor

Yes it is, and I don't think it would make much sense in the component library by itself. It could work as an example on how to use the map, but it would need to be refactored.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants