hpneo / gmaps

the easiest way to use Google Maps
https://hpneo.dev/gmaps/
7.04k stars 1.29k forks source link

Add optional 'shouldDisplay' function to context menu items #552

Closed Hainesy closed 7 months ago

Hainesy commented 7 years ago

I needed to be able to switch context menu items on and off, so added an optional 'shouldDisplay' function to the menu items configuration.