MRWorldMapView
is a UIView
subclass that displays a world map with selectable countries.
Its appearance can be customized from Interface Builder through IBInspectable
properties or by implementing MRWorldMapViewDelegate
methods.
Limited support for loading custom GeoJSON maps is provided through the method loadGeoJSONMap:withError:
.
The code for drawing the map is derived from the Yuba - Cocoa framework for drawing graphs, charts and maps.
To run the example project, clone the repo, and run pod install
from the Example directory first.
MRWorldMapView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "MRWorldMapView"
Copy the MRWorldMapView directory into your project.
MRWorldMapView is available under the Apache 2.0 license. See the LICENSE file for more info.
Other country pickers:
- https://github.com/nicklockwood/CountryPicker
- https://github.com/emcrisostomo/EMCCountryPickerController
Other selectable maps:
GeoJSON handling: