Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Dependencies
Versions
gbfs-map
A library for displaying GBFS port data on a map.
Note This library is compatible with GBFS version 2.3.
You can embed the GBFS portmap into your website using code like the one below.
<script src="https://deno.land/x/gbfs_map/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>
See https://github.com/MobilityData/gbfs/blob/master/systems.csv for available API endpoints.