Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
minerva
core
Commits
d12ef350
Commit
d12ef350
authored
6 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
model contains information about user consent for google maps API terms
parent
f908511d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
model/src/main/java/lcsb/mapviewer/model/map/layout/Layout.java
+12
-1
12 additions, 1 deletion
...src/main/java/lcsb/mapviewer/model/map/layout/Layout.java
persist/src/db/11.1.0/fix_db_20180509.sql
+1
-0
1 addition, 0 deletions
persist/src/db/11.1.0/fix_db_20180509.sql
with
13 additions
and
1 deletion
model/src/main/java/lcsb/mapviewer/model/map/layout/Layout.java
+
12
−
1
View file @
d12ef350
...
...
@@ -70,7 +70,10 @@ public class Layout implements Serializable {
/**
* Does the layout present data in hierarchical view.
*/
private
boolean
hierarchicalView
=
false
;
private
boolean
hierarchicalView
=
false
;
@Column
(
name
=
"google_license_consent"
)
private
boolean
googleLicenseConsent
=
false
;
/**
* If overlay contain hierarchical view then it might be fixed on some
...
...
@@ -447,4 +450,12 @@ public class Layout implements Serializable {
this
.
hierarchyViewLevel
=
hierarchyViewLevel
;
}
public
boolean
isGoogleLicenseConsent
()
{
return
googleLicenseConsent
;
}
public
void
setGoogleLicenseConsent
(
boolean
googleLicenseConsent
)
{
this
.
googleLicenseConsent
=
googleLicenseConsent
;
}
}
This diff is collapsed.
Click to expand it.
persist/src/db/11.1.0/fix_db_20180509.sql
0 → 100644
+
1
−
0
View file @
d12ef350
alter
table
layout
add
column
google_license_consent
boolean
default
false
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment