groups

name language licence
JS/GOOGLE MAPS API : tracer un polygone Other Other
JS/HTML/GOOGLE MAPS API : gabarit+js : modèle de départ + bouton pour la vue Earth Other Other
JS/HTML : Scrolling menu js Other Other
JS/HTML : api google map Other Other
JS/HTML : api google map Other Other
JS/HTML : Scrolling menu js Other Other
HTML : select et optgroup : groupe d'option dans une liste déroulante HTML Other
TS : typoscript mega exemple : TMENU, MULTILANGUE, TEXT, CONDITIONS , ATTRIBUT TITLE, FIL D'ARIANE, Other Other

< 1 2 3 4 5 >



language: Other
licence: Other

JS/GOOGLE MAPS API : tracer un polygone

options: view full snippetsend to code collector
function initialize() {

  if (GBrowserIsCompatible()) {

    var map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(37.4419, -122.1419), 13);

	//on dessine le contour du polygone point par point
    var polyline = new GPolyline([
    new GLatLng(37.4419, -122.1419),
    new GLatLng(37.4519, -122.1519)
], "#ff0000", 10); // couleur de ligne et epaisseur
	map.addOverlay(polyline);

  }
	
(Continues...)