Type alias TCreateThreeDMarkerOptions

TCreateThreeDMarkerOptions: {
    mapOrMapId: MappedinMap | MappedinMap["id"];
    object: Object3D;
    position?: Vector3;
    rotation?: Euler;
    scale?: Vector3;
}

Type declaration

  • mapOrMapId: MappedinMap | MappedinMap["id"]

    map to add the marker to

  • object: Object3D

    the marker object to add to the scene

  • Optional position?: Vector3

    if provided, sets the object's position on the map

  • Optional rotation?: Euler

    if provided, sets the object's rotation relative to the map

  • Optional scale?: Vector3

    if provided, sets the object's scale relative to the map