[mapguide-users] Fusion 2.0 and OverviewMap error

Mike Adair madair at dmsolutions.ca
Mon Sep 27 09:30:21 EDT 2010


  Did you point the Overview widget to use your mini map?

<Widget xsi:type="WidgetType">
<Name>OverviewMap</Name>
<Type>OverviewMap</Type>
<Description/>
<Extension xsi:type="CustomContentType">
<MapId>OverViewMap</MapId> <<<---- this is the id of the MapGroup to be 
used in the overview
</Extension>
</Widget>


Mike

On 9/27/2010 8:24 AM, Jose Cerrejon wrote:
> I'm using 2.0 on Mapguide 2.1 and runs OK, except overview map. The overview
> map is replaced with the map. This is my MapGroup:
>
>    <MapGroup id="Map" xsi:type="MapType">
> 	<Map xsi:type="MapGuideLayerType">
>           <Type>MapGuide</Type>
>           <SingleTile>true</SingleTile>
>           <Extension>
>
> <ResourceId>Library://myproyect/Maps/Map.MapDefinition</ResourceId>
>                <ProjectionCode>EPSG:23029</ProjectionCode>
>                <ProjectionDef>+proj=utm +zone=29 +ellps=intl +units=m
> +no_defs</ProjectionDef>
>                <ImageFormat>JPG</ImageFormat>
>                <SelectionAsOverlay>true</SelectionAsOverlay>
>                <SelectionFormat>PNG</SelectionFormat>
>                <SelectionColor>0xFF5300FF</SelectionColor>
>           </Extension>
>    </Map>
> 	</MapGroup>
> 	<MapGroup id="OverViewMap" xsi:type="MapType">
> 	<Map xsi:type="MapGuideLayerType">
>           <Type>MapGuide</Type>
>           <SingleTile>true</SingleTile>
>           <Extension>
>
> <ResourceId>Library://myproyect/Maps/MiniMap.MapDefinition</ResourceId>
>           </Extension>
>    </Map>
> 	</MapGroup>
>
> So instead of load the OverviewMap, load the Map image twice (map and
> overview map).
>
> Any idea?

-- 
    Michael Adair
    Senior Software Architect
    DM Solutions Group Inc.

    Office: (613) 565-5056 x26
    madair at dmsolutions.ca
    http://www.dmsolutions.ca
    http://research.dmsolutions.ca




More information about the mapguide-users mailing list