[Chameleon-dev] [Bug 1788] New: [Chameleon-Samples]When the map is resized the layers are not resized in JSAPI mode

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Fri Sep 7 16:57:41 EDT 2007


http://bugzilla.maptools.org/show_bug.cgi?id=1788

           Summary: [Chameleon-Samples]When the map is resized the layers
                    are not resized in JSAPI mode
           Product: Chameleon
           Version: 2.4
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Samples
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: nsavard at mapgears.com


We need to resize the layers (PanArrowsLayer, ReferenceLayer, etc) when the map
is resized.  We need to register for the MAP_SIZE_CHANGED event.  Some other
code than the one below maybe necessary.


function myOnLoad()
{
  CWC2OnLoadFunction()
  if(typeof goCWCJSAPI != "undefined")
  {
    goCWCJSAPI.RegisterEvent(MAP_SIZE_CHANGED, "LayerSetSizeInit");
  }

}



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Chameleon-dev mailing list