This class is the entry point of the viewer.
See theTravelNotesViewer for the one and only one instance of this class.
The constructor
This method load the TravelNotes viewer and open a read only map passed trought the url. This method can only be executed once. Others call will be ignored.
Name | Type | Description |
---|---|---|
travelUrl | String | The url of the TaN file to open |
addLayerToolbar | Boolean | A bollean indicating when the map layer toolbar must be visible |
Guard to avoid a second upload
Load a travel from the server
Name | Type | Description |
---|---|---|
travelUrl | String | The url of the TaN file to open |