3.2.1 • Published 3 months ago
@nativescript-community/geocoding v3.2.1
NativeScript Geocoding
Description of your plugin.
iOS Demo | Android Demo |
Table of Contents
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.