Giter Club home page Giter Club logo

baidumapapidemo's Introduction

百度地图API调用三个的Demo


功能说明

BDMapDemo

  • 显示地图,并且在地图上标记一个点
  • 在卫星地图和普通地图之间切换
  • 点击屏幕上的一个点,获取其经纬度

BDMapLoc

  • GPS和基站定位,获取手机所在位置的经纬度、具体位置标记名称等等信息

BDMapRoute

  • 指定两个位置,计算之间的交通路线的距离
  • 在地图上显示出路线

导入说明

导入完之后需要修改AndroidManifest.xml中的key,把android:name="com.baidu.lbsapi.API_KEY"对应的android:value改成自己的key,具体可以参考http://lbsyun.baidu.com/index.php?title=androidsdk获取密钥。
每个工程都需要一个key。
如果有什么不懂得可以问我~

baidumapapidemo's People

Contributors

chenmingit avatar

Watchers

 avatar

Forkers

ningjingzhiye

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.