Linux 软件免费装
Banner图

Waymark

开发者 morehawes
更新时间 2026年10月31日 02:52
捐献地址: 去捐款
PHP版本: 8.3 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

Track GPX GIS Map maker Elevation

下载

1.1.1 1.3.2 1.1.2 1.4.2 0.9 0.9.1 0.9.10 0.9.12 0.9.13 0.9.14 0.9.15 0.9.16-b1 0.9.2 0.9.3 0.9.4 0.9.5 0.9.6 0.9.7 0.9.8 0.9.9 1.3.0 0.9.30 1.1.7 1.1.8 0.9.11 0.9.15.1 0.9.15.2 development 1.6.3 1.6.0 1.6.5 1.1.3 1.0.0 1.4.0 1.0.4 1.2.0 1.3.1 1.1.5 1.1.6 1.4.3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.4 1.4.1 1.5.5 1.5.6 1.5.7 1.5.8 1.5.0 1.5.10 1.5.3 1.5.9 1.5.11 1.5.2 1.5.4 1.6.4 1.5.14 1.5.16 1.6.6 1.5.1 1.7.0 1.7.1 1.5.15 1.6.2 1.6.7 1.6.8 1.7.2 1.8.0

详情介绍:

🌟 GitHub 👐 WordPress 📖 Demo & Docs Displaying Maps Embed your Maps using the [Waymark] Shortcode, or link to the Map Details page. Customising Built to be flexible, Waymark has lots of Settings and Types provide one place to control how Overlays (Markers/Lines/Shapes) are displayed. Marker Icons can be provided as: User Examples Development Note: Docker, Node.js and NPM required. ```bash Clone the repository git clone https://github.com/opengis/waymark-wp.git Navigate to the Waymark directory cd waymark-wp Install the dependencies (or pnpm/yarn install) npm install Start WordPress at http://localhost:8888 and rebuild assets on change npm run dev ``` Documentation The documentation site is a Nuxt 4 app in docs/, built with @nuxt/content. Node 24.15 or newer is required. bash cd docs npm ci npm run sync-assets npm run dev The local preview runs at http://localhost:11003. To build the static site for GitHub Pages: bash NUXT_APP_BASE_URL=/waymark-wp/ npm run generate Assets Styles and scripts are compiled from Less and JavaScript sources into the minified bundles enqueued by the plugin — edit the sources, not the build output: Translations Waymark uses the waymark text domain, with the translation template at languages/waymark.pot. Testing Three suites cover the plugin — JavaScript unit tests (Vitest), PHP integration tests (PHPUnit) and browser end-to-end tests (Playwright). The PHP and browser suites run against the disposable wp-env tests instance at http://localhost:8889; the development instance is never touched. The wp-env environment (npm run dev) must be running first. ```bash JavaScript unit tests (Vitest, jsdom) — Viewer, Editor and description sanitisation npm run test:js PHP integration tests (PHPUnit against the WordPress test library) npm run test:php Browser end-to-end tests (Playwright/Chromium) — login, Maps, Markers, responsive admin layout, front-end npm run test:e2e Run all three in sequence npm test One-off: prepare the tests container (after a fresh "wp-env destroy") npm run test:php:setup ``` All three suites also run automatically in CI on pull requests and pushes to master. wp-env pins PHP 8.3 to match the plugin's declared floor. WP_ENV_PHP_VERSION and WP_ENV_CORE override the PHP and WordPress versions — useful for testing a release candidate or a newer PHP: bash WP_ENV_PHP_VERSION=8.5 WP_ENV_CORE=WordPress/WordPress#trunk npm run test:php npm run test:php:lint checks PHP syntax at the floor. CI exercises both boundaries — WordPress 6.4 with PHP 8.3, and current WordPress with PHP 8.5 — while the browser suite runs on current WordPress only.

屏幕截图:

  • Every Overlay can be given a title, image and description. Marker images can be displayed as a gallery.
  • Waymark features a clean, intuitive Editor for creating and editing your Maps. Overlays are customisable using Types, which allow you set styles once (colours/icons etc.), so you can simply select it when you are adding to the Map.
  • If you have more than one Basemap, you can switch between them when viewing the Map. Overlays can be shown/hidden by Type.
  • Use Meta to provide extra information about your Maps. Meta inputs are customisable and can be grouped.
  • The Map Details page displays an image gallery, elevation profile, export options, featured image and all Meta provided for the Map.
  • Add Maps to your content using the Waymark Shortcode. You can choose which Meta is displayed.
  • Organise Maps with Collections and display multiple Maps at once using the Shortcode. Collections can be nested and Maps can be associated with multiple Collections.
  • Basemaps — Add, reorder and configure raster basemaps.
  • Shortcodes — Control the Shortcode header and admin preview.
  • Elevation — Configure the elevation profile, units, colours and initial visibility.
  • Meta — Create custom Meta inputs and organise them into groups.
  • Sleep — Set the scroll-zoom wake delay and message.
  • Clustering — Group nearby Markers and tune the cluster threshold and radius.
  • Misc. — Configure map height, zoom, gallery, filter and export behaviour.
  • Markers — Define Marker Types: label, shape, size, colour, icon and visibility.
  • Lines — Define Line Types: colour, weight, opacity and visibility.
  • Shapes — Define Shape Types: colour, fill opacity and visibility.
  • Properties — Choose which GeoJSON feature properties are imported and shown.
  • Submissions — Control front-end submissions by role and for guests.
  • Advanced — Configure editor, collection, permalink, post type and debug options.

升级注意事项:

1.7.1 Waymark now requires PHP 8.3 and WordPress 6.4, introduced in the 1.7.0 security release. Sites running older versions will remain on the previous release and will not receive further updates, including security fixes. Update PHP and WordPress before upgrading. 1.7.0 This is a security release. Waymark now requires PHP 8.3 and WordPress 6.4. Sites running older versions will remain on the previous release and will not receive further updates, including security fixes. Update PHP and WordPress before upgrading.

常见问题:

Can I Get More Help?

Yes, please view the Documentation.

How Can I Contribute?

If you have anything bad to say, please create an issue before leaving a review, this is how the plugin gets better!

Does Waymark Support Google Maps?

Yes! While the Google Maps API is not used, Google Basemaps can be added to Waymark as raster tiles.

Can I Translate the Plugin?

Please! Waymark is localization ready, translation contributions are greatly appreciated.

更新日志:

1.8.0 1.7.2 1.7.1 1.7.0