http://maps.google.fr/maps?f=q&source=s_q&hl=fr&q=500+rue+léon+foucault+45140+SAINT+Jean+de+la+ruelle -------------------------------------------------- -- Static map : Full with geocode -- -------------------------------------------------- http://maps.google.com/maps/api/staticmap?size=400x400&maptype=roadmap&markers=size:mid|color:blue|label:C|47.912735,1.866214|46.989165,3.167448|48.453218,1.541382|47.096542,2.418665&sensor=false -------------------------------------------------- -- Static map : Specify the city -- -------------------------------------------------- http://maps.google.com/maps/api/staticmap?center=Orleans,FR&zoom=7&size=400x400&sensor=false http://maps.google.com/maps/api/staticmap?center=47.488282,2.439336&zoom=7&size=400x400&sensor=false -------------------------------------------------- -- Code de base fourni par google map -- -------------------------------------------------- -------------------------------------------------- -- Keys -- -------------------------------------------------- ABQIAAAAP4W7whEXeVD-S7sGDdnc-xQzRydKwwmRlx24iYI0tmGn0zwb6xRMS28Bz2chwN1kQZrAkRa0P-WOlw -------------------------------------------------- -- Tutos & parameters -- -------------------------------------------------- Par localisation implicite (sans zoom ni center) - La carte se place toute seule : http://maps.google.com/maps/api/staticmap?size=400x400&maptype=roadmap&markers=color:blue|label:C|47.912735,1.866214|46.989165,3.167448|48.453218,1.541382|47.096542,2.418665&sensor=false http://maps.google.com/maps/api/staticmap?center=Williamsburg,Brooklyn,NY&zoom=13&size=400x400&markers=color:blue|label:S|11211|11206|11222&sensor=false http://maps.google.com/maps/api/staticmap?center=63.259591,-144.667969&zoom=6&size=400x400\ &markers=color:blue|label:S|62.107733,-145.541936&markers=size:tiny|color:green|Delta+Junction,AK\ &markers=size:mid|color:0xFFFF00|label:C|Tok,AK&sensor=false MAPTYPE satellite roadmap http://maps.google.com/maps/api/staticmap?center=rue de la gervaise,45170,FR&size=400x400&maptype=satellite&markers=size:mid|color:white|rue de la gervaise,45170,FR&sensor=false SENSOR : Determine user locations sensor=false Zoom Levels : Between 0 and 21+ Image Formats : * png8 or png (default) specifies the 8-bit PNG format. * png32 specifies the 32-bit PNG format. * gif specifies the GIF format. * jpg specifies the JPEG compression format. * jpg-baseline specifies a non-progressive JPEG compression format. Markers The markers parameter defines a set of one or more markers at a set of locations. Each marker defined within a single markers declaration must exhibit the same visual style; if you wish to display markers with different styles, you will need to supply multiple markers parameters with separate style information. The markers parameter takes set of value assignments (marker descriptors) of the following format: markers=markerStyles|markerLocation1| markerLocation2|... etc. Markers styles : * color:blue|label:S * size: (optional) {tiny, mid, small} default normal * color: (optional) specifies a 24-bit color (example: color=0xFFFFCC) or a predefined color from the set {black, brown, green, purple, yellow, blue, gray, orange, red, white}. * label: (optional) specifies a single uppercase alphanumeric character from the set {A-Z, 0-9}. *icon : Spécifier son propre icone, i.e. icon:http://chart.apis.google.com/chart%3Fchst%3Dd_map_pin_icon%26chld%3Dcafe%257C996600 Path : Permet de créer un trajet path=pathStyles|pathLocation1|pathLocation2|... etc. Path Styles * weight: (optional) specifies the thickness of the path in pixels. If no weight parameter is set, the path will appear in its default thickness (5 pixels). * color: (optional) specifies a color either as a 24-bit (example: color=0xFFFFCC) or 32-bit hexadecimal value (example: color=0xFFFFCCFF), or from the set {black, brown, green, purple, yellow, blue, gray, orange, red, white}. * fillcolor: (optional) indicates both that the path marks off a polygonal area and specifies the fill color to use as an overlay within that area. The set of locations following need not be a "closed" loop; the Static Map server will automatically join the first and last points. Note, however, that any stroke on the exterior of the filled area will not be closed unless you specifically provide the same beginning and end location. I.E. Thin blue line, 50% opacity: path=color:0x0000ff|weight:1 Solid red line: path=color:0xff0000ff|weight:5 Solid thick black line: path=color:0xffffffff|weight:10 Implicit Positioning of the Map : En fonction des locations, google map se charge de déterminer lui même le ZOOM