Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
tile usage sample | Twlandsat - 賽豬公上太空
<!doctype html>
<html lang="zh-TW">
<meta charset="UTF-8">
<title>tile usage sample | Twlandsat - 賽豬公上太空 </title>
<link rel="stylesheet" href="" />
<script src=""></script>
#map {
height: 540px;
width: 800px;
<div id="map"></div>
var map ='map').setView([23.256172010924537,120.43350219726562], 10);
L.tileLayer('{z}/{x}/{y}.png', {
tms: true, // tile
attribution: '&copy; <a href="">OpenStreetMap</a> contributors',
maxZoom: 18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment