Skip to content

sriramreddyM/Leaflet.VideoMaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leaflet.VideoMaps

A leaflet plugin for adding videos with GPS tracks to the map.

It will support,

  • Interactive videotrack on map with Location and Timestamp synchronised.
  • Supports video embeddings from Youtube and other custom hosts.

Usage,

<script src="https://unpkg.com/leaflet.videomaps@1.1.1/dist/Leaflet.VideoMaps.js"></script>

fetch('./sample.json')
    .then(result => result.json())
    .then((output) => {
        var addedTrack = L.VideoMaps.drawTrack(output, "div_element").addTo(map);
    })
    .catch(err => console.error(err));

Example usage is in dist folder. Go to Demo

Todo list

  • Custom icon for marker
  • Node.js package

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published