Added scanner link
This commit is contained in:
parent
12e2976654
commit
270876fa48
|
@ -270,7 +270,14 @@ window.plugin.portalsJSON.fields = [
|
|||
};
|
||||
});
|
||||
},
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'Scanner Link',
|
||||
value: function(portal) {
|
||||
var latLng = portal.getLatLng();
|
||||
return 'https://link.ingress.com/?link=https%3A%2F%2Fintel.ingress.com%2Fportal%2F' + portal.options.guid + '&apn=com.nianticproject.ingress&isi=576505181&ibi=com.google.ingress&ifl=https%3A%2F%2Fapps.apple.com%2Fapp%2Fingress%2Fid576505181&ofl=https%3A%2F%2Fintel.ingress.com%2Fintel%3Fpll%3D' + latLng.lat + '%2C' + latLng.lng;
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
|
|
|
@ -62,7 +62,13 @@
|
|||
"Portal Name": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"GUID",
|
||||
"Latitude",
|
||||
"Longitude",
|
||||
"Portal Name"
|
||||
]
|
||||
}
|
||||
},
|
||||
"Outgoing Links": {
|
||||
|
@ -82,8 +88,17 @@
|
|||
"Portal Name": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"GUID",
|
||||
"Latitude",
|
||||
"Longitude",
|
||||
"Portal Name"
|
||||
]
|
||||
}
|
||||
},
|
||||
"Scanner Link": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
@ -100,6 +115,7 @@
|
|||
"Image URL",
|
||||
"GUID",
|
||||
"Incoming Links",
|
||||
"Outgoing Links"
|
||||
"Outgoing Links",
|
||||
"Scanner Link"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue