Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
RegionChooser
Commits
16885631
Commit
16885631
authored
Dec 17, 2014
by
duminil
Browse files
Unneeded line for RegionChooser.
parent
23dfbe94
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/polygon.js
View file @
16885631
...
...
@@ -108,14 +108,13 @@ function Pen(map) {
this
.
updateDot
=
function
(
marker
)
{
var
old_dot
=
this
.
listOfDots
[
marker
.
zIndex
];
old_dot
.
setLatLng
(
marker
.
getPosition
());
this
.
polyline
.
remove
();
this
.
polyline
=
new
Line
(
this
.
listOfDots
,
this
.
map
);
this
.
polyline
if
(
null
!=
this
.
polygon
)
{
(
this
.
polygon
.
remove
());
this
.
polygon
=
null
;
this
.
drawPolygon
(
this
.
listOfDots
);
}
this
.
polyline
.
remove
();
this
.
polyline
=
new
Line
(
this
.
listOfDots
,
this
.
map
);
this
.
refreshInfo
();
}
}
...
...
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