Did you try to display the same map with parameters on the normal view?
If it’s working like that, and not while inside the initialLayout, then I remember something about not all containers being able to display the map.
If that’s true, try with this
jmix.ui.default-view-id
Defines a view to be opened after login inside the main view. For example:
To see the images/tiles of area/world, the GeoMap must contain one raster layer. For instance, it can be OSM tiles: Raster tile providers - OpenStreetMap Wiki or images from Web Map Service or just simple static image.
I found solution opening a view I desire triggering before Enter event on MainView
btw, the map should be displayed also if you use my code above.
but when you use the map code in MainView it doesn’t work.
MainView can contain only button or icon … ?
// Check if the root path is accessed
if (event.getLocation().getPath().isEmpty()) {
// Redirect to the Dashboard route when accessing the root path
event.forwardTo(DashboardView.class);
}
}