Skip to content

Function: lngLat() ​

ts
function lngLat<F>(
   lng, 
   lat, 
   options?
): GridSpec<F>;

Defined in: packages/core/src/specs.ts:70

A world grid of longitude by latitude cells, for maps. Brushing it filters on the raw coordinates, so a box drawn on a plate carrée map is exact.

Type Parameters ​

Type Parameter
F extends string

Parameters ​

ParameterType
lngF
latF
options?LngLatOptions

Returns ​

GridSpec<F>

Released under the MIT License.