Skip to content
J

JS Three

Add ThreeJS objects to Google Maps

by googlemapsFree

#4648in Utilities
0In stores

Description

Google Maps ThreeJS Overlay View and Utilities is a JavaScript library for adding three.js objects to a Google Map. It provides a ThreeJSOve…

Highlights

  • ThreeJSOverlayView class built on WebGLOverlayView
  • Converts latitude and longitude to three.js vectors
  • Available on npm as @googlemaps/three
  • Load from unpkg, a script tag or ES module imports

Ratings & Reviews

No ratings yet

Be the first to rate JS Three.

People also visit

M

Maptalks.three

A maptalks layer to render with three.js

Utilities
Launch
T

Three Globe

WebGL Globe Data Visualization as a ThreeJS reusable 3D object

Utilities
Launch
C

Cesium.js

Create 3D globes, maps, visualize data

Utilities
Launch
S

Streets GL

OpenStreetMap 3D renderer powered by WebGL2

Utilities
Launch
T

Three Tile

A lightweight 3D tile map using threejs. 基于threejs的三维瓦片地图框架

Utilities
Launch
R

react-google-maps

React.js Google Maps integration component

UI Libraries
Launch

JS Three FAQ

What is this library for?

It adds three.js objects to a Google Map. It does this with a ThreeJSOverlayView class that extends google.maps.WebGLOverlayView.

How do I install it?

Install the npm package @googlemaps/three. Alternatively, load the package from unpkg or another CDN in an HTML page, and load three.js before it.

How do coordinates work?

The scene is a right-handed, z-up system measured in meters. The y-axis points true north and the x-axis points east. A point at (0, 50, 10) sits 10 meters above the ground and 50 meters east of the anchor point.

Can I use it with a bundler?

Yes. The README says you can use three.js and ThreeJSOverlayView the way you would with a bundler. For browsers without import map support, it suggests the es-module-shims package.

Where is the source?

The source is public on GitHub at googlemaps/js-three, and the README links to reference documentation for the full API.

What are the best JS Three alternatives?

Popular alternatives to JS Three include Maptalks.three, Three Globe and Cesium.js. See all JS Three alternatives

Developer Stuff

Badges