add callback to create point features for search results - the default leaflet icon won't work (and would be the wrong colour anyway)
fix #998
This commit is contained in:
parent
5b5c6d5947
commit
aad6f3cd70
@ -292,6 +292,9 @@ addHook('search', function(query) {
|
||||
opacity: 0.7,
|
||||
weight: 2,
|
||||
fill: false,
|
||||
pointToLayer: function(featureData,latLng) {
|
||||
return createGenericMarker(latLng,'red');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user