Skip to content

MapmyIndia Map library for React Native - Beta release Hybrid SDK

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.md
Notifications You must be signed in to change notification settings

mappls-api/mapmyindia-map-react-native-beta

Repository files navigation

MapmyIndia APIs

Mapmyindia Maps SDK for React Native beta

Easy To Integrate Maps & Location APIs & SDKs For Web & Mobile Applications

Powered with India's most comprehensive and robust mapping functionalities. Now Available for Srilanka, Nepal, Bhutan and Bangladesh

  1. For further information contact MapmyIndia here: Email: apisupport@mapmyindia.com.
  2. You can get your api key to be used in this document here: https://www.mapmyindia.com/api/signup
  3. The beta code is provided to help you understand the basic functionality of MapmyIndia maps APIs working on React Native development platform.

Version History

Version Last Updated Author
0.1.0 March 2021 MapmyIndia API Team (Mohammad Akram, [Robin Kukreja]
0.0.15 February 2021 MapmyIndia API Team (Mohammad Akram, [Robin Kukreja]
0.0.14 February 2021 MapmyIndia API Team (Mohammad Akram, Robin Kukreja)
0.0.13 January 2021 MapmyIndia API Team (Mohammad Akram, Robin Kukreja)

What is Mapmyindia?

Mapmyindia is the location data platform for mobile and web applications. We provide building blocks to add location features like maps, search, and navigation into any experience you create. Use our simple and powerful APIs & SDKs for interactivity and control.

Sign up for Mapmyindia

Not a Mapmyindia user yet? Sign up for an account here. Once you’re signed in, all you need to start building is a Mapmyindia key. Use this same short code with all of our interactive mapping libraries, JavaScript SDKs, and directly against our REST APIs. You can create and manage your access tokens on your Mapmyindia Account page.

API Usage

Your MapmyIndia Maps SDK usage needs a set of license keys (get them here ) and is governed by the API terms and conditions. As part of the terms and conditions, you cannot remove or hide the MapmyIndia logo and copyright information in your project. Please see branding guidelines on MapmyIndia website for more details. The allowed SDK hits are described on the plans page. Note that your usage is shared between platforms, so the API hits you make from a web application, Android app or an iOS app all add up to your allowed daily limit.

Installation

Dependencies

npm

  npm install mapmyindia-map-react-native-beta --save

Installation Guides

How to Add a MapView

import React, { Component } from "react";
import {View } from "react-native";
import  MapmyIndiaGL  from  'mapmyindia-map-react-native-beta';

MapmyIndiaGL.setMapSDKKey("");//place your mapsdkKey
MapmyIndiaGL.setRestAPIKey("");//your restApiKey
MapmyIndiaGL.setAtlasClientId("");//your atlasClientId key
MapmyIndiaGL.setAtlasClientSecret(""); //your atlasClientSecret key
MapmyIndiaGL.setAtlasGrantType("");


export default class App extends Component {
  render() {
    return (
      <View style={{flex:1}}>
          <MapmyIndiaGL.MapView style={{flex:1}} >
		  <MapmyIndiaGL.Camera
                ref={c  => (this.camera = c)}
                zoomLevel={12}
                minZoomLevel={4}
                maxZoomLevel={22}
                centerCoordinate={[77.231409,28.6162]}
                 />
		 </MapmyIndiaGL.MapView>
      </View>
    );
  }
}

Documentation

Components

Sources

Layers

IMPORTANT

To read further, please refer to documentation available here: https://github.com/mappls-api/mapmyindia-map-react-native-beta/wiki

For any queries and support, please contact:

Email Email us at apisupport@mapmyindia.com

Stack Overflow Ask a question under the mapmyindia-api

Support Need support? contact us!

Blog Read about the latest updates & customer stories

© Copyright 2021. CE Info Systems Pvt. Ltd. All Rights Reserved. | Terms & Conditions

About

MapmyIndia Map library for React Native - Beta release Hybrid SDK

Topics

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published