Skip to content

Commit

Permalink
geocoder lang
Browse files Browse the repository at this point in the history
placeholder & collapsed by default
  • Loading branch information
vlasvlasvlas committed Aug 24, 2023
1 parent 7865638 commit 8bf530e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ <h3>Geojson:</h3>
// geocoder:
var geocoder = L.Control.geocoder({
defaultMarkGeocode: false,
collapsed: false
collapsed: true, // para que aparezca abierto o cerrado
placeholder: 'Buscar..'
})
.on('markgeocode', (e) => {
var bbox = e.geocode.bbox;
Expand Down

0 comments on commit 8bf530e

Please sign in to comment.