Skip to content
Snippets Groups Projects
Commit 34f97077 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

initial terms of use

parent a1bcb31a
No related branches found
No related tags found
2 merge requests!311terms of use (not final),!310Resolve "Terms of use"
......@@ -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",
};
......
......@@ -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);
......
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment