@yandex/ymaps3-types
Version:
Types for ymaps3 maps library
16 lines (15 loc) • 588 B
TypeScript
import { Context } from "./Entities";
import type { MAP_TYPES } from "./YMapDefaultSchemeLayer";
/**
* Selects one of predefined map style modes optimized for particular use case. The following values are supported:
* * `map` - basic map (by default)
* * `future-map` - the base map with the new design
* * `driving` - automobile navigation map
* * `transit` - public transport map
* * `admin` - administrative map
*/
export type YMapType = keyof typeof MAP_TYPES;
export type YMapTypeContext = {
type?: YMapType;
};
export declare const TypeContext: Context<YMapTypeContext>;