rubenspgcavalcante / leaflet-ant-path

🌿🐜 Creates a leaflet polyline with a 'ant-path' animated flux
http://rubenspgcavalcante.github.io/leaflet-ant-path
MIT License
463 stars 80 forks source link

"Hardware acceleration" option name is inconsistent in readme and code #145

Open Gowee opened 3 years ago

Gowee commented 3 years ago

Hi!

When trying to figure out what hardware acceleration really does by searching in code, I notice the name of the option "hardware acceleration" is inconsistent in readme and code. It is fairly confusing as the runtime wouldn't complain about the mistyping at all.

Type:

Environment:

I'm going to open a PR:

Description: As is shown in: https://github.com/rubenspgcavalcante/leaflet-ant-path/blob/68534641d4ce696ecfd0731a198c148aea1119b3/README.md#L153 https://github.com/rubenspgcavalcante/leaflet-ant-path/blob/68534641d4ce696ecfd0731a198c148aea1119b3/src/plugin/components/ant-path.component.js#L25

(Not sure which one is the intended. So I am not sending a PR.)