[mapguide-users] Re: BasemapSwitcher Widgets

Jose Cerrejon gis at mapas-sll.com
Thu Sep 30 08:50:13 EDT 2010


I think the problem is the file ApplicationDefinition.xml. 

Can I set a layer visibility to false?

Here is my AppDef:

  	 <Map> 
        <Type>MapGuide</Type> 
        <SingleTile>true</SingleTile> 
        <Extension> 
         
<ResourceId>Library://myproyect/Maps/Map-g.MapDefinition</ResourceId>
          <SelectionAsOverlay>true</SelectionAsOverlay>
          <SelectionColor>0x0000FFA0</SelectionColor>
          <Options> 
            <isBaseLayer>false</isBaseLayer>
            <userOverlay>true</userOverlay>
            <projection>EPSG:23029</projection> 
          </Options> 
        </Extension> 
      </Map>
      <Map>
        <Type>Google</Type>
        <SingleTile>true</SingleTile>
        <Extension>
          <ResourceId>Google</ResourceId>
          <Options>
            <name>Google Maps Street</name>
            <type>G_NORMAL_MAP</type>
          </Options>
        </Extension>
      </Map>
      </Map>
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/BasemapSwitcher-Widgets-tp5587497p5587628.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list