Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
Add the file to the webapp/data/maps folderĀ folder.
Now we can add the map to the application. Add the UiTopoMapFactory to the component Class and UiExtenstion.Builder() for the Class.
Code Block | ||||
---|---|---|---|---|
| ||||
protected final UiTopoMapFactory topoMapFactory = () -> ImmutableList.of( new UiTopoMap("south_america", "South America", "*south_america", 0.9) ); return protected UiExtension extension = new UiExtension.Builder(CL, coreViews) .messageHandlerFactory(messageHandlerFactory) .topoOverlayFactory(topoOverlayFactory) .topoMapFactory(topoMapFactory) .resourcePath(CORE) .build(); |
...