Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
f5afd226
Commit
f5afd226
authored
Jan 24, 2018
by
Piotr Gawron
Browse files
unused code removed
parent
f5ebd71b
Pipeline
#3051
passed with stage
in 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
frontend-js/src/main/js/map/marker/MarkerSurfaceCollection.js
View file @
f5afd226
"
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
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment