Commit 7ba4ef5c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

unused property removed

parent ddf901ed
......@@ -42,11 +42,6 @@ function CustomMap(options) {
AbstractCustomMap.call(this, options.getProject().getModel(), options);
this.setProject(options.getProject());
// set config parameters
// this.setGoogleMap(options.getMap());
this.buttons = [];
this.createSubmaps();
this.selectedLayouts = [];
......@@ -339,12 +334,9 @@ CustomMap.prototype.openLayoutByName = function(name) {
CustomMap.prototype.createMapMenu = function() {
var selfMap = this;
var buttons = [];
// create a button for overview images when the image is available
if (this.getTopOverviewImage() !== undefined && this.getTopOverviewImage() !== null) {
var submenuButtonDiv2 = document.createElement('button');
buttons.push(submenuButtonDiv2);
submenuButtonDiv2.id = "overview_button";
submenuButtonDiv2.innerHTML = "<i class='fa fa-sitemap' style='font-size:18px; font-weight:400; padding-right:10px;'></i> SHOW OVERVIEW";
submenuButtonDiv2.className = "overview_button";
......@@ -416,7 +408,6 @@ CustomMap.prototype.createMapMenu = function() {
rightHeaderMenu.appendChild(submenuDiv);
submenuButtonDiv = document.createElement('button');
buttons.push(submenuButtonDiv);
submenuButtonDiv.id = "clear_button";
submenuButtonDiv.className = "overview_button";
submenuButtonDiv.innerHTML = "<i class='fa fa-times' style='font-size:18px; font-weight:300; padding-right:10px;'></i> CLEAR";
......
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