Skip to content

Commit

Permalink
Update README.md (#47)
Browse files Browse the repository at this point in the history
Update event name to that in v. 1.1.0
  • Loading branch information
rmja authored Sep 18, 2024
1 parent 9731927 commit c4e1629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ let map = new L.Map("map", {
// or
map.selectArea.enable();

map.on("areaselected", (e) => {
map.on("selectarea:selected", (e) => {
console.log(e.bounds.toBBoxString()); // lon, lat, lon, lat
});

Expand Down

0 comments on commit c4e1629

Please sign in to comment.