These misalignments happen at zoom levels greater than or equal to 16. As you 
might know, Google  Terrain provides 20 zoom levels. Apparently this is a bug 
within Openlayers.
My current "workaround" is to set the numZoomlevels to 16 for Google Terrain 
map.

Thanks.

JK
From: [email protected] 
[mailto:[email protected]] On Behalf Of JK Chen
Sent: Wednesday, June 15, 2011 1:52 PM
To: [email protected]
Subject: [OpenLayers-Users] Google Terrian map does not align with geometry

Hi,

My application draws many geometries (basically, polygons, each representing 
captured aerial images). All of my geometries align correctly with Google 
Street, Satellite, Hybrid maps, but not correctly with Google Terrian map.

While in Google Terrian map, when I zoom in to say zoom levels more than 10, 
the mis-alignment starts to show up, and another issue also starts showing up, 
the rectangle of my geometry becomes movable. All of these are simply wrong. 
These will render the application unreliable which means useless for our users.

Can anyone share some thoughts about these behaviors? How to fix them?

How Reliable is OpenLayers? I'm seeing many un-reliability and inconsistence.

Thanks.

JK
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to