diff --git a/loleaflet/reference.html b/loleaflet/reference.html index e70a02c2b..30dc3b9d2 100644 --- a/loleaflet/reference.html +++ b/loleaflet/reference.html @@ -56,7 +56,7 @@
watch
Boolean
false
true
, starts continous watching of location changes (instead of detecting it once) using W3C watchPosition
method. You can later stop watching using map.stopLocate()
method.true
, starts continuous watching of location changes (instead of detecting it once) using W3C watchPosition
method. You can later stop watching using map.stopLocate()
method.setView
undefined
setPermission(
@@ -1589,7 +1589,7 @@ var map = L.map('map', {
<String>options?)
undefined
downloadAs(
@@ -1603,7 +1603,7 @@ var map = L.map('map', {
print()
undefined
- Opens the browser's print dialog or promts the user to download a pdf version of the document.
+ Opens the browser's print dialog or prompts the user to download a PDF version of the document.
cellEnterString(
@@ -1647,7 +1647,7 @@ var map = L.map('map', {
<String> unoCommand,
<Object> param)
undefined
- Sends a uno command with the given paramter to LOKit.
+ Sends a uno command with the given parameter to LOKit.
@@ -1762,7 +1762,7 @@ var map = L.map('map', {
print
PrintEvent
- Fired when the url for the pdf export is ready.
+ Fired when the URL for the PDF export is ready.
renderfont
@@ -1919,7 +1919,7 @@ var map = L.map('map', {
InvalidatePreviewEvent
-Loleaflet specific events.
+LOLeaflet specific events.
@@ -1990,7 +1990,7 @@ var map = L.map('map', {
url
String
- An url for the PDF exported document.
+ An URL for the PDF exported document.
@@ -2095,7 +2095,7 @@ var map = L.map('map', {
value
Number
- If present, a number for 0 to 100 represending the loading status.
+ If present, a number for 0 to 100 representing the loading status.
@@ -2309,7 +2309,7 @@ var map = L.map('map', {
'.uno:CenterPara'
String
- Center horizontaly.
+ Center horizontally.
'.uno:RightPara'
@@ -2839,7 +2839,7 @@ var map = L.map('map', {
closeButton
Boolean
true
- Controls the presense of a close button in the popup.
+ Controls the presence of a close button in the popup.
offset
@@ -3881,7 +3881,7 @@ var latlngs = [
Methods
-In addition to Path methods like redraw()
and bringToFront()
, Polyline mehtods like setLatLngs()
and getLatLngs()
, shared layer methods like addTo()
and remove()
and popup methods like bindPopup()
you can also use the following methods:
+In addition to Path methods like redraw()
and bringToFront()
, Polyline methods like setLatLngs()
and getLatLngs()
, shared layer methods like addTo()
and remove()
and popup methods like bindPopup()
you can also use the following methods:
@@ -4470,7 +4470,7 @@ map.fitBounds(bounds);
Synchronous usage example
-To create a custom layer, extend GridLayer and impliment the createTile()
method, which will be passed a Point object with the x
, y
, and z
(zoom level) coordinates to draw your tile.
+To create a custom layer, extend GridLayer and implement the createTile()
method, which will be passed a Point object with the x
, y
, and z
(zoom level) coordinates to draw your tile.
var CanvasLayer = L.GridLayer.extend({
createTile: function(coords){
@@ -4490,9 +4490,9 @@ map.fitBounds(bounds);
}
});
-Asyncronous usage example
+Asynchronous usage example
-Tile creation can also be asyncronous, this is useful when using a third-party drawing library. Once the tile has finished drawing it must be passed to the done()
callback.
+Tile creation can also be asynchronous, this is useful when using a third-party drawing library. Once the tile has finished drawing it must be passed to the done()
callback.
var CanvasLayer = L.GridLayer.extend({
// createTile has a 'done' parameter when on async mode
@@ -4756,7 +4756,7 @@ map.panTo(L.latLng(50, 30));
Number
- Returns the distance (in meters) to the given LatLng calculated using the Haversine formula. See description on wikipedia
+ Returns the distance (in meters) to the given LatLng calculated using the Haversine formula. See description on Wikipedia
equals(
@@ -4765,7 +4765,7 @@ map.panTo(L.latLng(50, 30));
Boolean
- Returns true
if the given LatLng point is at the same position (within a small margin of error). The margin of error can be overriden by setting maxMargin
to a small number.
+ Returns true
if the given LatLng point is at the same position (within a small margin of error). The margin of error can be overridden by setting maxMargin
to a small number.
toString()
@@ -5911,7 +5911,7 @@ layer.remove();
Popup methods
-A set of methods inherited from the Layer base class that all Leaflet layers use. These methods provide convieniant ways of binding popups to any layer.
+A set of methods inherited from the Layer base class that all Leaflet layers use. These methods provide convenient ways of binding popups to any layer.
var layer = L.Polgon(latlngs).bindPopup('Hi There!').addTo(map);
layer.openPopup();
@@ -5930,7 +5930,7 @@ Popups will also be automatically opened when the layer is clicked on and closed
bindPopup(<String|HTMLElement|Function|Popup> content, <PopupOptions> options?)
this
- Binds the passed content
to the layer and sets up the neccessary event listeners. If a Function
is passed the function will recive a layer as the first argument and should return a String
or HTMLElement
.
+ Binds the passed content
to the layer and sets up the necessary event listeners. If a Function
is passed, the function will receive a layer as the first argument and should return a String
or HTMLElement
.
featureGroup.bindPopup(function(layer){
return "a unique template for this layer.";
});
@@ -5943,7 +5943,7 @@ Popups will also be automatically opened when the layer is clicked on and closed
openPopup(LatLng latlng?)
this
- Opens the bound popup at the specificed latlng
or at the default popup anchor if no latlng
is passed.
+ Opens the bound popup at the specified latlng
or at the default popup anchor if no latlng
is passed.
closePopup()
@@ -5999,12 +5999,12 @@ Popups will also be automatically opened when the layer is clicked on and closed
webkit
Boolean
- true
for webkit-based browsers like Chrome and Safari (including mobile versions).
+ true
for WebKit-based browsers like Chrome and Safari (including mobile versions).
webkit3d
Boolean
- true
for webkit-based browsers that support CSS 3D transformations.
+ true
for WebKit-based browsers that support CSS 3D transformations.