[OpenLayers-Users] Adding new zoombar control?

samd sdoyle_2 at yahoo.com
Thu Nov 29 14:11:13 EST 2007


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: []
      }
   );

Perhaps something else happening in the script however, we are just using
the map api for adding the controls setting center, extents etc.

S.D.



Christopher Schmidt-4 wrote:
> 
> On Wed, Nov 28, 2007 at 07:25:09PM -0800, samd wrote:
>> 
>> The last link you gave me shows a whole bunch of pink tiles on the botom. 
> 
> That's a result of a misconfigured TileCache. Is this the behavior you
> were seeing? This has nothing to do with the number of zoom levels.
> 
> Share a code example that causes it to happen, and others may be able to
> help you.
> 
> Regards,
> -- 
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://www.nabble.com/Adding-new-zoombar-control--tf4891748.html#a14032842
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list