@antv/l7-map
l7 map
Last updated 2 years ago by yiqianyao .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @antv/l7-map 
SYNC missed versions from official npm registry.

Map

Map fork from maplibre-gl-js@4.3.2, keep event loop, responds user interaction and updates the internal state of the map (current viewport, camera angle, etc.)

sequenceDiagram
    actor user
    participant DOM
    participant handler_manager
    participant handler
    participant camera
    participant transform
    participant map

    user->>camera: map#setCenter, map#panTo
    camera->>transform: update
    camera->>map: fire move event
    map->>map: _render()

    user->>DOM: resize, pan,<br>click, scroll,<br>...
    DOM->>handler_manager: DOM events
    handler_manager->>handler: forward event
    handler-->>handler_manager: HandlerResult
    handler_manager->>transform: update
    handler_manager->>map: fire move event
    map->>map: _render()
  • Transform holds the current viewport details (pitch, zoom, bearing, bounds, etc.). Two places in the code update transform directly:
  • Both camera and handler_manager are responsible for firing move, zoom, movestart, moveend, ... events on the map after they update transform. Each of these events (along with style changes and data load events) triggers a call to Map#_render() which renders a single frame of the map.

Current Tags

  • 2.21.5-beat.0                                ...           beat (8 months ago)
  • 2.21.11-beta.7                                ...           beta (7 months ago)
  • 2.22.3                                ...           latest (a month ago)
  • 2.5.37-mini20                                ...           mini (3 years ago)
  • 2.5.8-mini7                                ...           mini7 (3 years ago)
  • 2.5.8-mini8                                ...           mini8 (3 years ago)
  • 2.5.8-mini9                                ...           mini9 (3 years ago)
  • 2.9.15                                ...           qb (2 years ago)

435 Versions

  • 2.22.3                                ...           a month ago
  • 2.22.2                                ...           2 months ago
  • 2.22.1                                ...           4 months ago
  • 2.22.0                                ...           6 months ago
  • 2.21.11-beta.7                                ...           7 months ago
  • 2.21.11-beta.6                                ...           7 months ago
  • 2.21.11-beta.5                                ...           7 months ago
  • 2.21.11-beta.4                                ...           7 months ago
  • 2.21.11-beta.3                                ...           7 months ago
  • 2.21.11-beta.2                                ...           7 months ago
  • 2.21.11-beta.1                                ...           7 months ago
  • 2.21.11-beta.0                                ...           7 months ago
  • 2.21.10                                ...           7 months ago
  • 2.21.9                                ...           7 months ago
  • 2.21.9-beta.0                                ...           8 months ago
  • 2.21.8                                ...           8 months ago
  • 2.21.7                                ...           8 months ago
  • 2.21.6                                ...           8 months ago
  • 2.21.5                                ...           8 months ago
  • 2.21.5-beat.0                                ...           8 months ago
  • 2.21.4                                ...           8 months ago
  • 2.21.4-beta.2                                ...           8 months ago
  • 2.21.4-beta.1                                ...           9 months ago
  • 2.21.4-beta.0                                ...           9 months ago
  • 2.21.3                                ...           9 months ago
  • 2.21.2                                ...           9 months ago
  • 2.21.1                                ...           9 months ago
  • 2.21.0                                ...           9 months ago
  • 2.20.20                                ...           10 months ago
  • 2.20.19                                ...           10 months ago
  • 2.20.18                                ...           10 months ago
  • 2.20.17                                ...           10 months ago
  • 2.20.16                                ...           10 months ago
  • 2.20.15                                ...           a year ago
  • 2.20.14                                ...           a year ago
  • 2.20.13                                ...           a year ago
  • 2.20.12                                ...           a year ago
  • 2.20.11                                ...           a year ago
  • 2.20.10                                ...           a year ago
  • 2.20.9                                ...           a year ago
  • 2.20.8                                ...           a year ago
  • 2.20.6                                ...           a year ago
  • 2.20.5                                ...           a year ago
  • 2.20.3                                ...           a year ago
  • 2.20.2                                ...           a year ago
  • 2.20.1                                ...           a year ago
  • 2.20.0                                ...           a year ago
  • 2.19.11                                ...           a year ago
  • 2.19.10                                ...           a year ago
  • 2.19.9                                ...           a year ago
  • 2.19.8                                ...           a year ago
  • 2.19.7                                ...           a year ago
  • 2.19.6                                ...           a year ago
  • 2.19.5                                ...           a year ago
  • 2.19.4                                ...           a year ago
  • 2.19.3                                ...           a year ago
  • 2.19.2                                ...           a year ago
  • 2.19.1                                ...           a year ago
  • 2.19.0                                ...           a year ago
  • 2.18.3                                ...           a year ago
  • 2.18.2                                ...           a year ago
  • 2.18.0                                ...           a year ago
  • 2.17.12                                ...           a year ago
  • 2.17.11                                ...           a year ago
  • 2.17.10                                ...           a year ago
  • 2.17.8                                ...           a year ago
  • 2.17.7                                ...           a year ago
  • 2.17.6                                ...           a year ago
  • 2.17.5                                ...           a year ago
  • 2.17.4                                ...           a year ago
  • 2.17.3                                ...           a year ago
  • 2.17.2                                ...           a year ago
  • 2.17.1                                ...           a year ago
  • 2.17.0                                ...           a year ago
  • 2.16.2                                ...           a year ago
  • 2.16.1                                ...           2 years ago
  • 2.16.0                                ...           2 years ago
  • 2.15.5                                ...           2 years ago
  • 2.15.4                                ...           2 years ago
  • 2.15.3                                ...           2 years ago
  • 2.15.2                                ...           2 years ago
  • 2.15.1                                ...           2 years ago
  • 2.15.0                                ...           2 years ago
  • 2.14.7                                ...           2 years ago
  • 2.14.6                                ...           2 years ago
  • 2.14.5                                ...           2 years ago
  • 2.14.4                                ...           2 years ago
  • 2.14.3                                ...           2 years ago
  • 2.14.2                                ...           2 years ago
  • 2.14.1                                ...           2 years ago
  • 2.14.0                                ...           2 years ago
  • 2.13.9                                ...           2 years ago
  • 2.13.8                                ...           2 years ago
  • 2.13.7                                ...           2 years ago
  • 2.13.6                                ...           2 years ago
  • 2.13.5                                ...           2 years ago
  • 2.13.4                                ...           2 years ago
  • 2.13.3                                ...           2 years ago
  • 2.13.2                                ...           2 years ago
  • 2.13.1                                ...           2 years ago
  • 2.13.0                                ...           2 years ago
  • 2.12.2                                ...           2 years ago
  • 2.12.1                                ...           2 years ago
  • 2.12.0                                ...           2 years ago
  • 2.11.7                                ...           2 years ago
  • 2.11.6                                ...           2 years ago
  • 2.11.5                                ...           2 years ago
  • 2.11.4                                ...           2 years ago
  • 2.11.3                                ...           2 years ago
  • 2.11.2                                ...           2 years ago
  • 2.11.1                                ...           2 years ago
  • 2.11.0                                ...           2 years ago
  • 2.10.15                                ...           2 years ago
  • 2.10.13                                ...           2 years ago
  • 2.10.11                                ...           2 years ago
  • 2.10.9                                ...           2 years ago
  • 2.10.7                                ...           2 years ago
  • 2.10.6                                ...           2 years ago
  • 2.10.5                                ...           2 years ago
  • 2.10.4                                ...           2 years ago
  • 2.10.3                                ...           2 years ago
  • 2.10.2                                ...           2 years ago
  • 2.10.1                                ...           2 years ago
  • 2.10.0                                ...           2 years ago
  • 2.9.37-alpha.3                                ...           2 years ago
  • 2.9.37-alpha.2                                ...           2 years ago
  • 2.9.37-alpha.1                                ...           2 years ago
  • 2.9.37                                ...           2 years ago
  • 2.9.36-alpha.1                                ...           2 years ago
  • 2.9.32-alpha.5                                ...           2 years ago
  • 2.9.36                                ...           2 years ago
  • 2.9.35                                ...           2 years ago
  • 2.9.34                                ...           2 years ago
  • 2.9.32-alpha.4                                ...           2 years ago
  • 2.9.32-alpha.3                                ...           2 years ago
  • 2.9.33                                ...           2 years ago
  • 2.9.32-alpha.2                                ...           2 years ago
  • 2.9.32                                ...           2 years ago
  • 2.9.32-alpha.1                                ...           2 years ago
  • 2.9.32-alpha.0                                ...           2 years ago
  • 2.9.31                                ...           2 years ago
  • 2.9.30                                ...           2 years ago
  • 2.9.29                                ...           2 years ago
  • 2.9.28                                ...           2 years ago
  • 2.9.27                                ...           2 years ago
  • 2.9.27-alpha.4                                ...           2 years ago
  • 2.9.27-alpha.3                                ...           2 years ago
  • 2.9.27-alpha.2                                ...           2 years ago
  • 2.9.27-alpha.1                                ...           2 years ago
  • 2.9.27-alpha.0                                ...           2 years ago
  • 2.9.26                                ...           2 years ago
  • 2.9.26-alpha.2                                ...           2 years ago
  • 2.9.26-alpha.1                                ...           2 years ago
  • 2.9.26-alpha.0                                ...           2 years ago
  • 2.9.25                                ...           2 years ago
  • 2.9.25-alpha.0                                ...           2 years ago
  • 2.9.24                                ...           2 years ago
  • 2.9.23                                ...           2 years ago
  • 2.9.22                                ...           2 years ago
  • 2.9.22-alpha.0                                ...           2 years ago
  • 2.9.21                                ...           2 years ago
  • 2.9.20                                ...           2 years ago
  • 2.9.19                                ...           2 years ago
  • 2.9.18                                ...           2 years ago
  • 2.9.17                                ...           2 years ago
  • 2.9.17-alpha.0                                ...           2 years ago
  • 2.9.16                                ...           2 years ago
  • 2.9.15                                ...           2 years ago
  • 2.9.14                                ...           2 years ago
  • 2.9.13                                ...           2 years ago
  • 2.9.12                                ...           2 years ago
  • 2.9.11                                ...           2 years ago
  • 2.9.10                                ...           2 years ago
  • 2.9.9                                ...           2 years ago
  • 2.9.8                                ...           2 years ago
  • 2.9.7                                ...           2 years ago
  • 2.9.6                                ...           2 years ago
  • 2.9.5                                ...           3 years ago
  • 2.8.47                                ...           3 years ago
  • 2.9.4                                ...           3 years ago
  • 2.8.46                                ...           3 years ago
  • 2.9.3                                ...           3 years ago
  • 2.9.2                                ...           3 years ago
  • 2.9.1                                ...           3 years ago
  • 2.9.0                                ...           3 years ago
  • 2.8.45                                ...           3 years ago
  • 2.8.44                                ...           3 years ago
  • 2.8.43                                ...           3 years ago
  • 2.8.42                                ...           3 years ago
  • 2.8.41                                ...           3 years ago
  • 2.8.40                                ...           3 years ago
  • 2.8.39                                ...           3 years ago
  • 2.8.38                                ...           3 years ago
  • 2.8.37                                ...           3 years ago
  • 2.8.36                                ...           3 years ago
  • 2.8.35                                ...           3 years ago
  • 2.8.34                                ...           3 years ago
  • 2.8.33                                ...           3 years ago
  • 2.8.32                                ...           3 years ago
  • 2.8.31                                ...           3 years ago
  • 2.8.30                                ...           3 years ago
  • 2.8.29                                ...           3 years ago
  • 2.8.28                                ...           3 years ago
  • 2.8.27                                ...           3 years ago
  • 2.8.25                                ...           3 years ago
  • 2.8.24                                ...           3 years ago
  • 2.8.23                                ...           3 years ago
  • 2.8.22                                ...           3 years ago
  • 2.8.21                                ...           3 years ago
  • 2.8.20                                ...           3 years ago
  • 2.8.19                                ...           3 years ago
  • 2.8.18                                ...           3 years ago
  • 2.8.17                                ...           3 years ago
  • 2.8.16                                ...           3 years ago
  • 2.8.15                                ...           3 years ago
  • 2.8.14                                ...           3 years ago
  • 2.8.13                                ...           3 years ago
  • 2.8.12                                ...           3 years ago
  • 2.8.11                                ...           3 years ago
  • 2.8.10                                ...           3 years ago
  • 2.8.9                                ...           3 years ago
  • 2.8.8                                ...           3 years ago
  • 2.8.7                                ...           3 years ago
  • 2.8.6                                ...           3 years ago
  • 2.8.5                                ...           3 years ago
  • 2.8.4                                ...           3 years ago
  • 2.8.3                                ...           3 years ago
  • 2.8.2                                ...           3 years ago
  • 2.8.1                                ...           3 years ago
  • 2.8.0                                ...           3 years ago
  • 2.7.36                                ...           3 years ago
  • 2.7.35                                ...           3 years ago
  • 2.7.34                                ...           3 years ago
  • 2.7.33                                ...           3 years ago
  • 2.7.32                                ...           3 years ago
  • 2.7.31                                ...           3 years ago
  • 2.7.30                                ...           3 years ago
  • 2.7.29                                ...           3 years ago
  • 2.7.28                                ...           3 years ago
  • 2.7.27                                ...           3 years ago
  • 2.7.26                                ...           3 years ago
  • 2.7.25                                ...           3 years ago
  • 2.7.24                                ...           3 years ago
  • 2.7.23                                ...           3 years ago
  • 2.7.22                                ...           3 years ago
  • 2.7.21                                ...           3 years ago
  • 2.7.20                                ...           3 years ago
  • 2.7.19                                ...           3 years ago
  • 2.7.18                                ...           3 years ago
  • 2.7.17                                ...           3 years ago
  • 2.7.14                                ...           3 years ago
  • 2.7.13                                ...           3 years ago
  • 2.7.12                                ...           3 years ago
  • 2.7.10                                ...           3 years ago
  • 2.7.9                                ...           3 years ago
  • 2.7.8                                ...           3 years ago
  • 2.7.7                                ...           3 years ago
  • 2.7.6                                ...           3 years ago
  • 2.7.5                                ...           3 years ago
  • 2.7.4                                ...           3 years ago
  • 2.7.3                                ...           3 years ago
  • 2.7.2                                ...           3 years ago
  • 2.7.1                                ...           3 years ago
  • 2.7.0                                ...           3 years ago
  • 2.6.36                                ...           3 years ago
  • 2.6.35                                ...           3 years ago
  • 2.6.34                                ...           3 years ago
  • 2.6.33                                ...           3 years ago
  • 2.6.32                                ...           3 years ago
  • 2.6.31                                ...           3 years ago
  • 2.6.30                                ...           3 years ago
  • 2.6.29                                ...           3 years ago
  • 2.6.28                                ...           3 years ago
  • 2.6.27                                ...           3 years ago
  • 2.6.26                                ...           3 years ago
  • 2.6.25                                ...           3 years ago
  • 2.6.24                                ...           3 years ago
  • 2.6.23                                ...           3 years ago
  • 2.6.22                                ...           3 years ago
  • 2.6.21                                ...           3 years ago
  • 2.6.20                                ...           3 years ago
  • 2.6.19                                ...           3 years ago
  • 2.6.18                                ...           3 years ago
  • 2.6.17                                ...           3 years ago
  • 2.6.16                                ...           3 years ago
  • 2.6.15                                ...           3 years ago
  • 2.6.13                                ...           3 years ago
  • 2.6.12                                ...           3 years ago
  • 2.6.11                                ...           3 years ago
  • 2.6.10                                ...           3 years ago
  • 2.6.9                                ...           3 years ago
  • 2.6.8                                ...           3 years ago
  • 2.6.7                                ...           3 years ago
  • 2.6.6                                ...           3 years ago
  • 2.6.5                                ...           3 years ago
  • 2.6.4                                ...           3 years ago
  • 2.6.3                                ...           3 years ago
  • 2.6.2                                ...           3 years ago
  • 2.6.1                                ...           3 years ago
  • 2.6.0                                ...           3 years ago
  • 2.5.60                                ...           3 years ago
  • 2.5.59                                ...           3 years ago
  • 2.5.58                                ...           3 years ago
  • 2.5.57                                ...           3 years ago
  • 2.5.56                                ...           3 years ago
  • 2.5.55                                ...           3 years ago
  • 2.5.54                                ...           3 years ago
  • 2.5.52                                ...           3 years ago
  • 2.5.51                                ...           3 years ago
  • 2.5.50                                ...           3 years ago
  • 2.5.49                                ...           3 years ago
  • 2.5.48                                ...           3 years ago
  • 2.5.47                                ...           3 years ago
  • 2.5.46                                ...           3 years ago
  • 2.5.45                                ...           3 years ago
  • 2.5.43                                ...           3 years ago
  • 2.5.42                                ...           3 years ago
  • 2.5.37-mini20                                ...           3 years ago
  • 2.5.37-mini19                                ...           3 years ago
  • 2.5.37-mini18                                ...           3 years ago
  • 2.5.37-mini17                                ...           3 years ago
  • 2.5.37-mini16                                ...           3 years ago
  • 2.5.37-mini15                                ...           3 years ago
  • 2.5.37-mini14                                ...           3 years ago
  • 2.5.37-mini13                                ...           3 years ago
  • 2.5.37-mini12                                ...           3 years ago
  • 2.5.37-mini11                                ...           3 years ago
  • 2.5.37-mini10                                ...           3 years ago
  • 2.5.37-mini9                                ...           3 years ago
  • 2.5.37-mini8                                ...           3 years ago
  • 2.5.37-mini7                                ...           3 years ago
  • 2.5.37-mini6                                ...           3 years ago
  • 2.5.37-mini5                                ...           3 years ago
  • 2.5.37-mini4                                ...           3 years ago
  • 2.5.41                                ...           3 years ago
  • 2.5.40                                ...           3 years ago
  • 2.5.39                                ...           3 years ago
  • 2.5.38                                ...           3 years ago
  • 2.5.37-mini3                                ...           3 years ago
  • 2.5.37-mini2                                ...           3 years ago
  • 2.5.37-mini                                ...           3 years ago
  • 2.5.37                                ...           3 years ago
  • 2.5.36                                ...           3 years ago
  • 2.5.35                                ...           3 years ago
  • 2.5.34                                ...           3 years ago
  • 2.5.33                                ...           3 years ago
  • 2.5.32                                ...           3 years ago
  • 2.5.31                                ...           3 years ago
  • 2.5.30                                ...           3 years ago
  • 2.5.29                                ...           3 years ago
  • 2.5.28                                ...           3 years ago
  • 2.5.27                                ...           3 years ago
  • 2.5.26                                ...           3 years ago
  • 2.5.25                                ...           3 years ago
  • 2.5.24                                ...           3 years ago
  • 2.5.23                                ...           3 years ago
  • 2.5.22                                ...           3 years ago
  • 2.5.21                                ...           3 years ago
  • 2.5.19                                ...           3 years ago
  • 2.5.18                                ...           3 years ago
  • 2.5.17                                ...           3 years ago
  • 2.5.16                                ...           3 years ago
  • 2.5.15                                ...           3 years ago
  • 2.5.14                                ...           3 years ago
  • 2.5.8-mini21                                ...           3 years ago
  • 2.5.8-mini20                                ...           3 years ago
  • 2.5.8-mini19                                ...           3 years ago
  • 2.5.8-mini18                                ...           3 years ago
  • 2.5.13                                ...           3 years ago
  • 2.5.8-mini17                                ...           3 years ago
  • 2.5.8-mini16                                ...           3 years ago
  • 2.5.8-mini15                                ...           3 years ago
  • 2.5.8-mini14                                ...           3 years ago
  • 2.5.12                                ...           3 years ago
  • 2.5.8-mini13                                ...           3 years ago
  • 2.5.8-mini12                                ...           3 years ago
  • 2.5.11                                ...           3 years ago
  • 2.5.10                                ...           3 years ago
  • 2.5.8-mini11                                ...           3 years ago
  • 2.5.8-mini10                                ...           3 years ago
  • 2.5.8-mini9                                ...           3 years ago
  • 2.5.8-mini8                                ...           3 years ago
  • 2.5.8-mini7                                ...           3 years ago
  • 2.5.8-mini6                                ...           3 years ago
  • 2.5.8-mini5                                ...           3 years ago
  • 2.5.8-mini4                                ...           3 years ago
  • 2.5.8-mini3                                ...           3 years ago
  • 2.5.8-mini2                                ...           3 years ago
  • 2.5.9                                ...           3 years ago
  • 2.5.8-mini                                ...           3 years ago
  • 2.5.6-l7mini8                                ...           3 years ago
  • 2.5.6-l7mini7                                ...           3 years ago
  • 2.5.6-l7mini6                                ...           3 years ago
  • 2.5.6-l7mini5                                ...           3 years ago
  • 2.5.8                                ...           3 years ago
  • 2.5.6-l7mini4                                ...           3 years ago
  • 2.5.7                                ...           3 years ago
  • 2.5.6-l7mini3                                ...           3 years ago
  • 2.5.6                                ...           3 years ago
  • 2.5.6-l7mini2                                ...           3 years ago
  • 2.5.6-l7mini                                ...           3 years ago
  • 2.5.5                                ...           3 years ago
  • 2.5.4                                ...           3 years ago
  • 2.5.3                                ...           3 years ago
  • 2.5.2                                ...           3 years ago
  • 2.5.1                                ...           3 years ago
  • 2.5.0                                ...           3 years ago
  • 2.4.4                                ...           3 years ago
  • 2.4.3                                ...           4 years ago
  • 2.4.2                                ...           4 years ago
  • 2.4.1                                ...           4 years ago
  • 2.4.0                                ...           4 years ago
  • 2.3.10                                ...           4 years ago
  • 2.3.9                                ...           4 years ago
  • 2.3.7                                ...           4 years ago
  • 2.3.6                                ...           4 years ago
  • 2.3.5                                ...           4 years ago
  • 2.3.4                                ...           4 years ago
  • 2.3.3                                ...           4 years ago
  • 2.3.2                                ...           4 years ago
  • 2.3.1                                ...           4 years ago
  • 2.3.0                                ...           4 years ago
  • 2.2.43                                ...           4 years ago
  • 2.2.42                                ...           4 years ago
  • 2.2.41                                ...           4 years ago
  • 2.2.40                                ...           4 years ago
  • 2.2.38                                ...           4 years ago
  • 2.2.37                                ...           4 years ago
  • 2.2.36                                ...           4 years ago
  • 2.2.35                                ...           4 years ago
  • 2.2.34                                ...           4 years ago
  • 2.2.33                                ...           4 years ago
  • 2.2.32                                ...           4 years ago
  • 2.2.31                                ...           4 years ago
  • 2.2.28                                ...           4 years ago

© 2010 - cnpmjs.org x YWFE | Home | YWFE