Skip to content

1. Mouse position Latitude and Longitude

Al Kissack edited this page Mar 22, 2024 · 5 revisions

This modification simply reports the mouse cursor's lat//long in the top left of the map.

  1. In index.html add the required DIV element (ref: AK1A)
  2. In style.css add 2 lines of styling (ref: AK1B)
  3. In script.js (initialize_map()) add control (ref: AK1C)

Mouse position

  1. In script.js include range and bearing on control (ref: AK1D)