Changes between Version 12 and Version 13 of MapGuideCommercialOverlays


Ignore:
Timestamp:
Jul 22, 2009, 10:57:28 AM (13 years ago)
Author:
zjames
Comment:

added projection tag needed to avoid resolution problems

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideCommercialOverlays

    v12 v13  
    151151                   <isBaseLayer>false</isBaseLayer>
    152152                   <useOverlay>true</useOverlay>
     153                   <projection>EPSG:900913</projection>
    153154              </Options>
    154155              <ResourceId>Library://Samples/Sheboygan/Maps/Sheboygan-m.MapDefinition</ResourceId>
     
    158159}}}
    159160
    160 '' Note that the commercial layer must be the base layer so any overlays must have the isBaseLayer: false option set. You can also
     161'' Note that the commercial layer must be the base layer so any overlays must have the isBaseLayer: false option set. The projection tag is needed so that OpenLayers will initialize the layer in the same projection as the base map. You can also
    161162pass other [http://openlayers.org/ OpenLayers] layer options in the Options tag. For example, <opacity>0.8</opacity> creates a semi-transparent appearance.''
    162163