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:
crschmidt
2006-05-12 19:59:51 +00:00
parent 9b7861b42c
commit 0b5e49cd48
2 changed files with 3 additions and 36 deletions

View File

@@ -9,11 +9,6 @@
background-color: red;
}
</style>
<!--
<script src="js/3rd/prototype.js" ></script>
<script src="js/3rd/logger.js" ></script>
<script src="http://maps.google.com/maps?file=api&amp;v=1&amp;key=ABQIAAAAmQ3udCHPQVB_9T_edFZ7YRTcPsh3Vei3pvv-O2gjJ-8oYrRtdhQUNNh-FlqSqbWQTvBoeGLmUYa5EQ" type="text/javascript"></script>
-->
<script src="js/OpenLayers.js"></script>
<script type="text/javascript">
<!--
@@ -31,7 +26,7 @@
map.addLayer(layer);
map.setCenter(new OpenLayers.LatLon(lat, lon), zoom);
}
-->
// -->
</script>
</head>
<body onload="init()">

View File

@@ -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() {