Skip to content

Commit 4fcc0e8

Browse files
committed
Update README.md
1 parent 2e4d23d commit 4fcc0e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ A control that provides a form for requesting a route range. Adds a marker to th
3232

3333
The following shows how to create an instance of the `SelectionControl` class, connect it to a data source and add it to a map.
3434

35-
```JavaScript
35+
```javascript
3636
//Create a data source and add it to the map.
3737
datasource = new atlas.source.DataSource();
3838
map.sources.add(datasource);
@@ -121,7 +121,7 @@ This control only uses a `non-fixed` position when being added to the map. If a
121121
122122
The `RouteRangeControl` class is used by the selection control under the hood, but it can also be used directly if this is the only control needed. Here is an example.
123123
124-
```JavaScript
124+
```javascript
125125
//Create an instance of the route range control.
126126
var control = new atlas.control.RouteRangeControl({
127127
style: 'auto'

0 commit comments

Comments
 (0)