Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stwkit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
stw
stwkit
Commits
29c26725
Commit
29c26725
authored
Oct 05, 2017
by
Tomas Pettersson
🏸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
multipoint bugfix
parent
862ea9f6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
demo/index.html
demo/index.html
+4
-4
src/components/cards.js
src/components/cards.js
+2
-2
src/components/cards.js.map
src/components/cards.js.map
+1
-1
src/components/cards.ts
src/components/cards.ts
+2
-2
No files found.
demo/index.html
View file @
29c26725
...
@@ -161,13 +161,13 @@
...
@@ -161,13 +161,13 @@
var
locationoptions
=
{};
var
locationoptions
=
{};
var
initials
=
'
fo
'
;
var
initials
=
'
fo
'
;
var
type
=
'
object
'
;
var
type
=
'
object
'
;
locationoptions
[
'
single
'
]
=
fals
e
;
locationoptions
[
'
single
'
]
=
tru
e
;
locationoptions
[
'
multiple
'
]
=
fals
e
;
locationoptions
[
'
multiple
'
]
=
tru
e
;
locationoptions
[
'
line
'
]
=
fals
e
;
locationoptions
[
'
line
'
]
=
tru
e
;
locationoptions
[
'
polygon
'
]
=
{};
locationoptions
[
'
polygon
'
]
=
{};
locationoptions
[
'
polygon
'
][
'
show
'
]
=
true
;
locationoptions
[
'
polygon
'
][
'
show
'
]
=
true
;
// locationoptions['polygon']['name'] = 'Area';
// locationoptions['polygon']['name'] = 'Area';
locationoptions
[
'
circle
'
]
=
tru
e
;
locationoptions
[
'
circle
'
]
=
fals
e
;
locationoptions
[
'
type
'
]
=
type
;
locationoptions
[
'
type
'
]
=
type
;
locationoptions
[
'
initials
'
]
=
initials
;
locationoptions
[
'
initials
'
]
=
initials
;
var
locationid
=
'
locationCard
'
;
var
locationid
=
'
locationCard
'
;
...
...
src/components/cards.js
View file @
29c26725
...
@@ -284,8 +284,8 @@ var STWkit;
...
@@ -284,8 +284,8 @@ var STWkit;
map
.
fire
(
'
draw:canceled
'
);
map
.
fire
(
'
draw:canceled
'
);
};
};
finishButton
.
style
.
display
=
'
none
'
;
finishButton
.
style
.
display
=
'
none
'
;
//
3
is multipoint type in coordinates control
//
4
is multipoint type in coordinates control
if
(
self
.
control
.
getType
()
==
3
)
if
(
self
.
control
.
getType
()
==
GeometryType
.
MULTIPOINT
)
finishButton
.
style
.
display
=
''
;
finishButton
.
style
.
display
=
''
;
var
cancelButton
=
L
.
DomUtil
.
create
(
'
button
'
,
'
uk-button uk-button-small
'
,
exitPanel
);
var
cancelButton
=
L
.
DomUtil
.
create
(
'
button
'
,
'
uk-button uk-button-small
'
,
exitPanel
);
cancelButton
.
textContent
=
'
Cancel
'
;
cancelButton
.
textContent
=
'
Cancel
'
;
...
...
src/components/cards.js.map
View file @
29c26725
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/components/cards.ts
View file @
29c26725
...
@@ -310,8 +310,8 @@ module STWkit {
...
@@ -310,8 +310,8 @@ module STWkit {
map
.
fire
(
'
draw:canceled
'
);
map
.
fire
(
'
draw:canceled
'
);
};
};
finishButton
.
style
.
display
=
'
none
'
;
finishButton
.
style
.
display
=
'
none
'
;
//
3
is multipoint type in coordinates control
//
4
is multipoint type in coordinates control
if
(
self
.
control
.
getType
()
==
3
)
finishButton
.
style
.
display
=
''
;
if
(
self
.
control
.
getType
()
==
GeometryType
.
MULTIPOINT
)
finishButton
.
style
.
display
=
''
;
var
cancelButton
=
<
HTMLButtonElement
>
L
.
DomUtil
.
create
(
'
button
'
,
'
uk-button uk-button-small
'
,
exitPanel
);
var
cancelButton
=
<
HTMLButtonElement
>
L
.
DomUtil
.
create
(
'
button
'
,
'
uk-button uk-button-small
'
,
exitPanel
);
cancelButton
.
textContent
=
'
Cancel
'
;
cancelButton
.
textContent
=
'
Cancel
'
;
cancelButton
.
onclick
=
function
(
e
)
{
cancelButton
.
onclick
=
function
(
e
)
{
...
...
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