MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: importScript('MediaWiki:OpenLayers.js'); $(function() { // Map views always need a projection. Here we just want to map image // coordinates directly to map coordinates, so we create a projection that uses // the image extent in pixels. const extent = [0, 0, 4097, 2926]; const projection = new Projection({ code: 'fables-image', units: 'pixels', extent: extent, }); const map = new Map({...") |
(Replaced content with "→Any JavaScript here will be loaded for all users on every page load.: ") Tag: Replaced |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
Latest revision as of 19:33, 31 May 2023
/* Any JavaScript here will be loaded for all users on every page load. */