A Swift utility to compute the smallest region that perfectly contains an overlay on a snapshot, designed for use with MKMapView
.
When working with overlays, especially with MKMapView
, it's crucial to determine the smallest region on a snapshot that completely contains the overlay. This utility, written in Swift, provides an easy-to-use solution to compute such a region.
- Conforming Size: Calculate the smallest region that perfectly fits the overlay on a snapshot.
- Designed for MKMapView: Specifically crafted for use with
MKMapView
overlays. - Swift Compatibility: Written in Swift 5.0 for optimal performance.
- MIT License: Open-source and free to use.
-
Clone the repository:
git clone https://github.com/albu-alex/ConformingOverlayRegion.git
-
Copy used code into your project.
Contributions are welcome! Feel free to open issues, submit pull requests, or provide feedback.
This project is licensed under the MIT License - see the LICENSE file for details.