Skip to content

Repository files navigation

Company Logo

MapTiler Weather SDK for Swift

Interactive weather layers to customize for MapTiler SDK Swift


📖 Documentation   📦 Swift Package   🌐 Website   🔑 Get API Key



Table of Contents

📦 Installation

Swift Package Manager

Add the following to your Package.swift file:

dependencies: [
    .package(url: "https://github.com/maptiler/maptiler-weather-swift.git", from: "1.0.0")
]

Or add it via Xcode: File > Add Packages... and enter the repository URL.


🚀 Basic Usage

To use weather layers, you first need to register the MapTilerWeatherModule with your MTMapView.

1. Register the Module

import MapTilerSDK
import MapTilerWeather

// ... in your View or ViewController
mapView.registerModule(MapTilerWeatherModule())

2. Add a Weather Layer

// Example: Adding a Wind Layer
let windLayer = MTWindLayer()
windLayer.addTo(mapView)

💡 Related Examples

Check out the full list of MapTiler examples


📘 API Reference

For detailed guides, API reference, and advanced examples, visit our comprehensive documentation:

API documentation


💬 Support




🤝 Contributing

We love contributions from the community! Whether it's bug reports, feature requests, or pull requests, all contributions are welcome:

  • Fork the repository and create your branch from main
  • If you've added code, add tests that cover your changes
  • Ensure your code follows our style guidelines
  • Open a pull request with a clear summary and comprehensive description

📄 License

This project is licensed under the BSD 3-Clause License – see the LICENSE file for details.


Get Your API Key FREE
Start building with 100,000 free map loads per month ・ No credit card required.


💜 Made with love by the MapTiler team

Website •

MapTiler Logo

About

Interactive weather layers to customize for MapTiler SDK Swift

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages