Skip to content

Commit 25bbc09

Browse files
lbraunschloerke
authored andcommitted
Fix small typo in docs (#571)
* Fix typo * Fix typo * Update NEWS * Remove accidental keystrokes * Remove insignificant news
1 parent 20ddf05 commit 25bbc09

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/map_widget.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pagetitle: Leaflet for R - The Map Widget
77
The function `leaflet()` returns a Leaflet map widget, which stores a list of objects that can be modified or updated later. Most functions in this package have an argument `map` as their first argument, which makes it easy to use the pipe operator `%>%` in the **magrittr** package, as you have seen from the example in the [Introduction](./).
88

99
### Initializing Options
10-
The map widget can initialized with certain parameters. This is achieved by populating the `options` argument as shown below.
10+
The map widget can be initialized with certain parameters. This is achieved by populating the `options` argument as shown below.
1111

1212
```{r eval=FALSE}
1313
# Set value for the minZoom and maxZoom settings.

docs/map_widget.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ <h2>The Map Widget</h2>
200200
<p>The function <code>leaflet()</code> returns a Leaflet map widget, which stores a list of objects that can be modified or updated later. Most functions in this package have an argument <code>map</code> as their first argument, which makes it easy to use the pipe operator <code>%&gt;%</code> in the <strong>magrittr</strong> package, as you have seen from the example in the <a href="./">Introduction</a>.</p>
201201
<div id="initializing-options" class="section level3">
202202
<h3>Initializing Options</h3>
203-
<p>The map widget can initialized with certain parameters. This is achieved by populating the <code>options</code> argument as shown below.</p>
203+
<p>The map widget can be initialized with certain parameters. This is achieved by populating the <code>options</code> argument as shown below.</p>
204204
<pre class="r"><code># Set value for the minZoom and maxZoom settings.
205205
leaflet(options = leafletOptions(minZoom = 0, maxZoom = 18))</code></pre>
206206
<p>The <code>leafletOptions()</code> can be passed any option described in the leaflet <a href="http://leafletjs.com/reference-1.0.0.html#map-option">reference document</a>. Using the <code>leafletOptions()</code>, you can set a custom <a href="https://en.wikipedia.org/wiki/Spatial_reference_system">CRS</a> and have your map displayed in a non spherical mercator projection as described in <a href="projections.html">projections</a>.</p>

0 commit comments

Comments
 (0)