[OpenLayers-Users] Controls not working

Christopher Schmidt crschmidt at metacarta.com
Wed Apr 2 07:38:53 EDT 2008


On Wed, Apr 02, 2008 at 08:47:56AM +0200, Frédéric Junod wrote:
> Hi,
> 
> You can't use the ScaleLine control because you're using and old version of
> OpenLayers (http://www.openlayers.org/api/OpenLayers.js version 2.5). The
> ScaleLine control was added after the 2.5 release.
> 
> You have to use a more recent version of OpenLayers, the new stable release is
> not ready yet but you can use the release candidate:
> http://openlayers.org/api/2.6-rc1/OpenLayers.js
> But this is not the final code !! When the final 2.6 will be released this url
> will become obsolete ... 

Nothing in /api/ Ever goes away: You can continue to use 2.6-rc1 for all
time, but it would not be wise to. However, it's only obsolete in the
same way that /api/2.4/ is: You can safely use this in your application,
you should just be aware that as soon as 2.6 is released, it will make
sense for you to switch.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list