From a899fe0e1b3eacca35d79c2cd0b4ce889d0dae5f Mon Sep 17 00:00:00 2001 From: "James B. Pollack" Date: Sat, 5 Dec 2015 17:26:11 -0800 Subject: [PATCH] fix typo --- examples/data_visualization/earthquakes_live.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/data_visualization/earthquakes_live.js b/examples/data_visualization/earthquakes_live.js index 826c833243..272c933696 100644 --- a/examples/data_visualization/earthquakes_live.js +++ b/examples/data_visualization/earthquakes_live.js @@ -44,6 +44,7 @@ function createEarth() { type: 'Model', modelURL: EARTH_MODEL_URL, position: EARTH_CENTER_POSITION, + collisionsWillMove:true, dimensions: { x: EARTH_SPHERE_RADIUS, y: EARTH_SPHERE_RADIUS, @@ -116,6 +117,7 @@ function createQuakeMarker(earthquake) { var markerProperties = { name: earthquake.properties.place, type: 'Sphere', + parentID:earth, dimensions: QUAKE_MARKER_DIMENSIONS, position: getQuakePosition(earthquake), lifetime: 6000, @@ -156,7 +158,7 @@ function processQuakes(earthquakes) { print('markers length:' + markers.length) } -var quakea; +var quakes; var markers = []; var earth = createEarth();