2025-04-12 15:55:23 +04:00
2024-09-25 22:04:11 +04:00
2025-03-07 00:02:56 +04:00
2024-09-23 16:01:46 +04:00
2025-04-12 04:38:42 +04:00
2025-04-12 04:38:42 +04:00
2025-02-27 15:49:35 +04:00
2021-10-11 14:29:38 +03:00
2023-09-19 17:28:49 +04:00
2022-01-10 14:14:28 -08:00
2021-05-05 00:13:10 +03:00
2023-04-11 20:04:05 +04:00
2023-10-19 08:56:26 +02:00
2024-09-05 23:35:24 +04:00
2023-08-02 18:10:55 +04:00
2024-12-19 12:38:06 +04:00
2025-04-12 15:55:23 +04:00
2023-07-03 19:53:23 +04:00
2024-07-28 10:50:05 +04:00
2024-07-28 10:50:22 +04:00
2024-07-28 10:49:19 +04:00
2023-07-03 19:56:26 +04:00
2023-07-03 19:48:07 +04:00
2023-07-03 19:24:46 +04:00
2025-04-12 04:38:42 +04:00
2025-04-12 15:55:23 +04:00

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

npm install @openglobus/og

Fast initialization

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

Run:

npx create-openglobus

React integration

Openglobus React module is available with openglobus-react package.

npm i @openglobus/openglobus-react

Documentation and Examples

Get Started to contribute

Development

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

Build Library

Run

npm run build

Then, it will generate 5 files at lib/@openglobus/:

  • og.umd.js
  • og.umd.js.map
  • og.esm.js
  • og.esm.js.map
  • og.css
  • ./res/...

Run examples

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

npm run dev

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

npm run serve

Third, try an example from the sandbox:

 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:

  • Help us test new and existing features and report bugs
  • Help answer questions on the community forum and chat
  • us on GitHub
  • Spread the word about openglobus on social media
  • Become a contributor
  • Support with money

License

MIT

Description
JavaScript 3d maps and geospatial data visualization engine library.
Readme 181 MiB
Languages
TypeScript 88.2%
JavaScript 7.1%
GLSL 3.1%
CSS 1.1%
HTML 0.5%