Info
Version: | 2.5.0.4-pre |
Author(s): | Thinkpower |
Last Update: | Friday, May 15, 2015 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | http://www.nuget.org/packages/Thinkpower.BindingIOS.AMap_Map/ |
NuGet Url: | https://www.nuget.org/packages/Thinkpower.BindingIOS.AMap_Map |
Install
Install-Package Thinkpower.BindingIOS.AMap_Map
dotnet add package Thinkpower.BindingIOS.AMap_Map
paket add Thinkpower.BindingIOS.AMap_Map
Thinkpower.BindingIOS.AMap_Map Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
iOS Project Options >> iOS Build >> Addtional mtouch Arguments: --gcc_flags="-stdlib=libstdc++"
/////////////////////////////////////////
MAMapView mapView = null;
public override void ViewDidLoad()
{
base.ViewDidLoad();
Thinkpower.BindingIOS.AMap_Map.MAMapServices.SharedServices().ApiKey = "Your-Key";
mapView = new MAMapView()
{
Frame = this.View.Bounds,
Delegate = new MAMapViewDelegate(),
};
this.View.AddSubview(mapView);
}
//(代码于正式版时公开).