On Wed, Nov 25, 2009 at 11:03 AM, David Potts <[email protected]> wrote:
>
> Quick question about the location of the loadURL function
>
> The documentation lists this function as being part of the Ajax package,
> see
> http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Ajax-js.html#loadURL
>
> But if you look at the source code OpenLayers-2.8/lib/OpenLayers/Ajax.js
> at line 71, the function is declared to be part of the OpenLayers
> namespace ie
>
> OpenLayers.loadURL = function(uri, params, caller,
>                                  onComplete, onFailure) {
>

loadURL is in the OpenLayers namespace. Although the section is named
"loadURL" in the documentation, the signature of the function provided
at the beginning of the section makes it clear that it's part of the
OpenLayers namespace.


Cheers,

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to