All Projects → qiuxiang → React Native Amap Geolocation

qiuxiang / React Native Amap Geolocation

Licence: mit
React Native geolocation module for Android + iOS

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to React Native Amap Geolocation

Geo Location
Web component element for the Geolocation API
Stars: ✭ 86 (-70.24%)
Mutual labels:  location, geolocation
Geolocation
Flutter geolocation plugin for Android and iOS.
Stars: ✭ 205 (-29.07%)
Mutual labels:  location, geolocation
Coregpx
A library for parsing and creation of GPX location files. Purely Swift.
Stars: ✭ 132 (-54.33%)
Mutual labels:  location, geolocation
simple-location
Adds Basic Location Support to Wordpress
Stars: ✭ 26 (-91%)
Mutual labels:  location, geolocation
pikaz-location
定位插件(限中国)
Stars: ✭ 78 (-73.01%)
Mutual labels:  location, geolocation
Pelias Android Sdk
Android sdk for pelias
Stars: ✭ 20 (-93.08%)
Mutual labels:  location, geolocation
React Native Android Location Services Dialog Box
React Native Android Location Services Dialog Box
Stars: ✭ 175 (-39.45%)
Mutual labels:  location, geolocation
Leku
🌍 Map location picker component for Android. Based on Google Maps. An alternative to Google Place Picker.
Stars: ✭ 612 (+111.76%)
Mutual labels:  location, geolocation
exploring-my-neighborhood
track all your moves and visualize them!
Stars: ✭ 16 (-94.46%)
Mutual labels:  location, geolocation
Timezonefinder
fast python package for finding the timezone of any point on earth (coordinates) offline
Stars: ✭ 242 (-16.26%)
Mutual labels:  location, geolocation
React Native Geolocation Service
React native geolocation service for iOS and android
Stars: ✭ 934 (+223.18%)
Mutual labels:  location, geolocation
discourse-locations
Tools for handling locations in Discourse
Stars: ✭ 31 (-89.27%)
Mutual labels:  location, geolocation
Flutter Geolocator
Android and iOS Geolocation plugin for Flutter
Stars: ✭ 759 (+162.63%)
Mutual labels:  location, geolocation
P5.geolocation
a geolocation and geofencing library for p5.js
Stars: ✭ 75 (-74.05%)
Mutual labels:  location, geolocation
React Native Geolocation
Geolocation APIs for React Native
Stars: ✭ 640 (+121.45%)
Mutual labels:  location, geolocation
Track Ip
Advanced Ip Tracker Tool
Stars: ✭ 150 (-48.1%)
Mutual labels:  location, geolocation
React Native Baidumap Sdk
React Native BaiduMap SDK for Android + iOS
Stars: ✭ 309 (+6.92%)
Mutual labels:  location, geolocation
Googleapi
C# .NET Core Google Api (Maps, Places, Roads, Search, Translate). Supports all endpoints and requests / responses.
Stars: ✭ 346 (+19.72%)
Mutual labels:  location, geolocation
Use Position
🌍 React hook usePosition() for fetching and following a browser geolocation
Stars: ✭ 230 (-20.42%)
Mutual labels:  location, geolocation
orange3-geo
🍊 🌍 Orange add-on for dealing with geography and geo-location
Stars: ✭ 22 (-92.39%)
Mutual labels:  location, geolocation

react-native-amap-geolocation npm version build status

React Native 高德地图定位模块,支持 Android + iOS,提供尽可能完善的原生接口, 同时提供符合 Web 标准的 Geolocation API。

用法

import { PermissionsAndroid } from "react-native";
import { init, Geolocation } from "react-native-amap-geolocation";

await PermissionsAndroid.requestMultiple([
  PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,
  PermissionsAndroid.PERMISSIONS.ACCESS_COARSE_LOCATION,
]);

await init({
  ios: "9bd6c82e77583020a73ef1af59d0c759",
  android: "043b24fe18785f33c491705ffe5b6935"
});

Geolocation.getCurrentPosition(({ coords }) => {
  console.log(coords);
});

文档

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].