NextBillion class

NextBillion class provides static methods for initializing and configuring the NextBillion Maps SDK.

Constructors

NextBillion.new()

Properties

channel MethodChannel
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getAccessKey() Future<String?>
getApiKeyHeaderName() Future<String?>
getBaseUri() Future<String?>
getNbId() Future<String?>
getUserId() Future<String?>
initNextBillion(String accessKey) Future<void>
initNextBillionWithTileServer(String accessKey, WellKnownTileServer server) Future<void>
predefinedStyles() Future<List<NbDefaultStyle>?>
Get the list of predefined map styles available from the current tile server.
setAccessKey(String accessKey) Future<void>
setApiKeyHeaderName(String apiKeyHeaderName) Future<void>
setBaseUri(String baseUri) Future<void>
setMockMethodChannel(MethodChannel channel) → void
setUserId(String id) Future<void>
switchWellKnownTileServer(WellKnownTileServer server) Future<bool?>
Switch to a different well-known tile server.