Visitar URL original
Using flowmap.gl in Observable · Issue #41 · visgl/flowmap.gl · GitHub
Skip to content

Using flowmap.gl in Observable #41

Open

Description

@atsokol

Hi @ilyabo!

I am trying to use flowmap.gl library in Observable but am having trouble loading the module there. I’ve looked at this article and tried different tools including jsdelivr, unpkg, etc. but nothing seems to work. Would you be able to advise if it's possible to use this tool in Observable and show a mini example?

Sorry if the question is too amateurish. I am new to JS and Observable. I've been using flowmap.blue R widget, which is a great tool but is not being updated unfortunately.

Thanks,
Andrii

Activity

  1. atsokol commented on Apr 3, 2024

    @atsokol
    Author

    Here is a discussion thread on Observable Talk with Mike Bostock's response on the issue: https://talk.observablehq.com/t/loading-a-module-to-observable/9059

  2. ilyabo commented on Apr 4, 2024

    @ilyabo
    Member

    Hi Andrii! Thanks for sharing the Observable discussion thread. I know about the issue and I tried to address it before. The problem is the dependency on deck.gl. One way would be to bundle flowmap.gl and deck.gl together using rollup, although it would make it difficult to combine flowmap and deck.gl layers, but maybe it's still the easiest way. I will give it another try and get back to you.

    BTW, there's now another R widget you might consider: https://github.com/JohMast/flowmapper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions