Skip to content

Commit 317e725

Browse files
committed
Improved description
updated package.json, bower.json and readme formatting
1 parent 336fab6 commit 317e725

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,28 @@ JQuery Location Picker plugin
33

44
![Location Picker](http://logicify.github.io/jquery-locationpicker-plugin/images/basic_ui.png)
55

6-
This plug-in allows to easily find and select a location on the Google map. Along with a single point selection, it allows to choose an area by providing its center and the radius in meters. All the data can be saved to any HTML input element automatically as well as be processed by Javascript (callback support).
6+
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.
77

8-
The other feature of the plug-in is automatic address resolver which allows to get address line from the selected latitude and longitude. 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.
8+
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.
99

10-
The plug-in currently uses JQuery and Google Maps. Integration is pretty simple:
10+
Usage
11+
-----
1112

12-
* Document head should be extended with inclusions of the required libraries:
13+
The plug-in requires [jQuery](http://jquery.com/) and the [Google Maps API](https://developers.google.com/maps/). Integration is pretty simple:
14+
15+
* Add jQuery and Google Maps API to the `<head>` of your HTML file:
1316
```
1417
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
1518
<script type="text/javascript" src='http://maps.google.com/maps/api/js?sensor=false&libraries=places'></script>
1619
<script src="js/locationpicker.jquery.js"></script>
1720
```
1821

19-
* Put container somewhere on the page:
22+
* Put container somewhere in your page's `<body>`:
2023
```
2124
<div id="somecomponent" style="width: 500px; height: 400px;"></div>
2225
```
2326

24-
* Attach the plug-in to container:
27+
* Attach the plug-in to container:
2528
```
2629
<script>
2730
$('#somecomponent').locationpicker();

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"authors": [
66
"Dmitry Berezovsky <dmitry.berezovsky@logicify.com>"
77
],
8-
"description": "This plug-in allows to easily find and select a location on the Google map. Along with a single point selection, it allows to choose an area by providing its center and the radius. All the data can be saved to any HTML input element automatically as well as be processed by Javascript (callback support). The other feature of the plug-in is automatic address resolver which allows to get address line from the selected latitude and longitude. 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.",
8+
"description": "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.",
99
"main": "dist/locationpicker.jquery.js",
1010
"keywords": [
1111
"jquery-plugin",

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"keywords": [
55
"jquery-plugin",
66
"googlemap",
7-
"gmapapi", "location",
7+
"gmapapi",
8+
"location",
89
"input",
910
"map",
1011
"radius"
@@ -20,7 +21,7 @@
2021
"url": "https://github.com/Logicify/jquery-locationpicker-plugin.git"
2122
},
2223
"main": "dist/locationpicker.jquery.min.js",
23-
"description": "This plug-in allows to easily find and select a location on the Google map. Along with a single point selection, it allows to choose an area by providing its center and the radius. All the data can be saved to any HTML input element automatically as well as be processed by Javascript (callback support). The other feature of the plug-in is automatic address resolver which allows to get address line from the selected latitude and longitude. 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.",
24+
"description": "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.",
2425
"dependencies": {},
2526
"devDependencies": {
2627
"grunt": "~0.4.5",

0 commit comments

Comments
 (0)