Skip to content

A Swift utility to compute the smallest region that perfectly contains an overlay on a snapshot, designed for use with MKMapView.

License

Notifications You must be signed in to change notification settings

albu-alex/ConformingOverlayRegion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ConformingOverlayRegion

Swift Version License

A Swift utility to compute the smallest region that perfectly contains an overlay on a snapshot, designed for use with MKMapView.

Overview

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.

Features

  • 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.

Usage

  1. Clone the repository:

    git clone https://github.com/albu-alex/ConformingOverlayRegion.git
  2. Copy used code into your project.

Contribution

Contributions are welcome! Feel free to open issues, submit pull requests, or provide feedback.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A Swift utility to compute the smallest region that perfectly contains an overlay on a snapshot, designed for use with MKMapView.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages