Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 2nd, 2012  |  syntax: None  |  size: 0.68 KB  |  hits: 39  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to clear specific marker with gmap3
  2. `<script type="text/javascript">                
  3.  
  4.         $(function(){
  5.             $("#putain").gmap3();
  6.                 $("#putain").gmap3({action:'addMarker', name:'marker', address: "paris", tag : "mytag-paris"});
  7.                 $("#putain").gmap3({action:'addMarker', name:'marker', address: "new york", tag : "mytag-newyork"});
  8.                 $("#putain").gmap3({action:'clear', name:'marker', tag:'mytag-paris'});        
  9.         });
  10.  
  11.     </script>
  12.        
  13. {action:'addMarker', name:'marker', latLng: (my lat & lng value), tag : "mytag"}
  14.        
  15. {action:'addMarker', name:'marker',map:{center:true}, latLng: (my lat & lng value), tag : "mytag"}