Skip to content

Google Maps API layer that uses Three.js to for super fast animation

Notifications You must be signed in to change notification settings

monfera/google-maps-api-threejs-layer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Three.js Layer for the Google Maps API

Google Maps API layer that uses Three.js to for super fast animation.

Usage

new ThreejsLayer(options, completeCallback);

Example

new ThreejsLayer({ map: map }, function(layer){
  
  var geometry = new THREE.Geometry(),
    location = new google.maps.LatLng(lat, lng),
    vertex = layer.fromLatLngToVertex(location);

  geometry.vertices.push( vertex );

  var particles = new THREE.ParticleSystem(geometry, material);
  layer.add(particles);
});

About

Based on the excellent CanvasLayer by @brendankenny

Developed by Martin Kleppe at Ubilabs.

Released under the Apache License 2.0.

About

Google Maps API layer that uses Three.js to for super fast animation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%