Skip to content

AfriGebeta/Gebeta-SDK-JS

Repository files navigation

Gebeta Maps SDK

JavaScript, React, and Node.js SDK for Gebeta Maps.

Packages

Package Description
@gebeta/js Browser SDK — map rendering, geocoding, directions, navigation, clustering, fencing
@gebeta/react React component and hooks
@gebeta/node Node.js server-side authentication
@gebeta/api Shared TypeScript types (no runtime code)

Documentation

afrigebeta.github.io/Gebeta-SDK-JS

Quick start

npm install @gebeta/js
import { GebetaMaps } from '@gebeta/js';

const sdk = new GebetaMaps({ auth: { accessToken: '...', refreshToken: '...' } });
const map = sdk.init({ container: '#map', center: [38.74, 9.02], zoom: 12 });

Or via CDN:

<script src="https://tiles.gebeta.app/static/current/gebeta-maps.umd.js"></script>

About

The central home for all JS based Gebeta SDKs

Resources

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors