More style tweaks, add geoip server

This commit is contained in:
Pieter Vander Vennet 2024-06-17 19:27:21 +02:00
parent 06b6f6d471
commit 66a48daba8
7 changed files with 67 additions and 4754 deletions

View file

@ -158,10 +158,10 @@ export default class ThemeViewState implements SpecialVisualizationState {
layout.id
)
this.map = new UIEventSource<MlMap>(undefined)
const initial = new InitialMapPositioning(layout)
const geolocationState = new GeoLocationState()
const initial = new InitialMapPositioning(layout, geolocationState)
this.mapProperties = new MapLibreAdaptor(this.map, initial)
const geolocationState = new GeoLocationState()
this.featureSwitchIsTesting = this.featureSwitches.featureSwitchIsTesting
this.featureSwitchUserbadge = this.featureSwitches.featureSwitchEnableLogin