Skip to main content
English usage
Source Link
Vince
  • 20.3k
  • 16
  • 48
  • 65

iI use some django project with PostGIS for database and leaflet map. I have add simple leaflet popups like this :

[![example][1]][1]example

and here the snippet code to call popups :

onEachFeature:function (feature,layer) {
    layer.bindPopup(feature.properties.kalcode.toString())

}

but because I want to show more details from my fields I want to add one more html popups left down of map popups like this image :

[![example 2][2]][2]example 2

anyAny idea what change I need about this tasks ?

ty [1]: https://i.sstatic.net/FeWK4.jpg [2]: https://i.sstatic.net/bf7yK.jpg

i use some django project with PostGIS for database and leaflet map. I have add simple leaflet popups like this :

[![example][1]][1]

and here the snippet code to call popups :

onEachFeature:function (feature,layer) {
    layer.bindPopup(feature.properties.kalcode.toString())

}

but because I want to show more details from my fields I want to add one more html popups left down of map popups like this image :

[![example 2][2]][2]

any idea what change I need about this tasks ?

ty [1]: https://i.sstatic.net/FeWK4.jpg [2]: https://i.sstatic.net/bf7yK.jpg

I use some django project with PostGIS for database and leaflet map. I have add simple leaflet popups like this :

example

and here the snippet code to call popups :

onEachFeature:function (feature,layer) {
    layer.bindPopup(feature.properties.kalcode.toString())

}

but because I want to show more details from my fields I want to add one more html popups left down of map popups like this image :

example 2

Any idea what change I need about this tasks ?

Source Link
Chris Papas
  • 727
  • 3
  • 10
  • 20

django leaflet custom popups

i use some django project with PostGIS for database and leaflet map. I have add simple leaflet popups like this :

[![example][1]][1]

and here the snippet code to call popups :

onEachFeature:function (feature,layer) {
    layer.bindPopup(feature.properties.kalcode.toString())

}

but because I want to show more details from my fields I want to add one more html popups left down of map popups like this image :

[![example 2][2]][2]

any idea what change I need about this tasks ?

ty [1]: https://i.sstatic.net/FeWK4.jpg [2]: https://i.sstatic.net/bf7yK.jpg