I\'m trying to change some things on a map that is already initialised by another script, using the Leaflet library. This other script did not store the map-object in a glob
You can access the map from the global array created by the mediawiki extension.
Es: for accessing the first map of the page
window.maps.leafletList[0].map.getCenter()