wp-plugin-leaflet-map
wp-plugin-leaflet-map copied to clipboard
Clean up Admin (options page)
This is more stylistic.
Currently it's just plain CSS: left-side are the labels and right-side are the input values.
Would be nice to have:
- Sections/Tabs
- Ajax saving (might be overkill)
- Bigger, better checkboxes
- Maybe remove some dull options (default lat/lng comes to mind)
Idea: as the settings are "frontend" related, you may move the settings to the customizer instead.
This is where WordPress already has a nice and consolidated API/UI.
As inspiration: https://github.com/moewe-io/osm-tiles-proxy/blob/master/includes/osm-tiles-proxy.customizer-class.php