This class is the entry point of the application.
See theTravelNotes for the one and only one instance of this class
The Leaflet map object
The overpassApi url to use by plugins
TheTravelNotes version
This method add a provider. Used by plugins.
Name | Type | Description |
---|---|---|
providerClass | Class | The provider to add |
This method load TravelNotes 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 |
This method load TravelNotes and open an empty read and write map. This method can only be executed once. Others call will be ignored.
Name | Type | Description |
---|---|---|
latUrl | null or Number | The lat found in the url parameters |
lonUrl | null or Number | The lon found in the url parameters |
Show an info, using theErrorsUI. Used by plugins.
Name | Type | Description |
---|---|---|
info | String | The info to show |
Guard to avoid a second upload