All pages
Powered by GitBook
1 of 1

Loading...

API Reference

To get started:

import { Felt } from "@feltmaps/js-sdk";

const felt = await Felt.embed(
  document.querySelector("#container"),
  "FELT_MAP_ID",
  {
    uiControls: {
      cooperativeGestures: false,
      fullScreenButton: false,
      showLegend: false,
    },
  }
);
const layers = await map.getLayers();

View FeltController for a complete list of available functions. FeltEmbedOptions enumerates initialization options.

Documents

  • CHANGELOG

Modules

  • Basemaps

  • Elements

  • Interactions

  • Layers

  • Main

  • Misc

  • Selection

  • Shared

  • Tools

  • UI

  • Viewport