Y-SLD/assets/js/sentinel_imaginary.js.map

1 line
1.4 KiB
Plaintext
Raw Permalink Normal View History

2024-03-01 11:23:55 +00:00
{"version":3,"sources":["sentinel_imaginary.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"sentinel_imaginary.js","sourcesContent":["$(document).ready(function () {\r\n $('#share-modal').on('shown.bs.modal', function () {\r\n var URL = baseURL;\r\n if (!map.settings.https && map.settings.https != 1) {\r\n URL = baseURL.replace(\"s://\", \"://\");\r\n }\r\n var ifrmecode = '<iframe src=\"' + URL + \"map/embed/\" + map.random_token + '\" height=\"' + map.settings.height + '\" width=\"' + map.settings.width + '\"></iframe>';\r\n jQuery('#ds_iframe_code').val(ifrmecode);\r\n jQuery('#ds_share_url').val(URL + \"map/share/\" + map.random_token);\r\n jQuery('#ds_json_url').val(URL + \"map/json/\" + map.random_token);\r\n\r\n });\r\n\r\n\r\n\r\n $(\".dashboard-download-link\").on(\"click\", function (e) {\r\n e.preventDefault();\r\n e.stopPropagation();\r\n var image_1 = $(\"#before_images_1 option:selected\").data(\"id\");\r\n var image_2 = $(\"#after_images_1 option:selected\").data(\"id\");\r\n var type = $(this).data(\"type\");\r\n window.location.href = $(this).attr(\"href\") + \"?image_1=\" + image_1 + \"&image_2=\" + image_2;\r\n });\r\n});"]}