mark the OpenLayers.loadURL method as deprecated (replaced by OpenLayers.Request.GET). r=erilem,rdewit,ahocevar (closes #3443)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12206 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -39,8 +39,11 @@
|
||||
var doc = null;
|
||||
|
||||
function init() {
|
||||
var url = "xml/features.xml";
|
||||
OpenLayers.loadURL(url, null, null, loadSuccess, loadFailure);
|
||||
OpenLayers.Request.GET({
|
||||
url: "xml/features.xml",
|
||||
success: loadSuccess,
|
||||
failure: loadFailure
|
||||
});
|
||||
}
|
||||
|
||||
function loadSuccess(request) {
|
||||
|
||||
Reference in New Issue
Block a user