[OpenLayers-Users] loadURL function

Eric Lemoine eric.lemoine at camptocamp.com
Wed Nov 25 05:19:22 EST 2009


On Wed, Nov 25, 2009 at 11:03 AM, David Potts <dave.potts at pinan.co.uk> 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 : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list