Home > @magiclane/maps-sdk > WeatherRestServiceOptions

WeatherRestServiceOptions interface

Signature:

export interface WeatherRestServiceOptions 

Properties

Property

Modifiers

Type

Description

baseUrl?

string

(Optional) Weather REST base URL. Defaults to the Magic Lane weather host (https://maps1.ro.m71os.services.generalmagic.com). Override to target a different region/replica or your own proxy.

token

string

Magic Lane app token (same one passed to GemKit.initialize). Sent as the Authorization header on every request.

unitSystem?

WeatherUnitSystem

(Optional) Unit system for returned values. Defaults to metric.