Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaflet-oilspill-control
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
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
stw
leaflet-oilspill-control
Commits
c7821af2
Commit
c7821af2
authored
Jan 24, 2018
by
Tomas Pettersson
🏸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
guide pos fixes
parent
8b4aae10
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
dist/leaflet-oilspill-control.js
dist/leaflet-oilspill-control.js
+7
-2
src/leaflet-oilspill-cards.js
src/leaflet-oilspill-cards.js
+1
-0
src/leaflet-oilspill-cards.js.map
src/leaflet-oilspill-cards.js.map
+1
-1
src/leaflet-oilspill-cards.ts
src/leaflet-oilspill-cards.ts
+1
-0
No files found.
dist/leaflet-oilspill-control.js
View file @
c7821af2
...
...
@@ -15,13 +15,15 @@ var __extends = (this && this.__extends) || (function () {
})();
var
OSLocation
=
(
function
(
_super
)
{
__extends
(
OSLocation
,
_super
);
function
OSLocation
(
id
,
parentDiv
,
lang
,
langData
,
map
,
forcing
,
obs
,
domain
,
type
,
subtype
,
initials
)
{
function
OSLocation
(
id
,
parentDiv
,
lang
,
langData
,
map
,
forcing
,
obs
,
domain
,
guide
,
type
,
subtype
,
initials
)
{
var
_this
=
this
;
var
options
=
{};
options
[
'
single
'
]
=
true
;
options
[
'
line
'
]
=
false
;
options
.
polygon
=
{};
options
[
'
polygon
'
][
'
show
'
]
=
false
;
options
[
'
guide
'
]
=
guide
;
options
[
'
domain
'
]
=
domain
;
options
[
'
type
'
]
=
type
;
options
[
'
subtype
'
]
=
subtype
;
options
[
'
initials
'
]
=
initials
;
...
...
@@ -299,6 +301,9 @@ var L;
_this
.
subtype
=
'
timevarying
'
;
_this
.
name
=
'
oilspill
'
;
_this
.
initials
=
'
os
'
;
if
(
options
.
guide
)
{
_this
.
guide
=
options
.
guide
;
}
return
_this
;
}
OilSpill
.
prototype
.
setup
=
function
(
map
)
{
...
...
@@ -307,7 +312,7 @@ var L;
this
.
container
=
L
.
DomUtil
.
create
(
'
div
'
,
self
.
name
+
'
-control
'
);
this
.
accordionDiv
=
L
.
DomUtil
.
create
(
'
div
'
,
'
uk-accordion
'
,
this
.
container
);
var
locationid
=
self
.
initials
+
'
locationCard
'
;
self
.
cardMap
[
locationid
]
=
new
OSLocation
(
locationid
,
this
.
accordionDiv
,
self
.
lang
,
self
.
langData
,
map
,
self
.
forcing
,
self
.
obs
,
self
.
domain
,
self
.
type
,
self
.
subtype
,
self
.
initials
);
self
.
cardMap
[
locationid
]
=
new
OSLocation
(
locationid
,
this
.
accordionDiv
,
self
.
lang
,
self
.
langData
,
map
,
self
.
forcing
,
self
.
obs
,
self
.
domain
,
self
.
guide
,
self
.
type
,
self
.
subtype
,
self
.
initials
);
self
.
cardMap
[
locationid
].
show
();
var
periodid
=
self
.
initials
+
'
periodCard
'
;
var
periodoptions
=
{};
...
...
src/leaflet-oilspill-cards.js
View file @
c7821af2
...
...
@@ -23,6 +23,7 @@ var OSLocation = (function (_super) {
options
.
polygon
=
{};
options
[
'
polygon
'
][
'
show
'
]
=
false
;
options
[
'
guide
'
]
=
guide
;
options
[
'
domain
'
]
=
domain
;
options
[
'
type
'
]
=
type
;
options
[
'
subtype
'
]
=
subtype
;
options
[
'
initials
'
]
=
initials
;
...
...
src/leaflet-oilspill-cards.js.map
View file @
c7821af2
This diff is collapsed.
Click to expand it.
src/leaflet-oilspill-cards.ts
View file @
c7821af2
...
...
@@ -20,6 +20,7 @@ class OSLocation extends STWkit.LocationCard {
options
.
polygon
=
{};
options
[
'
polygon
'
][
'
show
'
]
=
false
;
options
[
'
guide
'
]
=
guide
;
options
[
'
domain
'
]
=
domain
;
options
[
'
type
'
]
=
type
;
options
[
'
subtype
'
]
=
subtype
;
options
[
'
initials
'
]
=
initials
;
...
...
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