Travelaction now has won:geoSpatial.
@@ -611,6 +611,11 @@ export const details = {
"@type": "s:GeoCoordinates",
"s:latitude": value.fromLocation.lat.toFixed(6),
"s:longitude": value.fromLocation.lng.toFixed(6),
+ "won:geoSpatial": {
+ "@type":
+ "http://www.bigdata.com/rdf/geospatial/literals/v1#lat-lon",
+ "@value": `${value.lat.toFixed(6)}#${value.lng.toFixed(6)}`,
+ },
},
"s:name": value.fromLocation.name,
},
@@ -622,6 +627,11 @@ export const details = {
"@type": "s:GeoCoordinates",
"s:latitude": value.toLocation.lat.toFixed(6),
"s:longitude": value.toLocation.lng.toFixed(6),
+ "won:geoSpatial": {
+ "@type":
+ "http://www.bigdata.com/rdf/geospatial/literals/v1#lat-lon",
+ "@value": `${value.lat.toFixed(6)}#${value.lng.toFixed(6)}`,
+ },
},
"s:name": value.toLocation.name,
},
