jquery-locationpicker-plugin

WebJar for jquery-locationpicker-plugin

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.bower
Идентификатор

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

jquery-locationpicker-plugin
Последняя версия

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

0.1.15
Дата

Дата

Тип

Тип

jar
Описание

Описание

jquery-locationpicker-plugin
WebJar for jquery-locationpicker-plugin
Ссылка на сайт

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

http://webjars.org
Система контроля версий

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

https://github.com/Logicify/jquery-locationpicker-plugin

Скачать jquery-locationpicker-plugin

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

<!-- https://jarcasting.com/artifacts/org.webjars.bower/jquery-locationpicker-plugin/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>jquery-locationpicker-plugin</artifactId>
    <version>0.1.15</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/jquery-locationpicker-plugin/
implementation 'org.webjars.bower:jquery-locationpicker-plugin:0.1.15'
// https://jarcasting.com/artifacts/org.webjars.bower/jquery-locationpicker-plugin/
implementation ("org.webjars.bower:jquery-locationpicker-plugin:0.1.15")
'org.webjars.bower:jquery-locationpicker-plugin:jar:0.1.15'
<dependency org="org.webjars.bower" name="jquery-locationpicker-plugin" rev="0.1.15">
  <artifact name="jquery-locationpicker-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='jquery-locationpicker-plugin', version='0.1.15')
)
libraryDependencies += "org.webjars.bower" % "jquery-locationpicker-plugin" % "0.1.15"
[org.webjars.bower/jquery-locationpicker-plugin "0.1.15"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

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

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

JQuery Location Picker plugin

Location Picker

This plug-in allows finding and selecting a location on the Google map. Along with single point selection, it allows area selection by choosing a point and specifying a radius. The selection can be saved to any HTML input element or processed by Javascript with callback support.

An optional automatic address resolver can reverse geocode the selection to an address. The plug-in also supports searching by address typed into the bound input element which uses auto-complete feature from Google API to make the search process easier. In this case the marker will be automatically positioned on the map after successful address resolution.

Usage

The plug-in requires jQuery and the Google Maps API. Integration is pretty simple:

  • Add jQuery and Google Maps API to the <head> of your HTML file:
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
// be careful to include the parameter "libraries=places"
<script type="text/javascript" src='http://maps.google.com/maps/api/js?sensor=false&libraries=places'></script>
<script src="js/locationpicker.jquery.js"></script>
  • Put container somewhere in your page's <body>:
<div id="somecomponent" style="width: 500px; height: 400px;"></div>
  • Attach the plug-in to container:
<script>
$('#somecomponent').locationpicker();
</script>

Documentation and Examples

Documentation along with examples available here.

Credits

org.webjars.bower

Logicify

Software consulting company with passion for the community.

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

Версия
0.1.15