Skip to content

Conversation

AliyanH
Copy link
Member

@AliyanH AliyanH commented Jul 11, 2023

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 AliyanH linked an issue Jul 13, 2023 that may be closed by this pull request
@prushforth
Copy link
Member

Related PR for web-map-doc

… dispatch map-change event for map-extent + remove mapml-viewer/web-map preclick and layerchange event + modify templated tile tileloadstart->map-tileloadstart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor custom events name dispatched by mapml-viewer Move refactor/rename custom events into map- namespace
2 participants