Updated Exports Files (markdown)
+1
-1
@@ -21,7 +21,7 @@ The `build.py` script places the output of `generate-exports --exports` into the
|
|||||||
|
|
||||||
## Exporting options objects
|
## Exporting options objects
|
||||||
|
|
||||||
All the (exported) constructors are _single-argument constructors_, they take one argument, `options`, which is a JavaScript literal object. Here's for example how options are passed to the `ol.Map` constructor:
|
All the (exported) constructors are _single-argument constructors_, they take one argument, `options`, which is a JavaScript literal object. Here is, for example, how options are passed to the `ol.Map` constructor:
|
||||||
|
|
||||||
var map = new ol.Map({
|
var map = new ol.Map({
|
||||||
layers: [
|
layers: [
|
||||||
|
|||||||
Reference in New Issue
Block a user