I am playing around with the OWSExplorer from the trunk and I have noticed
that sometimes when the mapper loads in IE6 it starts out with the layer
control or at least the checkboxes for layers are superimposed up in the
right corner of the map pane.  Actually I have noticed this happens with rc1
too.

 

Has anyone experienced this, and if so do you have any ideas on how to fix
it?

 

My config file is attached.

 

Thank you,

 

Jeff Cavner

[EMAIL PROTECTED]

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<MapbuilderConfig version="0.2.1" id="contextEditorDemoConfig" 
      xmlns="http://mapbuilder.sourceforge.net/mapbuilder"; 
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
      xmlns:xlink="http://www.w3.org/1999/xlink";
      xsi:schemaLocation="http://mapbuilder.sourceforge.net/mapbuilder ../../lib/schemas/config.xsd">
  <!--
    Description: This configuration file determines what components from the
                 Mapbuilder library are to be included in a Main Mapbuilder web
                 page.
    Licence:     LGPL as per: http://www.gnu.org/copyleft/lesser.html 

    $Id: config.xml 3739 2007-12-13 22:58:36Z ahocevar $
  -->
  <!--<proxyUrl>http://localhost/mapbuilder/server/php/proxy.php</proxyUrl> -->
  <models>
    <OwsContext id="mainMap">
      <defaultModelUrl>../data/context/experimental_wms.xml</defaultModelUrl>
      			
      
      <widgets>
        <MapPaneOL id="mainMapWidget">
          <htmlTagId>mainMapPane</htmlTagId>
          <fixedSize>true</fixedSize>
        </MapPaneOL>
        <CursorTrack id="cursorTrack"/>
        <LayerControl id="contextLegend">
          <htmlTagId>workspace</htmlTagId>
          <outputNodeId>workspaceCanvas</outputNodeId>
          <legendImageEnable>/images/LegendEnable.png</legendImageEnable>
          <legendImageDisable>/images/LegendDisable.png</legendImageDisable> 
          <moveUpImage>/images/LayerMoveUpDisable.png</moveUpImage>
          <moveDownImage>/images/LayerMoveDownDisable.png</moveDownImage>
          <deleteImage>/images/LayerRemoveDisable.png</deleteImage>
        </LayerControl>
        <Loading2 id="loading2">
        </Loading2>
        
      </widgets>
      
      <tools>      
        <WebServiceRequest id="featureInfoController">
          <targetModel>featureInfoResponse</targetModel>
          <requestName>wms:GetFeatureInfo</requestName>
          <infoFormat>application/vnd.ogc.gml</infoFormat>
          <featureCount>1</featureCount>
        </WebServiceRequest>
      </tools>
      
      <nodeSelectXpath>/wmc:ViewContext/wmc:LayerList/wmc:Layer</nodeSelectXpath>
    </OwsContext>
    
    <StyledLayerDescriptor id="sld">
      <defaultModelUrl>features.sld</defaultModelUrl>
      
    </StyledLayerDescriptor> 
    
    <Context id="locator">
      <defaultModelUrl>../data/context/locatorMap.xml</defaultModelUrl>
      <widgets>
        <MapPaneOL id="locatorWidget">
          <htmlTagId>locatorMap</htmlTagId>
          <targetModel>mainMap</targetModel>
          <fixedSize>true</fixedSize>
          <imageBuffer>1</imageBuffer>
        </MapPaneOL>
        <AoiBoxDHTML id="aoiBoxLocator">
          <htmlTagId>locatorMap</htmlTagId>
          <lineColor>#FF0000</lineColor>
          <lineWidth>1</lineWidth>
          <crossSize>15</crossSize>
        </AoiBoxDHTML>
      </widgets>
      <tools>
        <AoiMouseHandler id="locatorAoi" />
        <ZoomToAoi id="locatorZoomToAoi">
          <targetModel>mainMap</targetModel>
        </ZoomToAoi>
      </tools>
    </Context>
    
    <Model id="myMapCollection">
      <defaultModelUrl>../data/context/worldMapsCollection.xml</defaultModelUrl>
      <widgets>
        <CollectionList id="mapList">
          <targetModel>mainMap</targetModel>
        </CollectionList>
      </widgets>
    </Model>
    <!-- use this with a WFS capabilities model -->
    <WfsCapabilities id="wfsCapTemplate" >
      <!-- <defaultModelUrl>http://localhost:8080/geoserver/wfs?version=1.0.0&amp;service=WFS&amp;request=GetCapabilities</defaultModelUrl> -->
      <defaultModelUrl>http://localhost/experimental_capabilities.xml</defaultModelUrl> 
      <models>
      <!--
        <Model id="featureTypeTemplate" template="true">
          <widgets>
            <FilterAttributes id="attributeFilter">
              <htmlTagId>workspace</htmlTagId>
              <outputNodeId>workspaceCanvas</outputNodeId>
            </FilterAttributes>
          </widgets>
        </Model>
        -->
        <FeatureCollection id="getFeatureTemplate" >
        <!--<defaultModelUrl>../data/my_gml/2.xml</defaultModelUrl>-->
        
          <method>get</method>
          <widgets>
           
            <GmlRendererOL id="testGmlRenderer">
              <targetModel>mainMap</targetModel>
              <sldModel>sld</sldModel>
              <defaultStyleName>Normal</defaultStyleName>
              <selectStyleName>Highlite</selectStyleName>
              
              <featureOnClick>featurePopup</featureOnClick> 
            </GmlRendererOL>
            <TipWidgetOL id="featurePopup">
                   <stylesheet>datapopup.xsl</stylesheet>
                   <width>275</width>
                   <height>137</height>
                   <opacity>0.8</opacity>
                   <backgroundColor>#D0D0D0</backgroundColor>
                   <border>1px solid black</border>
            </TipWidgetOL> 
          <!--<Legend id="wfsLegend">
              <htmlTagId>legend</htmlTagId>
              <outputNodeId>workspaceCanvas</outputNodeId>
            </Legend> -->
          </widgets>
      <tools> 
       <FeatureSelectHandler id="featureHighlighter">
          <targetModel>mainMap</targetModel>
        </FeatureSelectHandler>
      </tools> 
      
      <namespace>xmlns:wmc="http://www.opengis.net/context"; xmlns:gml="http://www.opengis.net/gml"; xmlns:nmepht="http://rgis.unm.edu"; xmlns:wfs="http://www.opengis.net/wfs";</namespace> 
     <!--
      <nodeSelectXpath>//gml:featureMember</nodeSelectXpath> 
      <featureTagName>//nmepht:FIPS</featureTagName>
      <coordsTagName>gml:outerBoundaryIs</coordsTagName>
      <coordSelectXpath>//gml:outerBoundaryIs/gml:LinearRing/gml:coordinates</coordSelectXpath>
      -->
        </FeatureCollection> 
        <!--Transaction id="transactionTemplate" template="true">
          <method>post</method>
          <widgets>
            <TransactionResponse id="transResponse"/>
          </widgets>
        </Transaction-->
      </models>
      <widgets>
        <SelectFeatureType id="featureTypes">
          <htmlTagId>workspace</htmlTagId>
          <outputNodeId>workspaceCanvas</outputNodeId>
          <toolId>wfsController</toolId>
        </SelectFeatureType>
        <ModelUrlInput id="wfsUrlInput">
          <htmlTagId>workspace</htmlTagId>
          <outputNodeId>workspaceCanvas</outputNodeId>
          <title>Enter a WFS GetCapabilities URL:</title>
        </ModelUrlInput>
      </widgets>
      <tools>
      
        <WebServiceRequest id="wfsGetFeature">
          <targetModel>getFeatureTemplate</targetModel>
          <requestName>wfs:GetFeature</requestName>
          <maxFeatures>40</maxFeatures>
        </WebServiceRequest> 
        <!--<WebServiceRequest id="wfsDescribeFeature">
          <targetModel>featureTypeTemplate</targetModel>
          <requestName>wfs:DescribeFeatureType</requestName>
        </WebServiceRequest> -->
        <!--WebServiceRequest id="wfsTransaction">
          <targetModel>transactionTemplate</targetModel>
          <requestName>wfs:Transaction</requestName>
        </WebServiceRequest-->
        <EditContext id="editContext2">
          <targetModel>mainMap</targetModel>
        </EditContext> 
      </tools>
      <nodeSelectXpath>/wfs:WFS_Capabilities/wfs:FeatureTypeList/wfs:FeatureType</nodeSelectXpath>
    </WfsCapabilities>
    <WmsCapabilities id="wmsCapTemplate">
      <title>OGC Web Map Server (WMS)</title>
      <!-- <defaultModelUrl>http://localhost:8080/geoserver/wms?request=GetCapabilities&amp;service=WMS</defaultModelUrl> -->
      
     <defaultModelUrl>http://129.24.63.89/cgi-bin/nm_epht/wms_client.py?MAP=my_wms.map&amp;WMTVER=1.1.1&amp;Service=WMS&amp;REQUEST=GetCapabilities&amp;sid=66964</defaultModelUrl>
      
      <models>
        <Model id="featureInfoResponse" template="true">
          <widgets>
            <FeatureInfo id="features">
              <htmlTagId>workspace</htmlTagId>
              <outputNodeId>workspaceCanvas</outputNodeId>
            </FeatureInfo>
          </widgets>
          <namespace>xmlns:gml='http://www.opengis.net/gml' xmlns:wfs='http://www.opengis.net/wfs' xmlns:topp='http://www.openplans.org/topp'</namespace>
        </Model>
      </models>
      <widgets>
        <SelectMapLayers id="layerList">
          <htmlTagId>workspace</htmlTagId>
          <outputNodeId>workspaceCanvas</outputNodeId>
        </SelectMapLayers>
        <ModelUrlInput id="wmsUrlInput">
          <htmlTagId>workspace</htmlTagId>
          <outputNodeId>workspaceCanvas</outputNodeId>
          <title>Enter a WMS GetCapabilities URL:</title>
        </ModelUrlInput>
      </widgets>
      <tools>
        <WebServiceRequest id="wmsController">
          <targetModel>featureInfoResponse</targetModel>
          <requestName>wms:GetFeatureInfo</requestName>
        </WebServiceRequest>
        <EditContext id="editContext">
          <targetModel>mainMap</targetModel>
        </EditContext>
      </tools>
      <nodeSelectXpath>//Layer</nodeSelectXpath>
    </WmsCapabilities>
  </models>
  <widgets>
    <ZoomIn id="zoomIn">
      <buttonBar>mainButtonBar</buttonBar>
      <targetModel>mainMap</targetModel>
      <class>RadioButton</class>
      <selected>true</selected>
      <enabledSrc>/images/ZoomInEnable.png</enabledSrc>
      <disabledSrc>/images/ZoomInDisable.png</disabledSrc>
    </ZoomIn>
    <ZoomOut id="zoomOut">
      <buttonBar>mainButtonBar</buttonBar>
      <targetModel>mainMap</targetModel>
      <class>RadioButton</class>
      <enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
      <disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
    </ZoomOut>
    <DragPan id="dragPan">
      <buttonBar>mainButtonBar</buttonBar>
      <targetModel>mainMap</targetModel>
      <class>RadioButton</class>
      <enabledSrc>/images/PanEnable.png</enabledSrc>
      <disabledSrc>/images/PanDisable.png</disabledSrc>
    </DragPan>
    <GetFeatureInfoWSR id="getFeatureInfo">
      <buttonBar>mainButtonBar</buttonBar>
      <targetModel>mainMap</targetModel>
      <class>RadioButton</class>
      <enabledSrc>/images/QueryEnable.png</enabledSrc>
      <disabledSrc>/images/QueryDisable.png</disabledSrc>
      <controller>featureInfoController</controller>
    </GetFeatureInfoWSR>
    <Reset id="reset">
      <buttonBar>mainButtonBar</buttonBar>
      <targetModel>mainMap</targetModel>
      <class>Button</class>
      <disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
    </Reset>
    <Save id="save">
      <buttonBar>mainButtonBar</buttonBar>
      <targetModel>mainMap</targetModel>
      <class>Button</class>
      <disabledSrc>/images/SaveDisable.png</disabledSrc>
      <popupWindowName>modelXML</popupWindowName>
    </Save>
  </widgets>
  <!--
    All static images should be relative to this URL.
    This dir is relative the dir of the main html file.
  -->
  <skinDir>../../lib/skin/default</skinDir>
</MapbuilderConfig>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users

Reply via email to