Skip to content

Commit

Permalink
Fixed layer and paths
Browse files Browse the repository at this point in the history
  • Loading branch information
phrozen committed Dec 6, 2023
1 parent c1e2a1f commit 5438f8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
File renamed without changes.
5 changes: 2 additions & 3 deletions docs/old/index.html → docs/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ <h3>GeoHash Demo</h3>
<label for="request">Request:</label>
<textarea id="request" class="pure-input-1" v-model="request"></textarea>
<label for="response">Response: <span :class="[parseInt(code) < 299 ? 'green' : 'red']">{{ code }}</span></label>
<textarea id="response" class="pure-input-1" v-model="response" rows="8" readonly></textarea>
<textarea id="response" class="pure-input-1" v-model="response" rows="8" readonly style="font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace;"></textarea>
</fieldset>
</form>
<p class="small">
Expand Down Expand Up @@ -210,6 +210,7 @@ <h3>GeoHash Demo</h3>
}
},
drawPoints(id, hashes) {
this.removeLayer(id)
let layer = {
id,
type: 'symbol',
Expand Down Expand Up @@ -424,8 +425,6 @@ <h3>GeoHash Demo</h3>
},
}
})


</script>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ <h1>Demo</h1>
JS Demo con Mapbox, Vue.js, Pure CSS y Axios
</small>
</section>
<section data-background-iframe="old/index.html" data-background-interactive>
<section data-background-iframe="demo/index.html" data-background-interactive>

</section>
</section>
Expand Down

0 comments on commit 5438f8f

Please sign in to comment.