Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.12 KB

readme.md

File metadata and controls

23 lines (17 loc) · 1.12 KB

Distance Calculator Widget for WordPress

These calculators find the distance between two points on a 2D plane, in a 3D space, as well as along the surface of the Earth with Lambert’s formulas.

Distance Calculator Input Form

Installation

  1. Download the ZIP file of this repository.
  2. Upload the /distance-calculator-master/ folder to the /wp-content/plugins/ directory.
  3. Activate the Distance Calculator plugin through the "Plugins" menu in WordPress.

Usage

  • Add the shortcode [ci_distance_calculator] to your page, post or sidebar.
  • Or add the following code: <?php display_ci_distance_calculator(); ?> to your template where you would like the Distance Calculator to appear.

Libraries in Use

  1. https://mathjs.org/
  2. https://katex.org/
  3. https://github.com/aFarkas/lazysizes
  4. https://github.com/RobinHerbots/Inputmask
  5. https://air-datepicker.com/
  6. https://www.chartjs.org/