location_plugin

A location Flutter plugin.

Getting Started

基于腾讯地图的位置定位服务 hashMap.put("latitude",tencentLocation.getLatitude());//返回当前位置的纬度. hashMap.put("longitude",tencentLocation.getLongitude());//返回当前位置的经度. hashMap.put("name",tencentLocation.getName());//返回当前位置的名称. hashMap.put("address",tencentLocation.getAddress());//返回当前位置的地址. hashMap.put("city",tencentLocation.getCity());//返回当前位置的城市. hashMap.put("cityCode",tencentLocation.getCityCode());//返回当前位置的城市编码. hashMap.put("province",tencentLocation.getProvince());//返回当前位置的省份. hashMap.put("district",tencentLocation.getDistrict());//返回当前位置的区县. hashMap.put("street",tencentLocation.getStreet());//返回当前位置的街道. hashMap.put("streetNo",tencentLocation.getStreetNo());//返回当前位置的街道编号. hashMap.put("town",tencentLocation.getTown());//返回当前位置的乡镇. hashMap.put("village",tencentLocation.getVillage());//返回当前位置的村.

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Libraries

location_plugin