Ticket #2490 (closed bug: fixed)
ArcIMS as base layer blows up the Overview Map control
| Reported by: | vbokin | Owned by: | tschaub |
|---|---|---|---|
| Priority: | critical | Milestone: | 2.10 Release |
| Component: | Control.OverviewMap | Version: | 2.8 |
| Keywords: | Cc: | ||
| State: | Complete |
Description
When an ArcIMS layer is a base layer, the overview map doesn't load and errors are throw in
Grid.js.addTileMonitoringHooks(tile)
the "tile" that is passed is undefined. I was able to trace it back to
Grid.js.initGriddedTiles(..)
=> line 408
if (!tile) { tile = this.addTile(tileBounds, px); this.addTileMonitoringHooks(tile); row.push(tile); } else { tile.moveTo(tileBounds, px, false); }
The call to
tile = this.addTile(tileBounds, px);
returns UNDEFINED. So it seems that the actual error is in ArcIMS.js.addTile(...)
To replicate:
1) Take the basic ArcIMS example
2) Add 1 line at the end of the init() routine to add the overview map
map.addControl (new OpenLayers.Control.OverviewMap( ) );
3) Load sample HTML file -> map loads, but the overview control throws errors
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

