title: Show the listview item clicked location on google map
body: <p>I have created an application which shows the multiple overlay as the result of search button click ,there is one more button result list ,which open a dialog box with list view having the details of those search result overlays...
  I have created a button on the list item "show on the map" ,now i want when the user click on that button the dialog will dismiss and map-view animate to that particular overlay .. </p>
  
  <p>I tried this code ,but it is not working:</p>
  
  <pre><code>   Button.OnClickListener mOkOnClickListener1 = new Button.OnClickListener()
          {
              public void onClick(View v) {
                  dialog2.dismiss();
                                    String list_lat = ""+data.get(position).get("lat");
                                    String list_lon =  ""+data.get(position).get("lng");
                                    System.out.println("show map..."+list_lat +list_lon);
  
  
  
                                    GeoPoint point = new GeoPoint( (int) Double.parseDouble(list_lat),
                                            (int) Double.parseDouble(list_lon));
  
                                      mapController.animateTo(point);
                                      mapController.setZoom(14);
                                      mapView.postInvalidate(); 
  
  
              }
          };
          btn_sm.setOnClickListener(mOkOnClickListener1); 
  </code></pre>
  
  <p>Thanks in advance..!!</p>