geocoder.getLatLng() method not showing all the addresses on google map?
<p>I have latitude and longitude values in the database columns(More that 20), so i am just grabing those values and passing them to geocoder.getLatLng() method to display them as markers. But this method not pretty fast, I kept this method inside a loop to run through all the values from database, But not all the addresses are showing up everytime I refresh the page its missing some addresses.Here is my code, please give me some suggestions and tell how to set the time out.</p>

<pre><code>        script += " var location = \"\"+ latitude +\", \"+ longitude +\"\";\n";

        script += " geocoder.getLatLng( \n";
        script += " location,function(point) \n";
        script += " {if (point) { \n";
        //script += "       alert(point);\n";
        script += "     var icon = new GIcon(baseIcon);\n";
        script += "     icon.image = \"_gfx/gmap/marker\" + (iconNum) + \".png\";\n";
        script += "     var LocImage = new Image();\n";
        script += "     LocImage.src =\"Modules/ShowImage.aspx?imageid=\"+ ImageID +\"\";\n";
        script += "     var marker = new GMarker(point, icon);\n";
        script += "     map.addOverlay(marker); \n";
        script += "     GEvent.addListener(marker, \"click\", function() {\n";
        script += "         marker.openInfoWindowHtml(\"&lt;div class='facility_map'&gt;&lt;a href='\" +detailLink[index]+ \"' class='facility_name'&gt;\" + name + \"&lt;/a&gt;&lt;br /&gt;\" +((ImageID!= \"0\")?\"&lt;img src='\" +LocImage.src + \"' class='markerimg' width='170' height='180' /&gt;\":\"\")+ \"&lt;br /&gt;&lt;a href=\"+ link[index] +\" target='_blank'&gt;\" + displayAddress + \"&lt;/a&gt;&lt;br /&gt;\" +((PhoneNum != \"\")?\"&lt;b&gt;Phone:&lt;/b&gt;\"+PhoneNum+\"\":\"\")+ \"&lt;br /&gt;\" + AllAmenities + \"&lt;b&gt;Capacity:&lt;/b&gt;\" + Capacities + \"&lt;/div&gt;\");\n";
        script += " })\n";
        script += "     return marker;\n";
        script += " }\n";
</code></pre>
