JS API packages

JS API packages provide additional functionality to the JS API that is not included in the main API and modules.

Packages do not guarantee backward compatibility with previous version, and unlike modules, they are connected only with the package version.

For example, a package of markers can be connected as follows:

const {MMapDefaultMarker} = await mappable.import('@mappable-world/mappable-markers@0.0.1');

map.addChild(
  new MMapDefaultMarker({
    coordinates: [51.81971, 23.49359],
    title: 'Hello World!',
    subtitle: 'kind and bright',
    color: 'blue'
  })
);

Without specifying the package version, an exception will be thrown.

Available packages