{"repo":"manubb/Leaflet.PixiOverlay","free":true,"listed":false,"github":"https://github.com/manubb/Leaflet.PixiOverlay","clone":"git clone https://github.com/manubb/Leaflet.PixiOverlay.git","description":"Bring Pixi.js power to Leaflet maps","language":"JavaScript","stars":511,"topics":["pixijs","pixi-js","leaflet-layer","leafletjs","leaflet-overlay","leaflet-map","leaflet-plugin","leaflet","pixi","webgl"],"license":"MIT","category":"game-templates","readme_excerpt":"Leaflet.PixiOverlay =================== An overlay class for Leaflet, a JS library for interactive maps. Allows drawing overlay using Pixi.js, a JavaScript library for drawing using WebGL that seamlessly falls back to HTML5's canvas if needed. Thanks to Leaflet.D3SvgOverlay for inspiration. Features No limitations to polylines, circles or geoJSON. Draw whatever you want with Pixi.js No need to reproject your geometries on zoom, this is done using scaling Zoom animation where Leaflet supports it Supports leaflet@0.7, 1 and pixi.js@4, 5, 6, 7 Demo A very basic demo (pixi.js@7) . Largest US cities (pixi.js@7, 1000 animated markers). French cities (pixi.js@7, 36700 animated markers). One million markers Rotating markers with constant size during zoom French presidential 2017 election results: first round and second round (36000 polygons). French legislative 2017 election results: first round and second round (36000 polygons). ( graph-draw is used to display boundaries in the election demos when rendered in WebGL ) Installation Leaflet.PixiOverlay is available as a npm package: or can be included in a page with jsDelivr CDN. Usage Include Pixi.js and the PixiOverlay libraries: Create a map: Create an overlay: Add it to the map: Examples Draw a marker Draw a triangle API Factory method L.pixiOverlay( drawCallback, container, options?) drawCallback - callback to draw/update overlay contents. container - a Pixi container (a subclass of PIXI.Container ). options - overlay options obje","default_branch":null,"files":null,"tree":[],"storefront":"/r/manubb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/manubb/Leaflet.PixiOverlay/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}