Android Search Library

Simple API to access search results.

Лицензия

Лицензия

Категории

Категории

Search Прикладные библиотеки
Группа

Группа

uk.os.search
Идентификатор

Идентификатор

android
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

aar
Описание

Описание

Android Search Library
Simple API to access search results.
Ссылка на сайт

Ссылка на сайт

https://github.com/OrdnanceSurvey/search-jvm
Система контроля версий

Система контроля версий

https://github.com/OrdnanceSurvey/search-jvm

Скачать android

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/uk.os.search/android/ -->
<dependency>
    <groupId>uk.os.search</groupId>
    <artifactId>android</artifactId>
    <version>1.0.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/uk.os.search/android/
implementation 'uk.os.search:android:1.0.0'
// https://jarcasting.com/artifacts/uk.os.search/android/
implementation ("uk.os.search:android:1.0.0")
'uk.os.search:android:aar:1.0.0'
<dependency org="uk.os.search" name="android" rev="1.0.0">
  <artifact name="android" type="aar" />
</dependency>
@Grapes(
@Grab(group='uk.os.search', module='android', version='1.0.0')
)
libraryDependencies += "uk.os.search" % "android" % "1.0.0"
[uk.os.search/android "1.0.0"]

Зависимости

compile (9)

Идентификатор библиотеки Тип Версия
com.android.support » support-v4 jar 23.2.1
io.reactivex : rxandroid jar 0.24.0
com.jakewharton : butterknife jar 7.0.1
com.android.support » design jar 23.2.1
io.reactivex : rxjava jar 1.1.0
uk.os.search : search jar 1.0.0
com.android.support » appcompat-v7 jar 23.2.1
com.jakewharton.timber : timber jar 4.1.0
com.android.support » support-annotations jar 23.2.1

Модули Проекта

Данный проект не имеет модулей.

Ordnance Survey Java and Android Search

Whether you are writing Java or Android code, we have you covered on both the front and back end to help create a great search experience.

It has automatic detection of latitude / longitude and British National Grid values - and can of course it can access our OS Open Names and OS Places APIs with your API Keys.

Best of all, the code is open source so that you can match it with your specific needs. We of course welcome your pull requests with any enhancements.

Code

Master Build Status: Circle CI

Test Coverage: codecov.io Coverage Status

The library can be used directly from Java or Android. Once configured, you should be able to test using these example queries:

  • SU41
  • SU4010
  • SU400100
  • SU40001000
  • 51.50722, -0.1275
  • 51.50722 -0.1275
  • 51°N 0°E
  • 51°30'N 0°07'W
  • 51°30'26.0"N 0°07'39.0"W
  • 51° 30' 26" N, 0° 7' 39" W
  • 51:30.433, -0:7.65
  • 51:30:26.0 -0:07:39.0
  • Edinburgh
  • London Road, Southampton
  • 10 Downing Street, London

(commas and spaces can be used interchangeably)

Examples of output:

  • name 51°30'26.0"N 0°07'39.0"W context 51.507220 -0.127500
  • name SU 4000 1000 context Easting: 440000 Northing: 110000
  • name SU 400 100 context Easting: 440000 Northing: 110000
  • name SU4010 context Easting: 440000 Northing: 110000
  • name SU41 context Easting: 440000 Northing: 110000
  • name Edinburgh context Edinburgh, Scotland, EH1
  • name London Road context Southampton, South East, England, SO15
  • name 10 DOWNING STREET context LONDON, CITY OF WESTMINSTER, SW1A 2AA

Maintainer Repo Configuration

The repository is integrated with CircleCI and therefore no manual configuration is necessary.

Should manual configuration become necessary, the maintainer should consider adding the following to their properties file:

~/.gradle/gradle.properties
   mavenUser=SonatypeNexusUser
   mavenPassword=SonatypeNexusPassword
   signing.keyId=mykeyabcd12345abcd
   signing.password=mykeyringpassword
   signing.secretKeyRingFile=/Users/my_username/.gnupg/secring.gpg

If you are working on a CI environment, such as CircleCI, you can specify gradle environmental variables using the "ORG_GRADLE_PROJECT" prefix:

export ORG_GRADLE_PROJECT_mavenUser="nexusUser"
export ORG_GRADLE_PROJECT_mavenPassword="nexusPassword"

uk.os.search

Ordnance Survey

Britain's mapping agency

Версии библиотеки

Версия
1.0.0