-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map: Refactor: Introduce MapType front end plugin #106
Comments
to add a bit more detail to this, bubbles will have two parts to their legend. the first will indicate size and likely be a set of concentric circles, the second will indicate color and at least for whats been discussed so far will require a gradient legend. |
see #249 |
I propose we introduce This approach will make it possible to have non-marker map types (such as animation, time-based view, etc). The map itself would continue to be rendered independently. @bobular I would love you feedback on this proposal. |
I'm going to rename this issue and move it back to "TODO". I also don't think it's needed for NIAID QO |
Just thinking if we want to be really flexible and future proof, then rendering the base map itself might be the purview of the 'map type'. |
I had a similar thought. I'm not opposed to that. Can you think of use cases? Maybe if a map type wants to use a different base layer? |
I was thinking of choropleth and cartograms, etc |
Cool, makes sense. I'm going to leave this here for future reference: https://leafletjs.com/examples/choropleth/ |
Even though this isn't urgent any more I like the idea of future proofing. Dave's proposal looks good! Choropleths still go on top of a regular map, so I don't think the base layers need to be part of the plugin scheme. |
Closed by #399 |
In the future, we will have non-marker map types. When that time comes, we will want to move marker-based logic out of
MapAnalysisImpl
, since not all map types will have markers.Instead, we should introduce a
MapType
plugin:MapType
defines a plugin to render a "config panel" and a "map type layer"MarkerMapTypeLayer
componentThe text was updated successfully, but these errors were encountered: