[fusion-users] Overview Map

Mike Adair madair at dmsolutions.ca
Thu Mar 18 11:50:08 EDT 2010


Are you guys using Fusion trunk?  This is the case of using a separate 
map for the overview I assume? 

Can I get you to open a ticket for this and target v2.0 as the milestone.

Thanks,

Mike

Kori Maleski wrote:
> I have had the same issue.
>
> On line 110 of OverviewMap.js, add the following 2 lines:
>
>         this.mapObject.projection = this.getMap().oMapOL.getProjection()
>         this.mapObject.oLayerOL.projection = 
> this.getMap().oMapOL.getProjection()
>
> That will workaround the projection issue.  Haven't fully tested - may 
> need further tweaking.
>
>
>
> Cheers,
>
> Kori Maleski
>
> On Wed, Mar 17, 2010 at 12:53 PM, Mark Pendergraft 
> <markp at meadgilman.com <mailto:markp at meadgilman.com>> wrote:
>
>
>     I'm having a problem with the overview map not displaying properly
>     when I
>     have a coordinate system other than LL84 defined for my map.  The
>     overview
>     map seems to have the wrong coordinate system attached to it,
>     which throws
>     off the scale of the overview map and also causes the red
>     rectangle not to
>     show up.
>
>     Previously I had an issue with my map not displaying properly
>     (being zoomed
>     out too far, units didn't correspond to my map, etc.) which was
>     resolved by
>     adding a <ProjectionCode> and <ProjectionDef> to the Map element.
>      However
>     the Overview Map still behaves in the same fashion that the map
>     did prior to
>     adjusting the above settings.  I think the Overview Map is still
>     trying to
>     display my map, which is in EPSG:2926 in the default projection
>     EPSG:4326
>
>     Is anyone else experiencing this issue?  And has anyone come up with a
>     workaround that doesn't involve a reprojected copy of the same map?
>
>     Thanks.
>
>     -Mark P.
>     --
>     View this message in context:
>     http://n2.nabble.com/Overview-Map-tp4752630p4752630.html
>     Sent from the Fusion Users mailing list archive at Nabble.com.
>     _______________________________________________
>     fusion-users mailing list
>     fusion-users at lists.osgeo.org <mailto:fusion-users at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/fusion-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
>   

-- 
   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 fusion-users mailing list