-
Notifications
You must be signed in to change notification settings - Fork 0
macnaileth/mapconnect
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
=== Map Connect Metadata and Map Application === Contributors: Marco Nagel & Kerstin Huppenbauer Tags: block Tested up to: 6.3 Stable tag: 0.0.3 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html Map Connect plugin with metadata and map application block for WordPress using different APIs including WordPress REST API == Description == API ROUTES: /tsu-mapconnect/v1/area/aname/ => lists all areas /tsu-mapconnect/v1/area/aname/<areaname> => returns a single area by name, use '_' for whitespaces, ae/ue/oe for german Umlaute /tsu-mapconnect/v1/area/pcode/<Postcode> => Retrieves an area by an included postcode /tsu-mapconnect/v1/area/activity/<activity> => retrieves an area by activity SHORTCODE (Not implemented at the moment - use the map block in Gutenberg): If WP Classic is used, the map app can be placed using the WordPress Shortcode API. Use the following code: [mapplication base_url="<Base URL to be used>" metadata_url="<URL to the metadata REST API route>" database_url="<URL to your Postgres SQL DB for geometry data>" colors=[<Not used atm>]] For most cases, it will be sufficent to place the shortcode like this: [mapplication]. Advanced users who would like to build their stuff themsselves also refer to Kerstin Huppenbauers nextjs-dimb repo for the map application found here: https://github.com/khuppenbauer/nextjs-dimb == Installation == 1. Upload the plugin files to the `/wp-content/plugins/tsu-mapconnect` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the 'Plugins' screen in WordPress == Frequently Asked Questions == none ATM == Changelog == 15.11.2023 - Did a lot of updating, added map frontend element, updated edit fpr Gutenberg 08.06.2023 - Added a skeleton block for the future map application to be placed on WP pages and posts. 11.04.2023 - finished all basic sanitization and validation stuff. Supports now Gutenberg Block Editor aswell as Classic Editor plugin for data input: Metabox and React Block provided. 13.04.2023 - Added functionality to retrieve an area by entering a postcode 16.04.2023 - Added route for getting areas by activites, added some html status codes 18.04.2023 - Added OpenPLZ API integration and some status messages 17.06.2023 - Added configuration pane to Gutenberg react block and shortcode for app placement = 0.0.3 = * Map added, connected to khuppenbauers api found here (i hope :-)): https://github.com/khuppenbauer/fastapi-dimb = 0.0.2 = * Release
About
WordPress Plugin for sending data stuff around to be displayed on a map. Project for DIMB / dimb.de
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published