jmap.js

4.14.1 • Public • Published

jmap.js

Public repository for Jibestream's Javascript SDK and plugins. See http://www.jibestream.com

Jibestream's Web SDK. Compatible with the Jibestream Application Core Service (JACS)

Quick Start:

Using CDN (Recommended):

<script src="https://cdn.jibestream.com/web/{VERSION}/jmap.min.js"></script>

Using Browserify or Webpack

npm install jmap.js
import jmap from 'jmap.js'

Quick Start

import jmap from 'jmap.js'

// Create a core data object with your customerId & authentication
const core = new jmap.core.JCore({
  auth: new jmap.core.Auth('clientId', 'clientSecret'),
  customerId: 1
})

// Create an ActiveVenue with the default building using the venue ID
const venueId = 2
core.populateVenueWithDefaultBuilding(venueId, (error, activeVenue) => {
  if (error) throw error
  // Create the view controller
  const control = new jmap.JController({ activeVenue })
  // Show map
  control.showDefaultMap()
})

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i jmap.js

      Weekly Downloads

      481

      Version

      4.14.1

      License

      SEE LICENSE IN LICENSE.md

      Unpacked Size

      1.21 MB

      Total Files

      23

      Last publish

      Collaborators

      • khanazad
      • xerxesnoble
      • jibestream
      • daveleitch