Open mukil opened 7 years ago
The way to go now seems to be one of the following ways:
The current implementation uses the approach of "Changing parts of an existing class (replacing how a class method works)" and this seems to be to tightly coupled to unforeseeable changes in upcoming versions of LeafletJS.
But to keep the backwards-compatibility for automatically annotating web maps already created with Leaflet, the Leaflet-Schema.org-Dubine Core integration should continue to be tightly coupled with at least the following items of the Leaflet Standard API: Marker, CircleMarker, Popup, ImageOverlay and GeoJSON (as does Leaflet.annotate 0.3 do through building annotations on custom properties in the respective options
object, see API Doc).
I can confirm that this plugin does not run out-of-the-box when using Leaflet 1.0. So, as assumed, using Leaflet 0.7.7 is required.