Fixed typo reference.html contructor = constructor
"If specify your own **contructor** for the control" "If specify your own ***constructor*** for the control"
This commit is contained in:
parent
3d75852a90
commit
f664da6ebc
@ -5494,7 +5494,7 @@ map.addLayer(new MyCustomLayer(latlng));
|
||||
map.addControl(new MyControl());
|
||||
</code></pre>
|
||||
|
||||
<p>If specify your own contructor for the control, you'll also probably want to process options properly:</p>
|
||||
<p>If specify your own constructor for the control, you'll also probably want to process options properly:</p>
|
||||
|
||||
<pre><code>var MyControl = L.Control.extend({
|
||||
initialize: function (foo, options) {
|
||||
|
Loading…
Reference in New Issue
Block a user