User blog comment:DaNASCAT/Technical Update: April 4, 2016/@comment-5973717-20160405165540/@comment-1251315-20160405173833

An extension already exists that users can request that does the same thing as Wikia's own Maps feature. I don't think I'd want to be using any JS solution you come up considering you were trying to create a virus scanner.