maps: fix trigger name to combo:map-feature-prepare (#16687)

This commit is contained in:
Frédéric Péters 2017-06-03 21:36:19 +02:00
parent 973d75b1f5
commit 614c66c17d
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ $(function() {
$.getJSON(geojson_url, function(data) {
var geo_json = L.geoJson(data, {
onEachFeature: function(feature, layer) {
$(cell).trigger('combo:map-feature-click', {'feature': feature, 'layer': layer});
$(cell).trigger('combo:map-feature-prepare', {'feature': feature, 'layer': layer});
},
pointToLayer: function (feature, latlng) {
var markerStyles = "background-color: "+feature.properties.colour+";";