1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
function style_POSTES_0() {
return {
pane: 'pane_POSTES',
rotationAngle: 0.0,
rotationOrigin: 'center center',
icon: L.icon({
iconUrl: 'markers/red-marker.svg',
iconSize: [18.24, 18.24]
}),
}
}
map.createPane('pane_POSTES');
map.getPane('pane_POSTES').style.zIndex = 408;
map.getPane('pane_POSTES').style['mix-blend-mode'] = 'normal';
var layer_POSTESG4S_8 = new L.geoJson.ajax('http://localhost/PachyDem/cartes/ws/wscarte.php?action=select', {
pane: 'pane_POSTES',
onEachFeature: pop_POSTES,
pointToLayer: function (feature, latlng) {
var context = {
feature: feature,
variables: {}
};
return L.marker(latlng, style_POSTES_0(feature));
},
});
bounds_group.addLayer(layer_POSTES);
map.addLayer(layer_POSTES); |
Partager