Opened 14 years ago

Closed 14 years ago

#74 closed defect (fixed)

invalid initial view in appdef causes javascript error

Reported by: pagameba Owned by: madair
Priority: P1 Milestone: 1.1
Component: Widgets Version: 1.0.6
Severity: Major Keywords:
Cc: Browser: All
External ID: Operating System: All
state: New

Description

If you set up an InitialView in a MapGroup and it is not valid (i.e. it is outside the extent defined in a MapServer map file) then you will get a javascript error in OpenLayers after the map loads.

Change History (1)

comment:1 by madair, 14 years ago

Resolution: fixed
Status: newclosed

(In [1451]) closes #74: added check to see if the initialView falls within the map maxExtent

Note: See TracTickets for help on using tickets.