Thinkpower.BindingANDROID.AMap_Map 2.2.0.14-pre

// 版本号码:前3码是对应原生SDK版号,后1码是Nuget上传版号
// http://blog.csdn.net/thinkpower_support/article/details/45098943
[Activity(Label = "App1", MainLauncher = true, Icon = "@drawable/icon")]
[MetaData("com.amap.api.v2.apikey", Value = "your-apikey")]
public class MainActivity : Activity
{
   Com.Amap.Api.Maps2d.MapView mapView = null;
   protected override void OnCreate(Bundle bundle)
   {
       base.OnCreate(bundle);
       var contentView = LayoutInflater.Inflate(Resource.Layout.Main, null);
       SetContentView(contentView);
       mapView = new MapView(this)
       {
           LayoutParameters = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MatchParent, ViewGroup.LayoutParams.MatchParent)
       };
       mapView.OnCreate(bundle);
       (contentView.Parent.Parent as LinearLayout).AddView(mapView);
   }
}
//(代码于正式版时公开)

This is a prerelease version of Thinkpower.BindingANDROID.AMap_Map.
Install-Package Thinkpower.BindingANDROID.AMap_Map -Version 2.2.0.14-pre
dotnet add package Thinkpower.BindingANDROID.AMap_Map --version 2.2.0.14-pre
<PackageReference Include="Thinkpower.BindingANDROID.AMap_Map" Version="2.2.0.14-pre" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Thinkpower.BindingANDROID.AMap_Map --version 2.2.0.14-pre
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
2.2.0.14-pre 717 4/14/2015