[OpenLayers-Users] PanZoomBar goes wonky switching from Google
to non-Google basemap
Gregor at HostGIS
gregor at hostgis.com
Wed Mar 3 12:01:28 EST 2010
I did figure this out, BTW. The solution was to explicitly set the
correct maxResolution in your Map object's options:
maxResolution:156543.0339
This makes sense and is per the SphericalMercator documentation; just
was less obvious after 16 hours at the console. ;)
--
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