[OpenLayers-Users] Overview problem on google layer
Fred Estrela
fredestrela at gmail.com
Wed Sep 30 10:27:43 EDT 2009
Hello everyone,
I have the following code.
var controlOptions = {
mapOptions: {
projection: new OpenLayers.Projection("EPSG:900913"),
displayProjection: new OpenLayers.Projection("EPSG:4326"),
units:'dd',
maxResolution: 'auto',
maxExtent: Navegador.getMap().getMaxExtent()},
layers: [Navegador.getBaseLayer()],
};
overview = new OpenLayers.Control.OverviewMap(controlOptions);
Navegador.addControl(overview);
The overview control does not work for the google, yahoo and virtual earth
layer, but it works fine for "my" wms base layer. Can someone help me?
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090930/a7460a7c/attachment.html
More information about the Users
mailing list