项目作者: openglobus

项目描述 :
JavaScript 3d maps and geospatial data visualization engine library.
高级语言: JavaScript
项目地址: git://github.com/openglobus/openglobus.git
创建时间: 2013-08-16T06:28:26Z
项目社区:https://github.com/openglobus/openglobus

开源协议:MIT License

下载


NPM PACKAGE
BUILD

OpenGlobus

English | 简体中文 | Portuguese-BR

openglobus is a typescript/javascript library designed to display interactive 3D maps and other geospatial data at a
scale from planet to bee.

It supports various high-resolution terrain providers, imagery layers, renders thousands of 3D objects, provides
geometry measurement tools, and more. It uses the WebGL technology, open-source and
completely free.

Openglobus main goal is to make 3D map features fast, good-looking, user-friendly and easy to implement in any
related project.

Getting Start

Installation

  1. npm install @openglobus/og

Fast initialization

Create your first openglobus application with create-openglobus template. It support js, ts + react, etc.

Run:

  1. npx create-openglobus

React integration

Openglobus React module is available with openglobus-react package.

  1. npm i @openglobus/openglobus-react

Documentation and Examples

Get Started to contribute

Development

  1. Clone repository.
  2. Run in the repo folder:
  1. npm install

Build Library

Run

  1. npm run build

Then, it will generate files at lib/:

  • og.es.js
  • og.es.js.map
  • og.css
  • ./res/…

Run examples

First, it starts by watching sources and building into ./lib folder es module:

  1. npm run dev

Second, runs local server, then you can browse 127.0.0.1:8080:

  1. npm run serve

or

  1. npm run dev_serve

Third, try an example from the sandbox:

  1. http://127.0.0.1:8080/sandbox/osm/osm.html

Other scripts

npm run docs - build api documentation into /api folder

npm run serve - run local web server for develop and watch examples

npm run lint - run code linter

npm run test - run tests

tsc - run typescript parser

Support the Project

There are many ways to contribute back to the project:

License

MIT