[OpenLayers-Users] API doc
Steve.Toutant at inspq.qc.ca
Steve.Toutant at inspq.qc.ca
Mon Jul 27 09:27:19 EDT 2009
Hello,
I'm confuse by which API docs link to use.
To define the MousePosition Control I use the "element" properties. Like
this.
var MousePosition = new OpenLayers.Control.MousePosition({element:
$('mouseTrack')});
The element properties is defined here
http://dev.openlayers.org/docs/files/OpenLayers/Control/MousePosition-js.html
On mapfish mailing list someone refered me to this link and proposed me to
use the "DIV" properties instead, this link doesn't contain the "element"
properties
http://dev.openlayers.org/apidocs/files/OpenLayers/Control/MousePosition-js.html
So I thought that /apidocs/ was the good link to use.
But there, the DIV properties is not defined
http://dev.openlayers.org/apidocs/files/OpenLayers/Control-js.html
It is there though "/docs/"
http://dev.openlayers.org/docs/files/OpenLayers/Control-js.html
Also there is another link for v2.8. The DIV properties is not there
http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Control-js.html
In these 3 links ../Control-js.html above, the properties list is not the
same.
I guess only one link should be used, is /apidocs/ the official OL class
doc?
Thanks
Steve
Steve Toutant, M. Sc.
Analyste en géomatique
Secteur environnement
Direction des risques biologiques, environnementaux et occupationnels
Institut national de santé publique du Québec
945, avenue Wolfe
Québec, Qc G1V 5B3
Tél.: (418) 650-5115 #5281
Fax.: (418) 654-3144
steve.toutant at inspq.qc.ca
http://www.inspq.qc.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090727/a978cfe0/attachment.html
More information about the Users
mailing list