1. Should all the leaflet map events be replicated and exposed via the
element or is it fine to let the users use element.map [1] directly?
What would be the pros and cons of either approach?
2. Should the vector objects be also separated neatly into
<leaflet-vector-layers> instead of being added to the map directly? I
think both should be allowed to give users control. I'd be happy to
implement this in my code.
registerMapOnChildren: function() {for (var i = 0; i < this.children.length; i++) {this.children[i].container = this.map;}this.onMutation(this, this.registerMapOnChildren);},
3. Do we at some point want to integrate popular plugins such as
marker clustering [2] and heatmap [3] into the component as separate
layers? I think we should have good documentation to let people add
and contribute these.
I haven't yet taken a deep look at your code but I am guessing its
similar in structure. Do you think it might be a better idea to have
the repository under Leaflet [4] itself? Whom do we need to approach
to give us direction on this?
Popups are supported on markers and circles.
The next tasks will be to implement unbounded popups, geojson layers and the layer-control.
The website needs a header/footer and some more links. But I am going to wait a little for a decision by the leaflet team regarding a relocation of the project.