BingMapsJsAdapter class

Enables MapWidget to use Bing Maps Javascript API.

Getting started

You should set MapAdapter.defaultInstance. In the main function of your application:

import 'package:maps/maps.dart';

void main() {
  MapAdapter.defaultInstance = const BingMapsJsAdapter(
    apiKey: 'YOUR API KEY',
  );

  // ...

  runApp(yourApp);
}
Inheritance

Constructors

BingMapsJsAdapter({@required String apiKey})
const

Properties

apiKey String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
productName String
Name of the product for debugging purposes. Example: "Google Maps".
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

buildMapWidget(MapWidget widget, Size size) Widget
Constructs a Flutter widget.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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