@smellman-openmaptiles/tilelive-tmsource

A tilelive.js source for tmsource:// URIs

Usage no npm install needed!

<script type="module">
  import smellmanOpenmaptilesTileliveTmsource from 'https://cdn.skypack.dev/@smellman-openmaptiles/tilelive-tmsource';
</script>

README

tilelive-tmsource

I am a tilelive provider for tm2 sources.

Usage

Load tmsource:///path/to/project.tm2source as a tilelive source.

OR

new TMSource({ yaml: "yaml document here" }, callback)