Interactive interface for browsing global, full-resolution satellite imagery
WV-261: A copy of the event is now created so that it can be consumed by OL
Mike McGann7dc67ef69b46
diff --git a/src/js/Worldview/Map/ProductMap.js b/src/js/Worldview/Map/ProductMap.jsindex b6897b41c..b876966e7 100644--- a/src/js/Worldview/Map/ProductMap.js+++ b/src/js/Worldview/Map/ProductMap.js@@ -136,8 +136,10 @@ Worldview.Map.ProductMap = function(containerId, mapConfig, component) {self.setProjection(mapConfig.defaultProjection || "geographic");$(document.body).mousemove(function(event) {- event.xy = {x: event.clientX, y: event.clientY };- self.map.events.triggerEvent("mousemove", event);+ newEvent = {+ xy: {x: event.clientX, y: event.clientY }+ };+ self.map.events.triggerEvent("mousemove", newEvent);});};