This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setLatLng(dataset) { | |
var lat = dataset.lat | |
var lng = dataset.lng | |
return new L.LatLng(lat, lng) | |
} | |
function latLngRadians(dataset) { | |
return _.map(dataset, function(item) { | |
var latRad = item.lat*(Math.PI/180) | |
var lngRad = item.lng*(Math.PI/180) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ============================================================ // | |
// CAST | |
// ============================================================ // | |
window.chrome = {}; | |
window.chrome.cast = {}; | |
window.chrome.cast.isAvailable = true; | |
window.chrome.cast.initialize = function(a, b, c) { } | |
window.chrome.cast.ApiConfig = function(a, b, c) { | |
// This fakes that chromecast is available so the button appears | |
// call anything other than "available" to fake chromcast dissapearing |