Web-Map-Custom-Element icon indicating copy to clipboard operation
Web-Map-Custom-Element copied to clipboard

Refactor custom events dispatched by the Viewer

Open AliyanH opened this issue 2 years ago • 1 comments

Refactor leaflet specific events into map- namespace.

mapml-viewer/web-map

Changed:

  • locationfound -> map-locationfound
  • locationerror -> map-locationerror
  • ~~preclick -> map-preclick~~
  • movestart -> map-movestart
  • move -> map-move
  • moveend -> map-moveend
  • zoomstart -> map-zoomstart
  • zoom -> map-zoom
  • zoomend -> map-zoomend

Unchanged:

  • load -> load
  • click -> click
  • dblclick -> dblclick
  • mousemove -> mousemove
  • mouseover -> mouseover
  • mouseout -> mouseout
  • mousedown -> mousedown
  • mouseup -> mouseup
  • contextmenu -> contextmenu

layer.js

  • loadstart (removed)
  • map-changestyle

closes #869

AliyanH avatar Jul 11 '23 12:07 AliyanH

Related PR for web-map-doc

prushforth avatar Nov 08 '23 18:11 prushforth