====== Source Code Android Edition ProjectTemplates USEarthquakeStatics CS.zip ====== ====MainActivity.cs==== using Android.App; using Android.OS; using Android.Views; using Android.Widget; using System; using System.Collections.ObjectModel; using System.IO; using ThinkGeo.MapSuite.AndroidEdition; using ThinkGeo.MapSuite.Core; namespace MapSuiteEarthquakeStatistics { [Activity(Label|= "US Earthquake", Icon = "@drawable/MapSuite", ConfigurationChanges = Android.Content.PM.ConfigChanges.Orientation | Android.Content.PM.ConfigChanges.KeyboardHidden | Android.Content.PM.ConfigChanges.ScreenSize)] public class MainActivity : Activity { private SelectBaseMapTypeDialog selectBaseMapTypeDialog; private SelectDisplayTypeDialog selectDisplayTypeDialog; private RadioButton panRadioButton; private RadioButton polygonRadioButton; private RadioButton rectangleRadioButton; private LayerOverlay highlightOverlay; private LayerOverlay earthquakeOverlay; private HeatLayer earthquakeHeatLayer; private ShapeFileFeatureLayer earthquakePointLayer; private InMemoryFeatureLayer selectedMarkerLayer; private InMemoryFeatureLayer highlightMarkerLayer; protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); SetContentView(Resource.Layout.Main); InitializeAndroidMap(); InitializeDialogs(); panRadioButton = FindViewById(Resource.Id.PanButton); polygonRadioButton = FindViewById(Resource.Id.DrawPolygonButton); rectangleRadioButton = FindViewById(Resource.Id.DrawRectangleButton); Button clearButton = FindViewById