This version is old school.
Please find jQuery plugins on npm.
Imapping map embedding plugin
by Filip Ilievski
JQuery plugin which allows a user to embed a custom map to a website, containing list of desired teritories and choice of drawing styles. Soon, user will be allowed to define events for mouse click on an area and multiple areas selection.