Skip to content
Snippets Groups Projects
Commit f5afd226 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

unused code removed

parent f5ebd71b
No related branches found
No related tags found
1 merge request!164Resolve "opening info window on submap doesn't work"
Pipeline #
"use strict";
var AbstractMarker = require('./AbstractMarker');
var AliasMarker = require('./AliasMarker');
var IdentifiedElement = require('../data/IdentifiedElement');
var PointMarker = require('./PointMarker');
......@@ -238,7 +237,6 @@ MarkerSurfaceCollection.prototype.removeUnmodifiedSurfaces = function (modifiedM
var surfaceOverlaysPerType = this._overlaySurfaces[dbOverlay.getName()];
for (var key in surfaceOverlaysPerType) {
if (surfaceOverlaysPerType.hasOwnProperty(key)) {
var mapOverlay = surfaceOverlaysPerType[key];
if (!modifiedSurfaces[key]) {
surfaceOverlaysPerType[key].setMap(null);
delete surfaceOverlaysPerType[key];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment