New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

threebox

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

threebox

A Mapbox GL JS plugin that combines the power of the Three.js 3D library with Mapbox geospatial tools.

latest
Source
npmnpm
Version
0.1.5
Version published
Maintainers
1
Created
Source

threebox

A three.js plugin for Mapbox GL JS, with support for basic animation and advanced 3D rendering.

Installation

Add it to your project via npm:

npm install threebox

or download the bundle from dist/threebox.js and add include it in a <script> tag on your page.

Documentation

Threebox

Set up and handle the core translations between a Three.js scene graph and the Mapbox GL JS map.

SymbolLayer3D

The SymbolLayer3D object lets you load in a GeoJSON FeatureCollection of points and will automatically place 3D models at each point.

Features

Current

These features currently have a dedicated interface in threebox.

3D Symbol Layers

:point_right: SymbolLayer3D 📝

Planned

These features should be possible to implement using Three.js today but would benefit from a more geographic/map-specific interface in a future version of threebox.

3D Paths

Point Clouds

Complex 3D Buildings

GLSL Shaders

3D Terrain

Building

npm run build

or to continually rebuild as you develop:

npm run dev

Both commands will output a bundled in /dist/threebox.js.

FAQs

Package last updated on 13 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts