User:Tegnosis/Image Maps

When the browser size is reduced, the image shrinks and breaks the imagemap linking. Example from Template:OHimagemap2.

JS Solution
Adding the following to MediaWiki:Common.js should fix the issue for all imagemaps:

List of imagemaps in the Main namespace

 * AK Petersburg Borough
 * ARMartindale/sandbox/OneMore
 * Bornholm County, Denmark Color-blind Map
 * Denmark Ringkobing Color-blind Map
 * Haderslev County, Denmark Colorblind Map
 * Hjørring County, Denmark Color-blind Map
 * IA ALLAMAKEE(1).PNG
 * Kmmarshall/sandbox/clickablemaps prep
 * Panama Genealogy
 * Paraguay Genealogy
 * Psleavens/sandbox/clickablemap
 * Psleavens/sandbox/clickablemap2
 * R2d2love7/Sandbox/imagemapSpain
 * Ribe County, Denmark Color-blind Map
 * Search for Articles in the FamilySearch Research Wiki
 * Skanderborg County, Denmark Color-blind Map
 * Svendborg County, Denmark Colorblind Map
 * Temolate:TX Hays County
 * Templete:CO Crowley County
 * The Netherlands Clickable Map
 * VTCaledoniaKirby
 * Vejle County, Denmark Colorblind Map
 * Ålborg County, Denmark Color-blind Map
 * Århus County, Denmark Colorblind Map

Tests
Note, these didn't work, we needed to use the JS solution.

Replace Text
Not needed, see solution above If the Test section below works, this regex might be used with ReplaceText to update all the imagemaps:
 * Find:
 * Replace:
 * Note: Only the  is required, the   is already applied to the imagemap element.