[OpenLayers-Users] Adding new zoombar control?

Christopher Schmidt crschmidt at metacarta.com
Thu Nov 29 14:13:09 EST 2007


On Thu, Nov 29, 2007 at 11:11:13AM -0800, samd wrote:
> 
> Hi Chris, very basic this works:
> 
>   map = new OpenLayers.Map( "map",
>       {
>          controls: []
>       }
>    );
> 
> This produces the pink tiles:
>   map = new OpenLayers.Map( "map",
>       {
>          numZoomLevels: 5,
>          controls: []
>       }
>    );

No, this produces nothing. You have no layers, and you haven't set a
center.  

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list