Initial development of geoqueries relied on rest args sent in long,lat order for radius and bbox.
It is more intuitive to work with lat/long, but in order to prevent a version break -- this should be introduced by an optional config option.
GEO_RADIUS:
https://github.com/sudowing/service-engine/blob/develop/src/database.ts#L76
GEO_BBOX:
https://github.com/sudowing/service-engine/blob/develop/src/database.ts#L64
Initial development of geoqueries relied on rest args sent in long,lat order for radius and bbox.
It is more intuitive to work with lat/long, but in order to prevent a version break -- this should be introduced by an optional config option.
GEO_RADIUS:
https://github.com/sudowing/service-engine/blob/develop/src/database.ts#L76
GEO_BBOX:
https://github.com/sudowing/service-engine/blob/develop/src/database.ts#L64