I have a Google Maps field and I would like to query by the location. My field is called "itemLocation". What should I use as the "key"? Because the following does not work:
metaQuery: {
relation: AND
metaArray: [
{
key: "itemLocation['latitude']",
compare: BETWEEN,
value: [$latitude_start, $latitude_end]
},
{
key: "itemLocation['longitude']",
compare: BETWEEN,
value: [$latitude_start, $latitude_end]
}
]
}