You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,4 +58,5 @@ To add new tests, edit the `*_spec.js` files in `/spec/javascripts/`.
58
58
|`getFullLat()`| Used to get the full latitude of the center of the map, regardless what the precision is|`blurredLocation.getFullLat()` This would return the full latitude value as a floating numeric|
59
59
|`getFullLon()`| Used to get the full longitude of the center of the map, regardless what the precision is|`blurredLocation.getFullLon()` This would return the full longitude value as a floating numeric|
60
60
|`getPrecision()`| Used to get the precision of degrees currently occupied by one cell of the grid. This would return an integer which represents the number of decimal places occupied by a cell. For instance, a precision of 1 will mean 0.1 degrees per cell, 2 will mean 0.01 degrees, and so on |`blurredLocation.getPrecision()` This would return the precision of the map at the current zoom level |
61
-
| getPlacenameFromCoordinates()| Used to get the human-readable location name in text of specific latitude and longitude. This would take in 3 arguments namely latitude, longitude and a callback function which is called on success and would return address of the location pinpointed by those co-ordinates|`blurredLocation.getPlacenameFromCoordinates(43,43,function(result) {console.log(result);} // This would return the output to the console`|
61
+
|`getPlacenameFromCoordinates()`| Used to get the human-readable location name in text of specific latitude and longitude. This would take in 3 arguments namely latitude, longitude and a callback function which is called on success and would return address of the location pinpointed by those co-ordinates|`blurredLocation.getPlacenameFromCoordinates(43,43,function(result) {console.log(result);} // This would return the output to the console`|
62
+
|map |Used to access the leaflet map element to perform leaflet commands on it| blurredLocation.map //This would return the leaflet map element|
0 commit comments