[fusion-users] fusion-users Digest, Vol 50, Issue 5

Wang, Ya Ya.Wang at vta.org
Thu Jun 21 13:35:10 PDT 2012


Hello All,

I am struggling with the "OverviewMap" widget in Fusion for Mapserver. I wish someone can help me. Here is my problem. I change the map projection for the map in the "Map" widget into EGSG:2227. The map in the "Map" widget works fine. However, the map in the "OverviewMap" widget doesn't show up any more. When I check the URL link for both maps, I found the problem is caused by improper values set for parameters: mapext and imgext, for the map in the "OverviewMap" widget. 

Here are urls for both the correct map and the no-show map:

For the map in the "Map" widget:
http://.../mapserv.fcgi?...&mapext=5985199.9588088+1779918.68+6436662.8111912+2007271.74&imgext=5985199.9588088+1779918.68+6436662.8111912+2007271.74&map_size=1392+701&imgx=696&imgy=350.5&imgxy=1392+701

For the map in the "OverviewMap" widget:

http://.../mapserv.fcgi?...&mapext=6210927.0234094+1893590.6521378+6210935.7465906+1893599.7678622&imgext=6210927.0234094+1893590.6521378+6210935.7465906+1893599.7678622&map_size=200+209&imgx=100&imgy=104.5&imgxy=200+209

Seems that the mapext for the no show map is such a small bound that nothing is contained in it.  I am wondering how I can fix this problem. In addition, I am wondering how and where the mapext and imgext for the map in the "OverviewMap" are calculated. I don't see it in OverviewMap.js. 

Many Thanks,

Ya


More information about the fusion-users mailing list