RepositoryJavaScriptGBVương quốc Anh
RU

rubenspgcavalcante/leaflet-ant-path

🌿🐜 Creates a leaflet polyline with a 'ant-path' animated flux

482sao
77fork
24issue
5lượt xem

🐜 Tạo polyline 'ant path' hoạt họa trên bản đồ Leaflet

Thêm hiệu ứng dòng chảy điện tĩnh 'ant path' vào các đường polyline, polygon, circle hoặc curve trên bản đồ Leaflet một cách đơn giản.

leaflet-ant-path là một plugin JavaScript cho Leaflet tạo ra các đường đa tuyến (polyline) với hiệu ứng 'flux' hoạt họa đặc trưng của con kiến — nơi các đoạn đường liên tục dịch chuyển để mô phỏng chuyển động. Plugin hỗ trợ cài đặt qua npm, yarn, bower hoặc tải trực tiếp, yêu cầu Leaflet >= 1.

✨ Điểm nổi bật

  • Polyline ant path: Tạo polyline với hiệu ứng flux hoạt họa.
  • Hỗ trợ nhiều vector: Polygon, rectangle, circle, và curve (qua Leaflet.curve).
  • Cài đặt đa dạng: Hỗ trợ npm, yarn, bower, và UMD.
  • Tùy chọn màu sắc flux: Tùy chỉnh màu sắc của dòng chảy.
  • Hỗ trợ trình duyệt rộng: IE10+, Edge, Chrome, Firefox, Safari, Opera, Samsung.

💡 Vì sao đáng chú ý

leaflet-ant-path khác biệt từ các plugin khác ở khả năng tạo hiệu ứng 'ant path' — một kỹ thuật phổ biến trong các ứng dụng GIS để nhấn mạnh hướng đi hoặc kết nối giữa các điểm. Plugin không chỉ giới hạn ở polyline mà còn hỗ trợ polygon, circle, và curve, giúp người dùng linh hoạt áp dụng hiệu ứng này cho nhiều loại hình địa lý khác nhau.


#Leaflet #JavaScript #OpenSource #Animation #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryJavaScript
Leaflet/Leaflet.markercluster

Marker Clustering plugin for Leaflet

4.2k
Nov 25, 2026
RepositoryJavaScript
SuperMap/iClient-JavaScript

Modern GIS Web Client for JavaScript, based on Leaflet\OpenLayers\MapboxGL-JS\Classic(iClient8C), enhanced with ECharts\D3\MapV etc. Contributed by SuperMap & community.

907
Nov 26, 2026
RepositoryJavaScript
stefanocudini/leaflet-panel-layers

Leaflet Control Layers extended with support groups and icons

298
Aug 11, 2023
RepositoryTypeScript
geoman-io/leaflet-geoman

🍂🗺️ The most powerful leaflet plugin for drawing and editing geometry layers

2.4k
Dec 2, 2026
RepositoryCSS
w8r/Leaflet.Path.Transform

Drag/rotate/resize handler for leaflet vector features.

174
Jun 14, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

488.2k
Dec 3, 2026
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

213.0k
Dec 3, 2026
RepositoryPython
microsoft/markitdown

Python tool for converting files and office documents to Markdown.

199.6k
Dec 3, 2026
RepositoryTypeScript
microsoft/vscode

Visual Studio Code

195.9k
Nov 30, 2026