Remove warning because loadTilesWithAjax flag is not passed to the TileSource

This commit is contained in:
Jirka 2022-01-13 10:05:37 +01:00
parent e236ff0ea8
commit bd6ec09458

View File

@ -450,10 +450,6 @@ $.TileSource.prototype = {
var postData = null; var postData = null;
if (this.splitHashDataForPost) { if (this.splitHashDataForPost) {
if (!this.loadTilesWithAjax) {
console.warn("Ajax is not enabled, but post data are used. Post data is ignored " +
"without ajax in subsequent tile requests.");
}
var hashIdx = url.indexOf("#"); var hashIdx = url.indexOf("#");
if (hashIdx !== -1) { if (hashIdx !== -1) {
postData = url.substring(hashIdx + 1); postData = url.substring(hashIdx + 1);