inspector updates

This commit is contained in:
Brandon Liu
2021-12-29 16:24:53 +08:00
parent 9ad5bbf28c
commit 3ff0bb3918

View File

@@ -16,7 +16,7 @@
<div class=" f4 fw5 dark-gray b--dark-gray ba4 b--dotted bw1 pa3">Drag and drop a local PMTiles file here...</div> <div class=" f4 fw5 dark-gray b--dark-gray ba4 b--dotted bw1 pa3">Drag and drop a local PMTiles file here...</div>
<div class="pv3"> <div class="pv3">
<div class="flex"> <div class="flex">
<input placeholder="PMTiles file url (not yet implemented)" class="flex-grow-1"/> <input placeholder="PMTiles file url (not yet implemented)" class="flex-grow-1 f6"/>
<button class="ml3 link bg-white dim ba pointer">Inspect</button> <button class="ml3 link bg-white dim ba pointer">Inspect</button>
</div> </div>
</div> </div>
@@ -85,5 +85,12 @@
function dragOverHandler(ev) { function dragOverHandler(ev) {
ev.preventDefault(); ev.preventDefault();
} }
// const queryString = window.location.search;
// const urlParams = new URLSearchParams(queryString);
// const loadUrl = urlParams.get("url");
// if (loadUrl) {
// console.log("load url", loadUrl);
// }
</script> </script>
</html> </html>