Commit 618a4e27 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

show legend function removed from CustomMap

parent da65706a
......@@ -177,14 +177,6 @@ CustomMap.prototype.createBelt = function() {
this.getGoogleMap().controls[google.maps.ControlPosition.TOP_LEFT].push(this.divBelt);
};
CustomMap.prototype.setLegendVisible = function(vis) {
if (vis) {
document.getElementById('legend').style.display = 'block';
} else {
document.getElementById('legend').style.display = 'none';
}
};
CustomMap.prototype.clearOverlays = function() {
for ( var overlayName in this.overlayCollections) {
if (this.overlayCollections.hasOwnProperty(overlayName)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment