Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Devrim Gunyel
core
Commits
34f97077
Commit
34f97077
authored
May 30, 2018
by
Piotr Gawron
Browse files
initial terms of use
parent
a1bcb31a
Changes
3
Hide whitespace changes
Inline
Side-by-side
frontend-js/src/main/js/ConfigurationType.js
View file @
34f97077
...
...
@@ -13,6 +13,7 @@ var ConfigurationType = {
SIMPLE_COLOR_VAL
:
"
SIMPLE_COLOR_VAL
"
,
SEARCH_DISTANCE
:
"
SEARCH_DISTANCE
"
,
SEARCH_RESULT_NUMBER
:
"
SEARCH_RESULT_NUMBER
"
,
TERMS_OF_USE
:
"
TERMS_OF_USE
"
,
USER_MANUAL_FILE
:
"
USER_MANUAL_FILE
"
,
};
...
...
frontend-js/src/main/js/minerva.js
View file @
34f97077
...
...
@@ -607,7 +607,7 @@ function create(params) {
GuiConnector
.
alert
(
"
Some data overlays doesn't have consent to the terms of the <a href='https://cloud.google.com/maps-platform/terms/' target='_blank'>license of Google Maps Platform</a>. To be able to visualize them you must edit data overlay.
"
)
}
if
(
user
.
getLogin
()
!==
"
anonymous
"
&&
!
user
.
isTermsOfUseConsent
())
{
requestConsent
(
user
);
requestConsent
(
user
,
params
.
getConfiguration
().
getOption
(
ConfigurationType
.
TERMS_OF_USE
)
);
}
var
result
=
createResult
(
customMap
);
...
...
web/src/main/webapp/resources/other/terms_of_use.pdf
0 → 100644
View file @
34f97077
File added
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