diff --git a/plugins/org.jkiss.dbeaver.data.gis.view/web/view_template.html b/plugins/org.jkiss.dbeaver.data.gis.view/web/view_template.html index 2c8daee639cd5e7334a112467f084d32d62a2094..ef4f86753dfdc49df4482c499794435cf607746d 100644 --- a/plugins/org.jkiss.dbeaver.data.gis.view/web/view_template.html +++ b/plugins/org.jkiss.dbeaver.data.gis.view/web/view_template.html @@ -1,92 +1,71 @@ - + + - Quick Start - Leaflet - - - + Quick Start - Leaflet + + + - - -
- + var bounds = vectorLayer.getBounds(); + mymap.fitBounds(bounds); + var popup = L.popup(); + function onMapClick(e) { + popup + .setLatLng(e.latlng) + .setContent("You clicked the map at " + e.latlng.toString()) + .openOn(mymap); + } + mymap.on('click', onMapClick); + + \ No newline at end of file