Interactive weather layers to customize for MapTiler SDK Swift
📖 Documentation 📦 Swift Package 🌐 Website 🔑 Get API Key
Table of Contents
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.
To use weather layers, you first need to register the MapTilerWeatherModule with your MTMapView.
import MapTilerSDK
import MapTilerWeather
// ... in your View or ViewController
mapView.registerModule(MapTilerWeatherModule())// Example: Adding a Wind Layer
let windLayer = MTWindLayer()
windLayer.addTo(mapView)Check out the full list of MapTiler examples
For detailed guides, API reference, and advanced examples, visit our comprehensive documentation:
- 📚 Documentation - Comprehensive guides and API reference
- ✉️ Contact us - Get in touch or submit a request
- 🐦 Twitter/X - Follow us for updates
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
This project is licensed under the BSD 3-Clause License – see the LICENSE file for details.
💜 Made with love by the MapTiler team
Website •
