Skip to content

imclab/mapshot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

this is a small library that allows you to put static maps on your page:

<script>
  mapshot.map({
    center: [40, -4],
    zoom: 4,
    width: 700,
    height: 300,
    renderer_type: 'canvas',
    layers: [
      'http://tile.stamen.com/toner/{z}/{x}/{y}.png', // stamen.com
    ]
  }).render()
</script>

About

allows you to put static maps on a webpage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published