Introduction

Xweather MapsGL SDK for Apple Platforms

Xweather MapsGL SDK for Apple Platforms enables developers to easily integrate MapsGL's comprehensive weather data and dynamic mapping capabilities into applications running on iOS, iPadOS, macOS, and visionOS. With this SDK, you can add interactive weather maps to your apps, providing users with real-time weather visualizations, forecasts, and meteorological events.

Follow our Getting Started guide to quickly add weather data and visualizations to your Apple-platform native apps.

Features

  • Visualizing real-time weather and geospatial data
  • High-performance layer rendering with Metal
  • Customizable presentation and styling of weather and geospatial information client-side

Check out our Demo project to see how to integrate MapsGL with your app.

Requirements + Compatibility

Concepts

MapsGL is a graphics library utilizing Metal (opens in a new tab) that renders weather and other custom map data all in apps for Apple platforms. Since rendering happens client-side, a user has full control over the styling and rendering of that data compared to server-side rendering of raster tiles.

Map Controller

A map controller acts as an adapter to a third-party mapping library and provides a consistent interface between the functionality of MapsGL and the underlying implementation of a third-party mapping library. All MapsGL-related data, such as data sources, weather layers, custom layers, and animation timeline information, is managed by the map controller.

Sources

Data sources are responsible for loading and providing the necessary data for a map layer. Since data sources are created and cached apart from their associated layer(s), a single data source can be used to render one or more layers with different styles. A layer must be associated with a data source in order for it to be rendered to the map.

The following data sources are currently supported:

Layer

Layers are the visual, fully styled representations of the data associated with their data source. Currently, all MapsGL layers are tile layers whose tile data can vary depending on the type of data source used. Each layer renders its data based on the renderer type the layer is configured with.

The following layer render types are currently supported:

Styles

Layer styles, also referred to as paint properties, define how layer data will be rendered on the map. The available styling options are depenedent upon the data source and configured layer renderer type. Refer to the Styles (opens in a new tab) documentation for complete details regarding the configurable paint properties for controlling your data's presentation.

Weather Layers

Our MapsGL SDK also includes numerous pre-configured and pre-styled weather layers for you to include in your maps just by using a simple layer code. You can learn more about using these built-in weather layers by reviewing our Weather Layers (opens in a new tab) documentation.