FSInteractiveMap alternatives and similar libraries
Based on the "Charts" category.
Alternatively, view FSInteractiveMap alternatives based on common mentions on social networks and blogs.
-
Charts
Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart. -
PNChart
A simple and beautiful chart lib used in Piner and CoinsMan for iOS -
Scrollable-GraphView
An adaptive scrollable graph view for iOS to visualise simple discrete datasets. Written in Swift. -
JBChartView
iOS-based charting library for both line and bar graphs. -
BEMSimpleLineGraph
Elegant Line Graphs for iOS (charting library). -
SwiftCharts
Easy to use and highly customizable charts library for iOS -
XYPieChart
A simple and animated Pie Chart for your iOS app. -
TEAChart
Simple and intuitive iOS chart library. Contribution graph, clock chart, and bar chart. -
Graphs
Light weight charts view generater for iOS. Written in Swift. -
XJYChart
iOS Chart. Support animation, click, scroll, area highlight. -
EChart
iOS/iPhone/iPad Chart, Graph. Event handling and animation supported. -
Swift LineChart
Line Chart library for iOS written in Swift -
PieCharts
Easy to use and highly customizable pie charts library for iOS -
JYRadarChart
an iOS open source Radar Chart implementation -
ANDLineChartView
ANDLineChartView is easy to use view-based class for displaying animated line chart. -
TWRCharts
An iOS wrapper for ChartJS. Easily build animated charts by leveraging the power of native Obj-C code. -
Dr-Charts
Dr-Charts is a highly customisable, easy to use and interactive chart / graph framework in Objective-C. -
JTChartView
JTChartView is the new lightweight and fully customizable solution to draw a chart. -
DDSpiderChart
Easy to use Spider (Radar) Chart library for iOS written in Swift. -
CoreCharts
Core Charts | Basic Scrollable Chart Library for iOS -
MSBBarChart
MSBBarChart is an easy to use bar chart library for iOS -
CSPieChart
This is pie chart that is very easy to use and customizable design.
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of FSInteractiveMap or a related project?
README
FSInteractiveMap
A charting library to visualize data on a map. It's like geochart but for iOS!
The idea behind this library is to load a SVG file of a map and display it simply in a view. On top of that you can know when a specific area is clicked.
Please note that the SVG loading is quite simple and doesn't support all the features of the SVG file format. It's just good enough to display most of the maps I found in SVG!
Screenshots
Installing FSInteractiveMap
Add the contents of the FSInteractiveMap project to your directory or simply add the following line to your Podfile:
pod "FSInteractiveMap"
How to use
FSInteractiveMap is a subclass of UIView so it can be added as regular view. It's basically loading a map from a SVG file. I bundled a few svg maps in the example but you can add any SVG to your project and load it.
NSDictionary* data = @{ @"asia" : @12,
@"australia" : @2,
@"north_america" : @5,
@"south_america" : @14,
@"africa" : @5,
@"europe" : @20
};
FSInteractiveMapView* map = [[FSInteractiveMapView alloc] initWithFrame:self.view.frame];
[map loadMap:@"world-continents-low" withData:data colorAxis:@[[UIColor lightGrayColor], [UIColor darkGrayColor]]];
[map setClickHandler:^(NSString* identifier, CAShapeLayer* layer) {
self.detailDescriptionLabel.text = [NSString stringWithFormat:@"Continent clicked: %@", identifier];
}];
An example of a "clickable" map:
FSInteractiveMapView* map = [[FSInteractiveMapView alloc] initWithFrame:CGRectMake(16, 96, self.view.frame.size.width - 32, 500)];
[map loadMap:@"usa-low" withColors:nil];
[map setClickHandler:^(NSString* identifier, CAShapeLayer* layer) {
if(_oldClickedLayer) {
_oldClickedLayer.zPosition = 0;
_oldClickedLayer.shadowOpacity = 0;
}
_oldClickedLayer = layer;
// We set a simple effect on the layer clicked to highlight it
layer.zPosition = 10;
layer.shadowOpacity = 0.5;
layer.shadowColor = [UIColor blackColor].CGColor;
layer.shadowRadius = 5;
layer.shadowOffset = CGSizeMake(0, 0);
}];
How to find SVG maps
There are a few places where you can find svg files that are suitable for FSInteractiveMap. Here is a short list:
- http://www.amcharts.com/svg-maps/
- http://www.highcharts.com/maps/demo#custom/world-continents
- Wikipedia
Contact & Issues
If you have any issues please let me know in the issue part of this project. For any other things you can reach me on twitter or by email.