Customer Service | Training | Contact Us
You are here: Home > Downloads > ArcScripts > Search Results > Script Details Login | Feedback | Help

Map Viewer (Third Edition)



contact author | download help | add bookmark | view bookmarks
Author Howie Sternberg
File Name mapviewer3.zip
Language ASP
Last Modified Dec 15 2006
Status of work Public Domain
Software ArcIMS
File Size 1103.44 kb
Downloads 3253

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.


Summary
Map Viewer (Third Edition) is a template application that can be customized for developing more complex ASP applications that query and display Image and ArcMap Image services from ArcIMS. After downloading open ABOUT.HTM for instructions and CHANGELOG.HTM for recent enhancements and bug fixes. Map Viewer was significantly updated and improved on Jul 10, 05. Bug fix on Dec 15, 06 to fix problem with Select, Pan To and Zoom To functions with map services in decimal degrees.

Supports ArcIMS Image and ArcIMS ArcMap server. Supports W3C DOM compatible browsers. Includes horizontal menu bar, draggable pan, rubber-band zoom, center zoom, full view, zoom to scale, multi-layer identify, rubber-band select feature tool, and auto select feature. Data table lists selected feature attributes. Sort, reselect, zoom to, and label selected features.

Developer control over which layers are listed by the Layers function and whether user can change the visibility of a layer, include a layer's legend on a map, identify a layer, or select features from a layer. Developer control over position and initial size of map image. User control over whether the (zoom to) scale value displayed by Map Viewer describes the scale of the map when printed on paper or the scale of the map when viewed on the computer screen. User control over the type, size, pattern, transparency, and color of symbols used to display selected point, line and polygon features. User control over the font, style, size, and color of the font symbol used to label selected features. User control over image size.

Map Viewer uses the ArcIMSConnector.SendAxlRequest() method to send ArcXML requests to the ArcIMS Server and XSLT Stylesheets to transform all ArcXML responses into formats suitable for ASP to write HTML responses. Map Viewer comes pre-configured to access map services such as the ESRI_Quake and ESRI_Landuse map services on the Geography Network. Configure Map Viewer to access your own map services by editing the mapviewer.xml XML file. Set desired default settings (e.g. image size and scale bar map units) by editing the properties.xml XML file that comes with Map Viewer. No need to edit ASP. No ASP Application or Session variables. All client state preserved in HTML form. No HTML frames. All content is in a single page. Use the browser's Back and Forward buttons to revisit previous map pages and then pan/zoom the map to a different location or use a different map function than before.

Map Viewer was developed and tested in following ArcIMS Server environments - (1) Windows XP Pro, ArcIMS 4.0.1, ActiveX Connector, ServletExec 4.1.1, Java SDK 1.4.0. and (2) Windows XP Pro, ArcIMS 9.0, ActiveX Connector, ServletExec 5.0, Java SDK 1.4.2., ArcIMS 9.1, ActiveX Connector, ServletExec 5.0, Java SDK 1.4.2.