[OpenLayers-Users] OverviewMap gives error

Francisco Domingues fmsd91 at hotmail.com
Mon Apr 16 19:05:47 EDT 2007


Hi all!
Thanks for the previous help, I was able to correct the code with your 
replies.
I was reading how to create the overviewmap and I tried all types of things 
but I can't display my overview map. What I have wrong in my code?



    var options3 = {

        projection: 'epsg:21781',

        units: 'm',

        numZoomLevels: 1,

        layers: [googleMap.clone()],

        maxExtent: new OpenLayers.Bounds(-20,30,30,70)};


    var overview = new OpenLayers.Control.OverviewMap({mapOptions: 
options3});

    map.addControl(overview);

    overview.maximizeControl();


Thanks!

Francisco Domingues

_________________________________________________________________
MSN Messenger: converse com os seus amigos online. 
http://messenger.msn.com.br




More information about the Users mailing list