[OpenLayers-Users] Overview Map showing CLOSER instead of FURTHER ?
Gregor at HostGIS
gregor at hostgis.com
Wed Jan 27 01:37:41 EST 2010
Hey all.
At this map, the overview map is showing a closer-up view than the main
map. Yes, it's zoomed IN instead of OUT, more of a magnifying glass than
a overview.
http://eixos.planol.info/map/index_icc.html?google=0
The map setup is done in
http://eixos.planol.info/map/map_icc.js
I've hit Google and not found a solution for this. I saw vague replies
about adjusting the OverviewMap's options, and something about
resolutions...
A fixed set of resolutions is used, since this is a remote TileCache
server outside my control. I tried creating a second copy of
resolutions[] as ovrresolutions[] and applying the second to the
OverviewMap's options. I make them slightly different, taking out the
top 2 from the main map and the lowest 2 from the overview map, e.g.
1100,550,... for the overview and 275,137.5,... for the min map. This
had no effect at all; I got the very same overviews and I changed it back.
Any ideas?
--
HostGIS, Open Source solutions for the global GIS community
Greg Allensworth - SysAdmin, Programmer, GIS Person, Security
Network+ Server+ A+ Security+ Linux+
PHP PostgreSQL MySQL DHTML/JavaScript/AJAX
"No one cares if you can back up — only if you can recover."
More information about the Users
mailing list