bozdoz / wp-plugin-leaflet-map

Add leaflet maps to Wordpress with shortcodes
https://wordpress.org/plugins/leaflet-map/
GNU General Public License v2.0
141 stars 72 forks source link

Clean up Admin (options page) #120

Open bozdoz opened 3 years ago

bozdoz commented 3 years ago

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:

  1. Sections/Tabs
  2. Ajax saving (might be overkill)
  3. Bigger, better checkboxes
  4. Maybe remove some dull options (default lat/lng comes to mind)
scrobbleme commented 3 years ago

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