Skip to main content
Deno 2 is finally here 🎉️
Learn more

gbfs-map

https://deno.land/x/gbfs_map@0.0.1/

A library for displaying GBFS port data on a map.

image

You can embed the GBFS portmap into your website using code like the one below.

<script src="https://deno.land/x/gbfs_map@0.0.1/mod.js" charset="utf-8" type="module"></script>
<gbfs-map
    x-url="https://api-public.odpt.org/api/v4/gbfs/hellocycling/gbfs.json,https://api-public.odpt.org/api/v4/gbfs/docomo-cycle-tokyo/gbfs.json"
    x-default-lat="35.68123355100922"
    x-default-lon="139.76712357086677"
    x-preferred-languages="ja"
    x-cors
></gbfs-map>