The HTML Image Map generator can be used to automatically generate HTML image maps for districts on maps or other images of the same type
For more information, check out the blog post at Engagedc.com
To build the project on OS X, simply use the included xcode project, the app is only designed to be run on OSX. It should however be able to run on other platforms with only minor changes.
The app is written in C++, using SFML 2.0 as the only dependency (for visualization)