3.2.1 • Published 3 months ago

@nativescript-community/geocoding v3.2.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 months ago

NativeScript Geocoding apple android

npm downloads npm downloads npm

Description of your plugin.

iOS DemoAndroid Demo

Table of Contents

  1. Installation
  2. Configuration
  3. API
  4. Usage
  5. Contribute
  6. Demos

Installation

Run the following command from the root of your project:

ns plugin add @nativescript-community/geocoding

Configuration

Add any other additional configuration instructions here.

API

List any API events, properties, and methods for your plugin.

Events

Properties

Methods

export declare function getLocationFromName(searchString: string): Promise<Location>;
export declare function getLocationListFromName(searchString: string, maxResCount?: number): Promise<Location[]>;
export declare function getFromLocation(latitude: number, longitude: number, maxResCount?: number): Promise<Location[]>;
export declare class Location extends LocationBase {
    android: any; // android.location.Address;
    ios: any; // CLPlacemark;
}

Demos

This repository includes Angular, Vue.js, Svelte, and React demos. In order to run these execute the following in your terminal:

Install Dependencies:

npm i # or your preferred package manager's install command

Run Setup:

npm run setup

Building Plugin:

npm run build

# or for Angular
npm run build.angular

Setup Demos:

npm run demo.setup

Running Demos:

npm run demo.[ng|react|svelte|vue].[ios|android]

# Example:
npm run demo.svelte.ios

Contribute

We love PRs! Check out the contributing guidelines. If you want to contribute, but you are not sure where to start - look for issues labeled help wanted.

Questions

If you have any questions/issues/comments please feel free to create an issue or start a conversation in the NativeScript Community Slack Channel.