gengjf / MRWorldMapView

UIView subclass that displays a world map with selectable countries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:Other


Languages

Language:Objective-C 98.6%Language:Ruby 1.4%