Closed jpkeyw closed 8 years ago
Why change Map
to LayerMap
?
There's a DefaultMap
and was a Map
. Before I made the changes, Kris had copied the example which required like 4 separate files in addition to those. It was a jumble of spaghetti. In order to straighten things out, I made my component LayerMap. Besides, the whole point of using map is so you can add one or more layers of markers to it.
Yeah. I think there's an assumption made here that no map would be useful as a visualization without adding layers to it. I think changing it back to Map
would be fine
Map with Layers works correctly.
upgrade react-leaflet to 0.11.2 to fix LayersControl bug