@juergen_hubert Fairly simple with some basic javascript.
Most basic for markers:
const layer = new L.geoJSON(data, {
onEachFeature: (feature, layer) => {
layer.on({
click: (e) => {
map.panTo(e.target.getLatLng());
}
})
}
});
There are slight variations depending on what kind of layer you're using, but search the docs for map.panTo or map.zoomTo. You can add events as a function of a layer group, or add the event to the marker layer as it's added. Does that help?