+
+
+
Credit: GeoJSON Viewer by cesare concordia
+
+
+
+
+
+
+
+
diff --git a/previewers/i18n/en_orig.json b/previewers/i18n/en_orig.json
index f0d64c7..e3a88a3 100644
--- a/previewers/i18n/en_orig.json
+++ b/previewers/i18n/en_orig.json
@@ -13,6 +13,7 @@
"pdfPreviewText": "PDF Preview",
"spreadsheetViewerText": "Spreadsheet Viewer",
"textPreviewText": "Text Preview",
+ "geoJSONPreviewText": "GeoJSON Preview",
"videoPreviewText": "Video Preview",
"prev": "Previous",
"next": "Next",
diff --git a/previewers/i18n/es.json b/previewers/i18n/es.json
index 3bde576..f17be1d 100644
--- a/previewers/i18n/es.json
+++ b/previewers/i18n/es.json
@@ -13,6 +13,7 @@
"pdfPreviewText": "SSHOC Previsualización de pdf",
"spreadsheetViewerText": "SSHOC Visor de hojas de cálculo",
"textPreviewText": "Previsualización de texto",
+ "geoJSONPreviewText": "GeoJSON Preview",
"videoPreviewText": "Previsualización de vídeo",
"prev": "Anterior",
"next": "Siguiente",
diff --git a/previewers/i18n/fr.json b/previewers/i18n/fr.json
index cf402b7..beab9f9 100644
--- a/previewers/i18n/fr.json
+++ b/previewers/i18n/fr.json
@@ -13,6 +13,7 @@
"pdfPreviewText": "SSHOC Aperçu PDF",
"spreadsheetViewerText": "SSHOC Visualisateur de feuille de calcul",
"textPreviewText": "Aperçu texte",
+ "geoJSONPreviewText": "GeoJSON Preview",
"videoPreviewText": "Aperçu vidéo",
"prev": "Précédent",
"next": "Suivant",
diff --git a/previewers/js/geojson.js b/previewers/js/geojson.js
new file mode 100644
index 0000000..5155c24
--- /dev/null
+++ b/previewers/js/geojson.js
@@ -0,0 +1,16 @@
+
+$(document).ready(function() {
+ startPreview(false);
+ });
+
+function translateBaseHtmlPage() {
+ var audioPreviewText = $.i18n( "audioPreviewText" );
+ $( '.audioPreviewText' ).text( audioPreviewText );
+}
+
+function writeContent(fileUrl, file, title, authors) {
+ addStandardPreviewHeader(file, title, authors);
+ //$('.preview').append($("
").attr("controls","").attr("src",fileUrl));
+
+}
+
diff --git a/previewers/js/obsmodule.js b/previewers/js/obsmodule.js
new file mode 100644
index 0000000..af33894
--- /dev/null
+++ b/previewers/js/obsmodule.js
@@ -0,0 +1,10 @@
+
+import {Runtime, Inspector} from "https://cdn.jsdelivr.net/npm/@observablehq/runtime@4/dist/runtime.js";
+import define from "https://api.observablehq.com/d/440e219b3fd45a99.js?v=3";
+const main = new Runtime().module(define, Inspector.into("#observablehq-243ecdae"));
+if (resURL.startsWith (null)){
+ resURL="https://static.observableusercontent.com/files/04fb9ff8d0c52895260d29a82d55b25ac325f3b25fdfd366d65c2f90880280036aa47a9114e8eb8dfd17d49497c201e13dd851ecf206c64430a87d46f8b1730f"
+ //resURL="https://dataverse.philae.isti.cnr.it/api/access/datafile/30"
+}
+main.redefine("data", fetch(resURL).then(response => response.json()));
+//main.redefine("data", fetch("https://dataverse.philae.isti.cnr.it/api/access/datafile/30").then(response => response.json()));