Loading index.html +1 −1 Original line number Diff line number Diff line Loading @@ -93,7 +93,7 @@ <script src="lib/leaflet.heat.min.js"></script> <script src="lib/prettysize.js"></script> <script src="lib/oboe-browser.min.js"></script> <script src="index.js"></script> <script src="index.js?v=3"></script> <!-- BEGIN GOOGLE ANALYTICS --> <script> Loading index.js +3 −3 Original line number Diff line number Diff line Loading @@ -75,9 +75,9 @@ var latitude = location.latitudeE7 * SCALAR_E7, longitude = location.longitudeE7 * SCALAR_E7; // Handle negative latlngs. if ( latitude > 180 ) latitude = -latitude % 180; if ( longitude > 180 ) longitude = -longitude % 180; // Handle negative latlngs due to google unsigned/signed integer bug. if ( latitude > 180 ) latitude = latitude - (2 ** 32) * SCALAR_E7; if ( longitude > 180 ) longitude = longitude - (2 ** 32) * SCALAR_E7; if ( type === 'json' ) latlngs.push( [ latitude, longitude ] ); return oboe.drop; Loading Loading
index.html +1 −1 Original line number Diff line number Diff line Loading @@ -93,7 +93,7 @@ <script src="lib/leaflet.heat.min.js"></script> <script src="lib/prettysize.js"></script> <script src="lib/oboe-browser.min.js"></script> <script src="index.js"></script> <script src="index.js?v=3"></script> <!-- BEGIN GOOGLE ANALYTICS --> <script> Loading
index.js +3 −3 Original line number Diff line number Diff line Loading @@ -75,9 +75,9 @@ var latitude = location.latitudeE7 * SCALAR_E7, longitude = location.longitudeE7 * SCALAR_E7; // Handle negative latlngs. if ( latitude > 180 ) latitude = -latitude % 180; if ( longitude > 180 ) longitude = -longitude % 180; // Handle negative latlngs due to google unsigned/signed integer bug. if ( latitude > 180 ) latitude = latitude - (2 ** 32) * SCALAR_E7; if ( longitude > 180 ) longitude = longitude - (2 ** 32) * SCALAR_E7; if ( type === 'json' ) latlngs.push( [ latitude, longitude ] ); return oboe.drop; Loading