Removing an unused function from Tile -- should be in the subclassed WFS tile, but not here.
Cleaning up example.html problems -- commenting out closing comment in <script> tag git-svn-id: http://svn.openlayers.org/trunk/openlayers@4 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -32,34 +32,6 @@ OpenLayers.Tile.prototype = {
|
||||
}
|
||||
},
|
||||
|
||||
/** get the full request string from the ds and the tile params
|
||||
* and call the AJAX loadURL().
|
||||
*
|
||||
* input are function pointers for what to do on success and failure.
|
||||
*
|
||||
* @param {function} success
|
||||
* @param {function} failure
|
||||
*/
|
||||
loadFeaturesForRegion:function(success, failure) {
|
||||
|
||||
if (!this.loaded) {
|
||||
|
||||
var server = this.ds.serverPath;
|
||||
|
||||
if (server != "") {
|
||||
|
||||
var queryString = this.getFullRequestString();
|
||||
// TODO: Hmmm, this stops multiple loads of the data when a
|
||||
// result isn't immediately retrieved, but it's hacky.
|
||||
// Do it better.
|
||||
this.loaded = true;
|
||||
OpenLayers.Application.loadURL(queryString, null, this,
|
||||
success, failure);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
*/
|
||||
draw:function() {
|
||||
|
||||
Reference in New Issue
Block a user