Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.
/ MRWorldMapView Public archive

UIView subclass that displays a world map with selectable countries.

License

Notifications You must be signed in to change notification settings

hectr/MRWorldMapView

Repository files navigation

MRWorldMapView

Version License Platform

Introduction

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.

EU Map World Map

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

CocoaPods

MRWorldMapView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "MRWorldMapView"

Manually

Copy the MRWorldMapView directory into your project.

License

MRWorldMapView is available under the Apache 2.0 license. See the LICENSE file for more info.

Alternatives

Other country pickers:

Other selectable maps:

GeoJSON handling:

About

UIView subclass that displays a world map with selectable countries.

Resources

License

Stars

Watchers

Forks

Packages

No packages published