var myData_lte = new YMaps.TileDataSource("/images/y.coverage/tiles-lte", true, false);
var myData_wimax = new YMaps.TileDataSource("/images/y.coverage/tiles", true, false);
myData_lte.getTileUrl = function (tile, zoom) {
if ((zoom > minzoom) && is_tile_in_bounds($bound_zones, zoom, tile)) {
return this.getTileUrlTemplate() + "/" + zoom + "/" + tile.x + "-" + tile.y + ".png?" + update_date;
}
}
myData_wimax.getTileUrl = function (tile, zoom) {
if ((zoom > minzoom) && is_tile_in_bounds($bound_zones, zoom, tile)) {
return this.getTileUrlTemplate() + "/" + zoom + "/" + tile.x + "-" + tile.y + ".png?" + update_date;
}
}
var layer_lte = new YMaps.Layer(myData_lte);
var layer_wimax = new YMaps.Layer(myData_wimax);
YMaps.Layers.add("coverage#layer_lte", layer_lte);
YMaps.Layers.add("coverage#layer_wimax", layer_wimax);
var layer_lte = new YMaps.MapType(["coverage#layer_lte"], "LTE");
var layer_wimax = new YMaps.MapType(["coverage#layer_wimax"], "WiMax");