Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SBB exhibition ETAH2022 #4

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

KaMarquardt
Copy link

Aus CHANGELOG der Hülle DARIAH

Zusammenfassung Änderungen für Ausstellungsversion

  • Hinzufügen der Komponente Datafilter im PLATIN (4 Dateien)

    • Datafilter.js
    • DatafilterConfig.js
    • DatafilterGui.js
    • DatafilterWidget.js
    • css liegt noch in Objekten. Noch keine Klassen definiert -> toDo
  • Hinzufügen einer zentralen Konfigurationsdatei, die nicht im webpack mit gebunden wird.

    • embed/js/specialUses.geobro.conf.js
    • Konfiguration für Ausstellungs- und Portalnutzung: exhibition, forEmbeddedUse
    • Parameter deklarieren und initiieren
  • Erweiterung der Datei js/dariah.geobro.js

    • Einfügen der Objekte zum Datenfilter
    • UI-Anpassungen für exibition und forEmbeddedUse Nutzung
      -> Ein- und Ausblenden von Elementen, Positionieren von Elementen
  • Erweiterung der index.html -> Überschriften, Links, ...

    • Einführung von Mehrsprachigkeit.
    • addEventListener -> Touchscreen-Events verarbeiten -> Abbilden auf passende Mouseevents.
  • Erweiterung der PLATIN/js/Util/Tooltips.js für die (vollständige) Mehrsprachigkeit

    • Oberflächenelemente im PLATIN (vollständig) auf Mehrsprachigkeit umgesetzt (GeoTemConfig.getString())
  • Anpassung in der PLATIN/js/Map/MapGui.js

    • Nur HTML-Elemente erzeugen, die auch gebraucht werden.
    • Mehrsprachigkeit
    • Copyright-Info's in Popups anzeigen. (Ausstellungsmodus ohne Zugriff auf Browserelemente)
  • Erweiterung PLATIN/js/Map/MapWidget.js

    • Instanziierung der PlacenameTags erfolgte bisher bei MouseOver. Das Event gibt es beim Touchscreen nicht.
      -> Erzeugung in eigene Funktion ausgelagert builtPlacenameTag()
    • Builtfunktion kann bei onClick im Fall des Touchscreen extra aufgerufen werden.
  • zusätzliche Parameter in PLATIN/js/FuzzyTimeline/FuzzyTimelineConfig.js
    -> Darstellung der x-Achse (Zeit), Einteilung und Stützstellenbestimmung

    • Einbinden der Einstellungen in PLATIN/js/FuzzyTimeline/FuzzyTimelineDensity.js und PLATIN/js/FuzzyTimeline/FuzzyTimelineRangeBars.js
  • Anpassung in PLATIN/js/FuzzyTimeline/FuzzyTimelineRangeSlider.js

    • Nur HTML-Elemente erzeugen, die auch gebraucht werden
    • Mehrsprachigkeit
  • Erweiterung PLATIN/js/Dataloader/Dataloader.js

    • Hinzufügen der Funktion exhibitionLoader ->
      Lädt die in embed/js/specialUses.geobro.conf.js als exhibitionFile definierte Datei
  • Anpassungen im css

@@ -63,8 +64,9 @@ GeoTemConfig = {
// default
loadColorFromDataset : false, // if DataObject color should be loaded automatically (from column "color")
allowColumnRenaming : true,
proxy : '/php/proxy.php?address=', // set this if a HTTP proxy shall be used (e.g. to bypass
// X-Domain problems)
// proxy : 'http://b-dev20211109/geo-browser/PLATIN/php/proxy.php?address=', // set this if a HTTP proxy shall be used (e.g. to bypass
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this proxy setting ok for the merge to develop?

@@ -52,7 +52,8 @@ GeoTemConfig = {
incompleteData : true, // show/hide data with either temporal or spatial metadata
inverseFilter : true, // if inverse filtering is offered
mouseWheelZoom : true, // enable/disable zoom with mouse wheel on map & timeplot
language : 'en', // default language of GeoTemCo
// language : 'en', // default language of GeoTemCo
language : 'de', // default language of GeoTemCo
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Language should be "en" by default, as it was before?

@@ -273,7 +273,8 @@ function MapConfig(options) {
bingApiKey : 'none', // bing maps api key, see informations at http://bingmapsportal.com/
osmMaps : true, // enable/disable OSM maps
osmMapsMapQuest : false, // enable/disable OSM maps with MapQuest tiles
baseLayer : 'terrain', // initial layer to show (e.g. 'Google Streets')
// baseLayer : 'watercolor', // initial layer to show (e.g. 'Google Streets')
baseLayer : 'OpenStreetMap', // initial layer to show (e.g. 'Google Streets')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check if these new settings can be default…

@@ -301,7 +302,8 @@ function MapConfig(options) {
maxLabelIncrease : 2, // maximum increase (in em) for the font size of a label
labelHover : false, // true, to update on label hover
ieHighlightLabel : "color: COLOR1; background-color: COLOR0; filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=80)';-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=80)';", // css code for a highlighted place label in IE
highlightLabel : "color: COLOR0; text-shadow: 0 0 0.4em black, 0 0 0.4em black, 0 0 0.4em black, 0 0 0.4em COLOR0;", // css code for a highlighted place label
// highlightLabel : "color: COLOR0; text-shadow: 0 0 0.4em black, 0 0 0.4em black, 0 0 0.4em black, 0 0 0.4em COLOR0;", // css code for a highlighted place label
highlightLabel : "color: COLOR0; text-shadow: 0 0 0.4em black, 0 0 0.4em black, 0 0 0.4em black, 0 0 0.4em COLOR1;", // css code for a highlighted place label
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check if these new settings can be default…

var scaleMode = $(rangeSlider.scalingDropdown).find("option:selected").text();
rangeSlider.parent.changeScaleMode(scaleMode);
});
if (!exhibition) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we leave a (!exibition) here? Programmatically it seems to be ok, maybe a (exibition) would be better?

/*
look and fullscreen aren't necessary for exhibition mode
*/
if (!(exhibition)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as before: Would an (exibition) be better here?

map.objectLayer.drawFeature(event.feature);
circle.placenameTags = new PackPlacenameTags(circle,map);
*/

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is comment in comment in comment working? Maybe is is…

"scaling" : "Skalierung",
"percentagePlot" : "In Prozent (%)",
"datedObjects" : "Datierte Treffer",
"linguaTitle" : "E. T. A. Hoffmanns Werke in aller Welt"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Muss hier der spezifische Titel festgelegt werden?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants