React Native Baidumap Sdk

React Native BaiduMap SDK for Android + iOS
Alternatives To React Native Baidumap Sdk
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
H5 Dooring7,298
a month ago29gpl-3.0JavaScript
H5 Page Maker, H5 Editor, LowCode. Make H5 as easy as building blocks. | 让H5制作像搭积木一样简单, 轻松搭建H5页面, H5网站, PC端网站,LowCode平台.
Sentry Javascript6,9661,0789744 hours ago302September 15, 2022205mitTypeScript
Official Sentry SDKs for JavaScript
Nteract5,9872426a day ago84July 08, 2022185bsd-3-clauseTypeScript
📘 The interactive computing suite for you! ✨
Plasmo5,60834 days ago199September 25, 202245mitTypeScript
🧩 The Browser Extension Framework
Hop2,367
3 days ago10mitTypeScript
🐰 Hop Protocol v1 monorepo
Botframework Emulator1,661
5 days ago3February 15, 2019127mitTypeScript
A desktop application that allows users to locally test and debug chat bots built with the Bot Framework SDK.
Formio.js1,569104952 days ago1,058July 15, 2022736mitJavaScript
JavaScript powered Forms with JSON Form Builder
Sentry React Native1,39611215 days ago120July 14, 202278mitTypeScript
Official Sentry SDK for React-Native
Parsereact1,30920343 years ago20April 27, 201672otherJavaScript
Seamlessly bring Parse data into your React applications.
React Native Facebook Login1,219
2103 years ago40November 05, 2019119mitObjective-C
React Native component wrapping the native Facebook SDK login button and manager
Alternatives To React Native Baidumap Sdk
Select To Compare


Alternative Project Comparisons
Readme

react-native-baidumap-sdk npm version build status

React Native BaiduMap SDK for Android + iOS.

example.apk

import { MapView } from 'react-native-baidumap-sdk'

render() {
  return <MapView center={{ latitude: 39.2, longitude: 112.4 }} />
}

<MapView satellite />

import { MapView } from 'react-native-baidumap-sdk'

render() {
  return (
    <MapView
      onLoad={() => console.log('onLoad')}
      onClick={point => console.log(point)}
      onStatusChange={status => console.log(status)}
    />
  )
}

import { MapView, Location } from 'react-native-baidumap-sdk'

await Location.init()
Location.addLocationListener(location => this.setState({ location }))
Location.start()

state = { location: null }

render() {
  return <MapView location={this.state.location} locationEnabled />
}

<MapView>
  <MapView.Marker
    color="#2ecc71"
    title="This is a marker"
    onPress={this.onPress}
  />
</MapView>

<MapView>
  <MapView.Marker
    title="This is a image marker"
    image="flag"
    coordinate={{ latitude: 39, longitude: 113 }}
  />
</MapView>

View

<MapView>
  <MapView.Marker
    icon={() => (
      <View>
        <Image source={image} />
        <Text>This is a custom marker</Text>
      </View>
    )}
  />
</MapView>

onStatusChange = status => this.cluster.update(status)

renderMarker = item => (
  <MapView.Marker
    key={item.extra.key}
    coordinate={item.coordinate}
  />
)

render() {
  return (
    <MapView onStatusChange={this.onStatusChange}>
      <MapView.Cluster
        ref={ref => this.cluster = ref}
        markers={this.markers}
        renderMarker={this.renderMarker}
      />
    </MapView>
  )
}

points = [
  {
    latitude: 39,
    longitude: 113,
    intensity: 16,
  },
  ...
]

<MapView>
  <MapView.HeatMap
    points={this.points}
    radius={20}
    opacity={0.5}
  />
</MapView>

/

import { Geocode } from 'react-native-baidumap-sdk'

const searchResult = await Geocode.search('')
const reverseResult = await Geocode.reverse({ latitude: 39, longitude: 113 })

example

Popular Sdk Projects
Popular Reactjs Projects
Popular Libraries Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Reactjs
Kotlin
Sdk
Location
Geolocation
Geocode
Polyline
Mapview