Thinkpower.BindingANDROID.AMap_Map
2.2.0.14-pre
dotnet add package Thinkpower.BindingANDROID.AMap_Map --version 2.2.0.14-pre
NuGet\Install-Package Thinkpower.BindingANDROID.AMap_Map -Version 2.2.0.14-pre
<PackageReference Include="Thinkpower.BindingANDROID.AMap_Map" Version="2.2.0.14-pre" />
paket add Thinkpower.BindingANDROID.AMap_Map --version 2.2.0.14-pre
#r "nuget: Thinkpower.BindingANDROID.AMap_Map, 2.2.0.14-pre"
// Install Thinkpower.BindingANDROID.AMap_Map as a Cake Addin #addin nuget:?package=Thinkpower.BindingANDROID.AMap_Map&version=2.2.0.14-pre&prerelease // Install Thinkpower.BindingANDROID.AMap_Map as a Cake Tool #tool nuget:?package=Thinkpower.BindingANDROID.AMap_Map&version=2.2.0.14-pre&prerelease
// 版本号码:前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);
}
}
//(代码于正式版时公开)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
MonoAndroid | monoandroid50 is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.2.0.14-pre | 2,099 | 4/14/2015 |