Reputation: 213
Does anyone know how to do the schema for GeoShape Circle? I am trying to set up a coverage area for my service based business (no physical location).
I would like to do 30 miles in every direction of Sacramento, CA
This is the code I am starting with
"areaServed": [
{
"@type": "AdministrativeArea",
"geo": {
"@type": "GeoCoordinates",
"latitute": "",
"longitude": ""
}
},
Upvotes: 2
Views: 1863
Reputation: 96697
The areaServed
property can have a GeoShape
value directly, no need for AdministrativeArea
+ geo
(which doesn’t seem to be appropriate for your case, anyway).
And because GeoCircle
is a subtype of GeoShape
, you can use this as value, too.
Then you can provide the geoMidpoint
and the geoRadius
(in meters if without unit).
So it could look like:
"areaServed": {
"@type": "GeoCircle",
"geoMidpoint": {
"@type": "GeoCoordinates",
"latitude": "",
"longitude": ""
},
"geoRadius": "48280.3"
}
Upvotes: 3