[OpenLayers-Users] documentation

Jim White jbw2003 at earthlink.net
Wed Jan 30 20:05:53 PST 2013


Thanks Matt,

I see that  if you look in the source there are 2 different APIs also. I 
suppose you should try to build to the public API and resort to using 
the dev API when things don't work.

Jim



Actually, that is an intentional
       difference.
       The 1st link is to the 2.12 release API documentation. This is
       limited (by design) to public API methods (as marked in the docs
       within the code). Also since it is tied to the 2.12 release, it is
       a static snapshot of the api at the time of the latest 2.12
       release. The API methods are not supposed to change between
       releases and require at least 2 release cycles of deprecation
       warnings before being moved to the deprecated file and even then,
       by including the deprecated.js file, you can still get them back

       While, the 2nd link is to the 'trunk' or 'nightly' developer
       documentation. This documentation includes every documented method
       in every class and is updated every time a commit is made to the
       master branch of OpenLayers. The non-API methods may change or
       even be removed entirely between releases without warning or
       notice. Thus this documentation presents a very different view of
       the class methods and properties than the API documentation
-- 
James B. White
Cary, NC
H: 919-380-9615
M: 919-698-1765
White Coding and Maps <http://whitecodingandmaps.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130130/05218859/attachment.html>


More information about the Users mailing list