地形图上的TN和GPtn面板是什么么意思

google 地图和baidu地图 在android上的实现过程详解和对比 包含 自定义图层的绘制 - 博客频道 - CSDN.NET
生活不止眼前的苟且,还有诗和远方!
分类:Android_
这是我的测试中 baidu地图和Google地图 的显示情况, 显然 百度的更详细一些,google地图在电脑上的表现还是很好的,所以做手机地图测试我开始也是用google的,没想到 &实现过程 &超麻烦,首先是申请API key , google apikey现在的申请地址也换了,让我找了好半天,现是下面这个链接
打开后就是悲催的 无法显示&
千辛万苦,跋山涉水,翻山越岭 (此处省略一万字)终于注册到了。。。。。。。
才开始 地图开发 ,尼玛, 下面是工程结构(左图),&
需要注意的是 开发google地图应用 |需要创建 google apis 模拟器,普通模拟器不行,之前我可走了大弯路,由于我的SDK里只有android-10和android-14&
没想到开发地图应用需要创建 google apis 模拟器, &我就加了个maps包, 代码完全正常, (右图) &就是运行的时候提示错误,我在网上查那个错误信息,按照网上的各种
方法修改都不行, 在群里也是各种问,全部 无果,,后来查到一个 说要创建 google apis
模拟器,然后我就在网上查找google apis 包,解压到sdk\add-ons里,重启eclipse
就可以创建 google apis
模拟器和工程了,
布局文件 main.xml &, 其中 apiKey 就是填写在Google上申请到的apikey
主Activity & 包括自定义图层绘制
public class GooglemapActivity extends MapActivity {
private MapController mMapController01;
private MapView mMapView01;
private Button mButton01, mButton02, mButton03;
private EditText mEditText01;
private EditText mEditText02;
private int intZoomLevel = 0;
/* Map启动时的预设坐标: */
// private double dLat=34.818881;
// private double dLng=113.68235;
private double dL
private double dL
protected void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.main);
/* 定位到自己当前位置 */
/* 建立MapView对象 */
mMapView01 = (MapView) findViewById(R.id.myMapView1);
// 取得MapController对象(控制MapView)
mMapController01 = mMapView01.getController();
mMapView01.setEnabled(true);
mMapView01.setClickable(true);
/* 设定MapView的显示选项(卫星、街道) */
// mMapView01.setSatellite(false); //卫星图
mMapView01.setStreetView(true);// 街道图
/* 预设放己的层级 */
intZoomLevel = 15;
mMapController01.setZoom(intZoomLevel);
mMapView01.setBuiltInZoomControls(true);// 显示缩放控件
mMapView01.displayZoomControls(true);//
mMapView01.setTraffic(true);// 交通图
/* 设定Map的中点为预设经纬度 */
refreshMapView();
Drawable marker = getResources().getDrawable(R.drawable.da_marker_red);
marker.setBounds(0, 0, marker.getIntrinsicWidth(),
marker.getIntrinsicHeight());// Intrinsic固有
mMapView01.getOverlays().add(new MyItemizedOverlay(marker, this));
mEditText01 = (EditText) findViewById(R.id.myEdit1);
mEditText02 = (EditText) findViewById(R.id.myEdit2);
/* 送出查询的Button */
mButton01 = (Button) findViewById(R.id.myButton1);
mButton01.setOnClickListener(new Button.OnClickListener() {
public void onClick(View v) {
/* 经纬度空白检查 */
if (mEditText01.getText().toString().equals(&&)
|| mEditText02.getText().toString().equals(&&)) {
showDialog(&经度或纬度填写不正确!&);
/* 取得输入的经纬度 */
dLng = Double.parseDouble(mEditText01.getText().toString());
dLat = Double.parseDouble(mEditText02.getText().toString());
/* 依输入的经纬度重整Map */
refreshMapView();
/* 放大Map的Button */
mButton02 = (Button) findViewById(R.id.myButton2);
mButton02.setOnClickListener(new Button.OnClickListener() {
public void onClick(View v) {
intZoomLevel++;
if (intZoomLevel & mMapView01.getMaxZoomLevel()) {
intZoomLevel = mMapView01.getMaxZoomLevel();
mMapController01.setZoom(intZoomLevel);
/* 缩小Map的Button */
mButton03 = (Button) findViewById(R.id.myButton3);
mButton03.setOnClickListener(new Button.OnClickListener() {
public void onClick(View v) {
intZoomLevel--;
if (intZoomLevel & 1) {
intZoomLevel = 1;
mMapController01.setZoom(intZoomLevel);
// 同一类型覆盖物的绘制
class MyItemizedOverlay extends ItemizedOverlay&OverlayItem& {
private Context mC
private List&OverlayItem& geoList = new ArrayList&OverlayItem&();
// 经纬度的属性
private double mLat1 = 34.818881;
private double mLon1 = 113.68235;
private double mLat2 = 39.607723;
private double mLon2 = 116.397741;
private double mLat3 = 39.917723;
private double mLon3 = 116.6552;
// 构造方法
public MyItemizedOverlay(Drawable marker, Context context) {
super(boundCenterBottom(marker));
this.marker =
this.mContext =
// 构造地理坐标
GeoPoint p1 = new GeoPoint((int) (mLat1 * 1E6), (int) (mLon1 * 1E6));
GeoPoint p2 = new GeoPoint((int) (mLat2 * 1E6), (int) (mLon2 * 1E6));
GeoPoint p3 = new GeoPoint((int) (mLat3 * 1E6), (int) (mLon3 * 1E6));
geoList.add(new OverlayItem(p1, &P1&, &这是我的当前位置&));
geoList.add(new OverlayItem(p2, &P2&, &point2&));
geoList.add(new OverlayItem(p3, &P3&, &point3&));
populate();// 执行填充方法
// 绘制方法
public void draw(Canvas canvas, MapView mapView, boolean shadow) {
// 投影,用于屏幕像素点坐标系统与地球经纬度点坐标系统的转换
Projection projection = mapView.getProjection();
for (int index = size() - 1; index &= 0; index--) {
OverlayItem overlayItem = this.getItem(index);
String title = overlayItem.getTitle();
Point point = projection.toPixels(overlayItem.getPoint(), null);
Paint painttext = new Paint();
painttext.setColor(Color.BLACK);
painttext.setTextSize(15);
canvas.drawText(title, point.x - 30, point.y - 25, painttext);
super.draw(canvas, mapView, shadow);
boundCenterBottom(marker);
// 添加成员方法
protected OverlayItem createItem(int i) {
return geoList.get(i);
public int size() {
return geoList.size();
// 添加点击事件
public boolean onTap(int i) {
setFocus(geoList.get(i));
Toast.makeText(this.mContext, geoList.get(i).getSnippet(),
Toast.LENGTH_LONG).show();// snippet片段
public boolean onTap(GeoPoint point, MapView mapView) {
return super.onTap(point, mapView);
/* 重整Map的method */
public void refreshMapView() {
GeoPoint p = new GeoPoint((int) (dLat * 1E6), (int) (dLng * 1E6));
mMapView01.displayZoomControls(true);
/* 将Map的中点移出GeoPoint */
mMapController01.animateTo(p);
mMapController01.setZoom(intZoomLevel);
protected boolean isRouteDisplayed() {
public void myself() {
LocationManager lm = (LocationManager) getSystemService(LOCATION_SERVICE);
Location l = lm.getLastKnownLocation(LocationManager.GPS_PROVIDER);
if (l == null) {
Toast.makeText(GooglemapActivity.this, &无法获取自己的位置&,
Toast.LENGTH_SHORT).show();
/* 默认 的位置 */
dLat = 34.818881;
dLng = 113.68235;
// GeoPoint gp = new GeoPoint((int)(l.getLatitude() * 1E6),
// (int)(l.getLongitude() * 1E6));
// mMapController01.animateTo(gp);
// // mMapController01.setZoom(17);
dLat = (int) (l.getLatitude() * 1E6);
dLng = (int) (l.getLongitude() * 1E6);
/* 显示Dialog的method */
private void showDialog(String mess) {
new AlertDialog.Builder(GooglemapActivity.this).setTitle(&Message&)
.setMessage(mess)
.setNegativeButton(&确定&, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
}).show();
百度地图API &for android 首页
点击左侧导航 的 &获取密钥 --& &填写信息 --& 然后就申请成功了, 很轻松吧
中文好有爱啊,说明文档啥的 下下来一看就懂了,而且还有demo,代码的实现过程跟google差不多
OnlyOneCoder
排名:第2356名
(0)(5)(67)(1)(5)(11)(1)(4)(3)(0)当前位置: >
> 佳博GP-3150TN打印机驱动程序
佳博GP-3150TN打印机驱动程序
佳博gp3120tn驱动下载
软件大小:3.79MB
软件语言:简体中文
软件类型:
软件授权:免费软件
更新时间:
软件类别:打印机
软件官网:
应用平台:
网友评分:
软件介绍人气软件下载地址相关文章
惠普1020打印机驱动程序完美支持win7/8的64位。是HP LaserJet 1020打印机专业的驱动程序。惠普1020打印机驱动支持win7/win8,用于使打印机正常的工作SP-POS58系列热敏打印机驱动包,包括安装程序和卸载程序hp1007打印机驱动下载,适用于LaserJet P/Pn等打印机,能够支持2000、xp、vista、win7系统hp1505驱动,直接从官方下载的正式版本,能够支持惠普打印机p1000系列和p1500系列,自然包括了惠普1505打印机,支持winxp,vista,win7等系统,帮助用户解决打印机不能正常用机器自带的驱动(惠普m1136驱动),在WIN7系统下安装老是出错。好不容易找到了这个,在这里就一起和大家分享了,以为自己备份一个。hp3050打印机是一款多功能一体打印机,主要功能有打印、复印、扫描、传真。性能不错,非常经济实惠芯烨全系列票据打印机windows驱动
注:本驱动不支持标签打印机。具体所支持的型号包括:
XP-58系列,XP-80系列,XP-90系列,XP-76C系列。
支持windowsxp/vista/2003/xp/hp3055打印机驱动 For win7:这是最新版本的 HP 通用打印驱动程序 (UPD)本款爱普生Epson LQ1600K打印机驱动程序是一款可以在win7和win8系统下使用的爱普生lq1600k驱动程序,Epson LQ1600K打印机驱动程序可以有效的解决Epson LQ1600K打印机在使用hp5200打印机是一款黑白激光打印机,此系列的打印机还包括hp5200L、hp5200LX、hp5200N和hp5200DTN。而小编这里提供的是hp5200打印机驱动下载,能够支持hp 5200全系列的产品
佳博GP-3150TN打印机驱动程序
CopyRight &
JB51.Net , All Rights Reserved当前位置&&&&驱动信息
Gainscha佳博GP-3120TN/GP-3150TIN条码打印机驱动版For WinXP-32/Vista-32/Win7-32(日发布)
操作系统:WinXP-32,Vista-32,Win7-32
发布厂商:
发布日期:
文件容量:18.63M
驱动种类:
适应硬件:
下载次数:次
手机下载带回去用?点开扫描二维码
分享给小伙伴们:
关注驱动精灵
这条解决了我的问题0条
这条驱动不太适合我0条
请输入反馈内容
请输入您的联系方式,QQ/邮箱/联系电话
您也可以通过以下方式和我们交流:
手机扫描进行关注
登录驱动之家
没有帐号?
用合作网站帐户直接登录 上传我的文档
 下载
 收藏
该文档贡献者很忙,什么也没留下。
 下载此文档
正在努力加载中...
煤场盘煤系统研究与设计
下载积分:2000
内容提示:煤场盘煤系统研究与设计
文档格式:PDF|
浏览次数:16|
上传日期: 14:53:36|
文档星级:
该用户还上传了这些文档
煤场盘煤系统研究与设计
官方公共微信

我要回帖

更多关于 tn面板是什么 的文章

 

随机推荐