Remove deprecated use of L.Mixin.Events
This commit is contained in:
parent
d1c134150f
commit
a0fb623661
3 changed files with 5 additions and 8 deletions
|
@ -1003,8 +1003,7 @@ L.U.ContextMenu = L.Map.ContextMenu.extend({
|
|||
|
||||
});
|
||||
|
||||
L.U.IframeExporter = L.Class.extend({
|
||||
includes: [L.Mixin.Events],
|
||||
L.U.IframeExporter = L.Evented.extend({
|
||||
|
||||
options: {
|
||||
includeFullScreenLink: true,
|
||||
|
|
|
@ -463,7 +463,7 @@ L.U.FeatureMixin = {
|
|||
|
||||
L.U.Marker = L.Marker.extend({
|
||||
parentClass: L.Marker,
|
||||
includes: [L.U.FeatureMixin, L.Mixin.Events],
|
||||
includes: [L.U.FeatureMixin],
|
||||
|
||||
preInit: function () {
|
||||
this.setIcon(this.getIcon());
|
||||
|
@ -822,7 +822,7 @@ L.U.PathMixin = {
|
|||
|
||||
L.U.Polyline = L.Polyline.extend({
|
||||
parentClass: L.Polyline,
|
||||
includes: [L.U.FeatureMixin, L.U.PathMixin, L.Mixin.Events],
|
||||
includes: [L.U.FeatureMixin, L.U.PathMixin],
|
||||
|
||||
staticOptions: {
|
||||
stroke: true,
|
||||
|
@ -959,7 +959,7 @@ L.U.Polyline = L.Polyline.extend({
|
|||
|
||||
L.U.Polygon = L.Polygon.extend({
|
||||
parentClass: L.Polygon,
|
||||
includes: [L.U.FeatureMixin, L.U.PathMixin, L.Mixin.Events],
|
||||
includes: [L.U.FeatureMixin, L.U.PathMixin],
|
||||
|
||||
isSameClass: function (other) {
|
||||
return other instanceof L.U.Polygon;
|
||||
|
|
|
@ -146,9 +146,7 @@ L.U.Layer.Heat = L.HeatLayer.extend({
|
|||
|
||||
});
|
||||
|
||||
L.U.DataLayer = L.Class.extend({
|
||||
|
||||
includes: [L.Mixin.Events],
|
||||
L.U.DataLayer = L.Evented.extend({
|
||||
|
||||
options: {
|
||||
displayOnLoad: true,
|
||||
|
|
Loading…
Reference in a new issue