# BasemapSource

Where a basemap's pixels come from.

This is a type alias exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import type { BasemapSource } from "@mapcairn/core";
 
type BasemapSource = {
    readonly kind: "raster";
    readonly tileUrl: string;
    readonly tileSize: 256;
} | {
    readonly kind: "vector";
    readonly styleUrl: string;
} | {
    readonly kind: "hybrid";
    readonly tileUrl: string;
    readonly tileSize: 256;
    readonly maxTileZoom: number;
    readonly labelStyleUrl: string;
    readonly labelSourceLayers: readonly string[];
    readonly labelOmitLayers?: readonly string[];
};
```

Source: [packages/core/src/ports/basemap.ts:14](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/ports/basemap.ts#L14)
