View Single Post
  #3 (permalink)  
Old August 31st, 2016, 05:21 AM
Prachi K. Kshirsagar Prachi K. Kshirsagar is offline
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2016
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Jsp

I am used in netbeans & database used in postgresql. I am problem this code. My question is map is display in marker in notify the state,district,& taluk. I have done by database but coding there problem.

I am confuse that what be used in databse in netbeans & whatever to be collect parameter in databse to the netbeans.

Please help me give me ans early a possible!!!!
My problem this code is:

var drawnItems = new L.FeatureGroup();
map.addLayer(drawnItems);
//geomfeatures=document.getElementById("featurebox") ;

geomfeatures=document.getElementById("featurebox") ;
alert(geomfeatures.childNodes.length);
for (i=0;i<geomfeatures.childNodes.length;i++)
{
lat=document.getElementById("lat"+i).value;
//alert(lat);
lng=document.getElementById("lng"+i).value;
alert(lng);
L.marker([lat,lng]).addTo(map);



}
Reply With Quote