Update farmOS-map library to v0.9.1 and add weights to behaviors.
This commit is contained in:
parent
c80436607e
commit
9f6bbb8253
|
@ -204,7 +204,7 @@ libraries[easy-responsive-tabs][download][type] = "get"
|
|||
libraries[easy-responsive-tabs][download][url] = "https://github.com/samsono/Easy-Responsive-Tabs-to-Accordion/archive/1.2.2.zip"
|
||||
|
||||
libraries[farmOS-map][download][type] = "get"
|
||||
libraries[farmOS-map][download][url] = "http://github.com/farmOS/farmOS-map/releases/download/v0.9.0/v0.9.0-dist.zip"
|
||||
libraries[farmOS-map][download][url] = "http://github.com/farmOS/farmOS-map/releases/download/v0.9.1/v0.9.1-dist.zip"
|
||||
|
||||
libraries[modernizr][download][type] = "get"
|
||||
libraries[modernizr][download][url] = "http://github.com/Modernizr/Modernizr/archive/v2.8.3.zip"
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
instance.zoomToLayer(layer);
|
||||
});
|
||||
};
|
||||
}
|
||||
},
|
||||
weight: -50,
|
||||
};
|
||||
}());
|
||||
|
|
|
@ -5,5 +5,6 @@
|
|||
$('#' + instance.target).parents('.field-widget-farm-map-geofield').find('textarea').val(wkt);
|
||||
});
|
||||
},
|
||||
weight: 100,
|
||||
};
|
||||
}(jQuery));
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
if (Drupal.settings.farm_map.behaviors.wkt.zoom && layer !== undefined) {
|
||||
instance.zoomToLayer(layer);
|
||||
}
|
||||
}
|
||||
},
|
||||
weight: 100,
|
||||
};
|
||||
}());
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
visible: false,
|
||||
};
|
||||
instance.addLayer('wms', options);
|
||||
}
|
||||
},
|
||||
weight: -100,
|
||||
};
|
||||
}());
|
||||
|
|
Loading…
Reference in New Issue