source: trunk/spip/esqueleto-redcta/plugins/magusine/squelettes/modeles/gmarker.html @ 229

Last change on this file since 229 was 80, checked in by guille, 16 years ago

el plugin completo

  • Property svn:executable set to *
File size: 468 bytes
Line 
1<script language="javascript">
2jQuery(document).ready(function(){
3  /*for (var i = 0; i < 10; i++) {
4    var point = new GLatLng(50.805935 + 0.01*Math.random(),
5                            4.432983 + 0.01*Math.random());
6    map.addOverlay(new GMarker(point));
7  }
8  */
9 
10    var point = new GLatLng(#ENV{latitude}, #ENV{longitude});
11    map.addOverlay(new GMarker(point));
12    map.addOverlay(createMarker(point, '[(#ENV*{message}|texte_script)]'));
13 
14});
15</script>
Note: See TracBrowser for help on using the repository browser.