基于Android的百度地图多功能实现 |
| |
引用本文: | 冯先成,,周 密,徐 川.基于Android的百度地图多功能实现[J].武汉工程大学学报,2016,38(5):490-494. |
| |
作者姓名: | 冯先成 周 密 徐 川 |
| |
作者单位: | 1. 武汉工程大学电气信息学院,湖北 武汉 430205;2. 智能机器人湖北省重点实验室(武汉工程大学),湖北 武汉 430205 |
| |
摘 要: | 基于墨卡托投影法、A*算法等理论,调用百度地图应用程序接口(API)的SDKInitializer、MapView和BaiduMap三大核心类方法,设计出一套百度地图的方案. 首先进行密钥申请和清单文件的配置,再自定义一个基类BaseActivity,完成地图界面初始化、调用生命周期方法等预操作. 在基类上进行地图多功能开发,实现了浏览地图、搜寻地点、路线规划、自我定位等应用. 结果表明,多功能百度地图有较好的移植性、实用性,更加贴近用户,能够满足用户搜索、定位等基本功能的实际需求.
|
关 键 词: | Android 百度地图 A*算法 搜索 |
Implementation of Multi-Function Baidu Map Based on Android |
| |
Authors: | FENG Xiancheng " target="_blank">' target="_blank" rel="external"> ZHOU Mi XU Chuan |
| |
Affiliation: | 1.School of Electrical and Information Engineering,Wuhan Institute of Technology,Wuhan 430205,China;2. Hubei Key Laboratory of Intelligent Robot (Wuhan Institute of Technology), Wuhan 430205,China |
| |
Abstract: | Based on the theories of Mercator projection and A* algorithm, a set of Baidu map plan was designed by using the methods of three core classes of Baidu map application program interface — SDK Initializer, MapView and BaiduMap. First, the key application and manifest configuration were completed, and then the base class BaseActivity was defined to complete the pre-operation such as the initialization of map interface and the calling of life cycle’s method. By which the multi-function Baidu map was developed and the basic functions of map browsing, specified location search, route planning, positioning, etc. were implemented. The results indicate that the multi-function Baidu map has better portability, practicality and popularization, satisfying the users’ requirement of search and location. |
| |
Keywords: | Android baidumap A* algorithm searching |
本文献已被 CNKI 等数据库收录! |
| 点击此处可从《武汉工程大学学报》浏览原始摘要信息 |
|
点击此处可从《武汉工程大学学报》下载全文 |