You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ This is a module for the [MagicMirror<sup>2</sup>](https://github.com/MichMich/M
8
8
* Displays the name, species, photo, and confidence of a random submission via popup
9
9
* Several included map options
10
10
* Custom map option available
11
-
* Configurable speed of popups
11
+
* Configurable speed of popups, marker color
12
12
13
13
## Dependencies
14
14
* An installation of MagicMirror<sup>2</sup>
@@ -37,17 +37,18 @@ All configuration options are optional. There are no mandatory parameters.
37
37
| mapMode | 'dark' | Which map to use. Supported values are: `dark`, `light`, `atlas`, `stark`, `terrain`, `satellite`, `custom` and `metal`.
38
38
| lat | 42.453583743 | Latitude for the center of the map display. |
39
39
| lon | -76.47363144 | Longitude for the center of the map display. |
40
-
| width | 400px | Width of the map box. |
41
-
| height | 400px | Height of the map box |
42
40
| markerColor | 'LightGreen' | Sets the color of the markers on the map representing submissions. Accepts [HTML standard color names](https://www.w3schools.com/cssref/css_colors.php) or hex format.|
43
41
| markerDistance | 300 | Distance in kilometers from the center of the map to display BirdNET submissions. If you encounter performance issues, try reducing this number. BirdNET regularly receives 30-50K submissions daily and we can _maybe_ display 10K. |
44
42
| zoomLevel | 7 | How far in the map is zoomed. See [Leaflet](https://leafletjs.com/examples/zoom-levels/) documentation for more details. |
45
43
| mapUrl | null | If you set the mapMode parameter to `custom`, this parameter will activate. You can supply your own [Leaflet](https://leafletjs.com/reference.html#map-example)-supported map URL here. |
46
44
| dataUrl |https://birdnet.cornell.edu/map/requeststats| Where to pull the data |
47
45
46
+
Note: Width & height of the map are controlled via the `BirdNETmap` classname. Override via your `custom.css`. Default is 400px x 400px. See the `MMM-BirdNET.css` file for examples.
0 commit comments