Skip to content

Instantly share code, notes, and snippets.

@manduks
Created May 14, 2017 19:57
Show Gist options
  • Save manduks/4be17f8b0a8c8672af7cd07059dda3fc to your computer and use it in GitHub Desktop.
Save manduks/4be17f8b0a8c8672af7cd07059dda3fc to your computer and use it in GitHub Desktop.
export const Rutas = [
{
id: 1,
name: 'Ruta 1',
options: [
{
bicycle: [
{
latitude: 19.289856,
longitude: -99.046576,
},
{
latitude: 19.290028,
longitude: -99.045364,
},
],
taxi: [
{
latitude: 19.290028,
longitude: -99.045364,
},
{
latitude: 19.288205,
longitude: -99.045138,
},
{
latitude: 19.288367,
longitude: -99.044130,
},
],
bus: [
{
latitude: 19.288367,
longitude: -99.044130,
},
{
latitude: 19.288641,
longitude: -99.042242,
},
],
details: {
bicycleTime: 30,
taxiTime: 20,
busTime: 10,
weather: 20,
co2: 30,
time: 70,
cals: 1200,
start: {
latitude: 19.289856,
longitude: -99.046576,
},
end: {
latitude: 19.288641,
longitude: -99.042242,
}
}
},
{
bicycle: [
{
latitude: 19.289856,
longitude: -99.046576,
},
{
latitude: 19.290433,
longitude: -99.042488,
},
],
taxi: [],
bus: [
{
latitude: 19.290433,
longitude: -99.042488,
},
{
latitude: 19.288641,
longitude: -99.042242,
},
],
details: {
bicycleTime: 20,
taxiTime: 0,
busTime: 40,
weather: 24,
co2: 10,
time: 30,
cals: 1500,
start: {
latitude: 19.289856,
longitude: -99.046576,
},
end: {
latitude: 19.288641,
longitude: -99.042242,
}
}
},
{
bicycle: [],
taxi: [
{
latitude: 19.290848,
longitude: -99.046608,
},
{
latitude: 19.291375,
longitude: -99.042617,
},
{
latitude: 19.288621,
longitude: -99.042220,
},
{
latitude: 19.288843,
longitude: -99.040697,
},
],
bus: [],
details: {
bicycleTime: 0,
taxiTime: 30,
busTime: 0,
weather: 24,
co2: 40,
time: 10,
cals: 100,
start: {
latitude: 19.290848,
longitude: -99.046608,
},
end: {
latitude: 19.288843,
longitude: -99.040697,
}
}
},
],
},
{
id: 2,
name: 'Ruta 2',
options: [
{
bicycle: [
{
latitude: 19.289856,
longitude: -99.046576,
},
{
latitude: 19.290028,
longitude: -99.045364,
},
],
taxi: [
{
latitude: 19.290028,
longitude: -99.045364,
},
{
latitude: 19.288205,
longitude: -99.045138,
},
{
latitude: 19.288367,
longitude: -99.044130,
},
],
bus: [
{
latitude: 19.288367,
longitude: -99.044130,
},
{
latitude: 19.288641,
longitude: -99.042242,
},
],
details: {
bicycleTime: 30,
taxiTime: 20,
busTime: 10,
weather: 20,
co2: 30,
time: 70,
cals: 5200,
start: {
latitude: 19.289856,
longitude: -99.046576,
},
end: {
latitude: 19.288641,
longitude: -99.042242,
}
}
},
{
bicycle: [
{
latitude: 19.289856,
longitude: -99.046576,
},
{
latitude: 19.290433,
longitude: -99.042488,
},
],
taxi: [],
bus: [
{
latitude: 19.290433,
longitude: -99.042488,
},
{
latitude: 19.288641,
longitude: -99.042242,
},
],
details: {
bicycleTime: 30,
taxiTime: 20,
busTime: 10,
weather: 20,
co2: 30,
time: 70,
cals: 7200,
start: {
latitude: 19.290433,
longitude: -99.042488,
},
end: {
latitude: 19.288641,
longitude: -99.042242,
}
}
},
],
},
{
id: 3,
name: 'Ruta 03',
options: [
{
bicycle: [],
taxi: [
{
latitude: 19.290848,
longitude: -99.046608,
},
{
latitude: 19.291375,
longitude: -99.042617,
},
{
latitude: 19.288621,
longitude: -99.042220,
},
{
latitude: 19.288843,
longitude: -99.040697,
},
],
bus: [],
details: {
bicycleTime: 0,
taxiTime: 40,
busTime: 0,
weather: 25,
co2: 30,
time: 70,
cals: 200,
start: {
latitude: 19.290848,
longitude: -99.046608,
},
end: {
latitude: 19.288843,
longitude: -99.040697,
}
}
},
],
},
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment