Skip to content

missing plugins? #26

@samthomson

Description

@samthomson

Not sure if plugins aren't exported or I've missed a setup step (have scoured docs).
I can get a basic planet on the screen but I get an error when trying to use a plugin like in the docs.

image

I just have this import

import * as Planetaryjs from "planetary.js";

and then applying the plugin like so:

const planet = Planetaryjs.planet();
const canvas = document.getElementById("globe");
planet.loadPlugin(Planetaryjs.plugins.autocenter({ extraHeight: -120 }));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions