> Script Details
HTML Image Map Exporter for ArcMap 9.0
report inappropriate content
Jan 25 2007
Status of work
ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.
This VBScript provides a simple user interface for the generation of clickable html image map to be included in webpages. I have improved on other some of the other algorithms which can be found in ArcScripts. HTML generated is generally optimized to less than 50kb in size.
The script maps attribute table columns to area tag attributes so you can easily set the `name`, `title`, `href`, and `id` attributes. Polygons are automatically exploded, coordinate pairs are automatically clamped to the image boundary, and the area polygons are simplified as much as you like.
For instruction on installation and use, see the README.txt
You've got to enable the `Microsoft Scripting Runtime' to use this script. In the VisualBasic Macro Editor, from the Tools menu, select References. Scroll through the list of available references and check the box adjacent to the Microsoft Scripting Runtime library. Hit OK. You should be able to get up and running now.
Update: I had a report of the script not working with ArcGIS 9.0. To fix, change all references to `esriCore.Polygon' and `esriCore.Point' to esriGeometry.Polygon' and `esriGeometry.Point', respectively.
Update: Fixed `ThisDocument.cls' which was referencing the wrong form.
I am no longer using or updating this script. I have implemented a very effective, and more reliable solution which is available here: