MVFv3 API Documentation
    Preparing search index...

    Type Alias FloorTextFeature

    type FloorTextFeature = {
        properties:
            | {
                align: "unknown"
                | "left"
                | "center"
                | "right";
                color: string;
                fontFamily: string;
                fontSize: number;
                id: `eft_${string}`;
                rotation: number;
                text: string;
                visible: boolean;
            } & { geometryId: `g_${string}` }
            | {
                align: "unknown" | "left" | "center" | "right";
                color: string;
                fontFamily: string;
                fontSize: number;
                id: `eft_${string}`;
                rotation: number;
                text: string;
                visible: boolean;
            } & { verticalOffset: number };
        type: "Feature";
        geometry: { coordinates: [number, number]; type: "Point" };
    }
    Index

    Properties

    properties:
        | {
            align: "unknown"
            | "left"
            | "center"
            | "right";
            color: string;
            fontFamily: string;
            fontSize: number;
            id: `eft_${string}`;
            rotation: number;
            text: string;
            visible: boolean;
        } & { geometryId: `g_${string}` }
        | {
            align: "unknown" | "left" | "center" | "right";
            color: string;
            fontFamily: string;
            fontSize: number;
            id: `eft_${string}`;
            rotation: number;
            text: string;
            visible: boolean;
        } & { verticalOffset: number }

    Type declaration

    • {
          align: "unknown" | "left" | "center" | "right";
          color: string;
          fontFamily: string;
          fontSize: number;
          id: `eft_${string}`;
          rotation: number;
          text: string;
          visible: boolean;
      } & { geometryId: `g_${string}` }
      • align: "unknown" | "left" | "center" | "right"

        Horizontal alignment of multi-line text.

        'center'
        
      • color: string

        The color of the text in CSS format (e.g. #000000, rgb(0, 0, 0), black).

        'black'
        
      • fontFamily: string

        The font family of the text.

        'Droid Sans'
        
      • fontSize: number

        The em-height (multiplier of the font's height) at which to render the font, in meters. The font height is the distance between the ascender (highest point, height of an A) and descender (lowest point, bottom of a g) of the font. For example, if the font-size is 12, the space for a single character will be 12 meters high.

        12
        
      • id: `eft_${string}`

        The ID of the floor text.

      • rotation: number

        Rotation in degrees, about the center of the text. North is 0, east is 90.

        0

        360

      • text: string

        The text to display. Newline characters are supported.

      • visible: boolean

        Whether the text is visible.

        true
        
      • geometryId: `g_${string}`
    • {
          align: "unknown" | "left" | "center" | "right";
          color: string;
          fontFamily: string;
          fontSize: number;
          id: `eft_${string}`;
          rotation: number;
          text: string;
          visible: boolean;
      } & { verticalOffset: number }
      • align: "unknown" | "left" | "center" | "right"

        Horizontal alignment of multi-line text.

        'center'
        
      • color: string

        The color of the text in CSS format (e.g. #000000, rgb(0, 0, 0), black).

        'black'
        
      • fontFamily: string

        The font family of the text.

        'Droid Sans'
        
      • fontSize: number

        The em-height (multiplier of the font's height) at which to render the font, in meters. The font height is the distance between the ascender (highest point, height of an A) and descender (lowest point, bottom of a g) of the font. For example, if the font-size is 12, the space for a single character will be 12 meters high.

        12
        
      • id: `eft_${string}`

        The ID of the floor text.

      • rotation: number

        Rotation in degrees, about the center of the text. North is 0, east is 90.

        0

        360

      • text: string

        The text to display. Newline characters are supported.

      • visible: boolean

        Whether the text is visible.

        true
        
      • verticalOffset: number

        The vertical offset of the text, in meters.

    type: "Feature"
    geometry: { coordinates: [number, number]; type: "Point" }