User Tools

Site Tools


map_suite_ios_visualizing_data

Map Suite iOS Visualizing Data

Video Overview

Visualizing Data
Visualizing Data(Xamarin Forms)

Introduction

The visualization ability of Map Suite iOS Edition can be customized to show information exactly the way you want! It’s possible to filter regions by attribute, display graphs of important data, create a custom style with your own icons, show frequency of events, map intensity, and more.

Visualization Styles

Select the layer visualization style by tapping the menu icon in the upper-left corner.

The Settings dialog can be accessed by tapping the gear icon on the menu in the upper-right corner. In this dialog, it is possible to change the Value that sets the criteria.

  • Cluster Style – Instead of displaying every point, Cluster Style merges multiple data points into a cluster. In this example, the number of earthquakes is shown. For regions with many earthquakes, one larger cluster is displayed.
  • Custom Style – Map Suite iOS Edition is extremely versatile. We open up the API to allow you to create a custom style that meets your specific needs. This Custom Style example that displays weather was built to show you that anything is possible.
  • Filter Style – Only shows features that meet a certain criteria. In this example, we use the name of US states. When the name of the state is entered, the state is displayed in the style.
  • Class Break Style – Similar to Filter Style, but instead of either showing or not showing a feature, Class Break Style displays features differently depending on what range the value falls into. Here we show U.S. states colorized based upon population, with blue representing a lowly populated state, red a highly populated one, and other colors representing states in between.
  • Dot Density Style – A visual representation of density by dots. The dots are randomly spread out across the feature. The dots in our example represent the density of that state, not where the population is located in that state.
  • Heatmap – Creates a radius around points, with color corresponding to the value. In our example, we show earthquakes with a colored radius corresponding to the magnitude.
  • Icon Style – Displays icons on the map, such as vehicles.
  • Isoline Style – Delineates regions of similar values. We show regions that have experienced a similar magnitude of earthquake in the same color and separate those regions with isolines.

A Look at the Code

Main.cs is the entrance to the app. It opens AppDelegate.cs. Storyboards contain UI and the relationship between UIs, but for this sample they are blank. MainViewController.cs contains the UI and imports the XML file that lists all samples. ViewDidLoad() is the iOS event for page load.

In the Controllers folder, there is a controller for each of the Visualization samples. Each controller should give you an idea of what APIs are used to execute the Visualization. Under Controllers > Advanced, DetailVewController.cs has common functions that are inherited by the Visualization controllers. SliderViewController.cs handles the menu that slides in from the left side of the map.

map_suite_ios_visualizing_data.txt · Last modified: 2016/01/12 03:23 by tgwikiupdate