| name | language | licence |
|---|---|---|
| Untitled Snippet | Other | Other |
| JS/GOOGLE MAPS API : une icone personnalisé sur les placemarks | Other | Other |
| SPIP : Attention à l'instruction INSERT_HEAD | Other | Other |
| JS/HTML/GOOGLE EARTH API : examples plus commentaires | Other | Other |
| CSS : bordure arrondi avec border-radius | CSS | Other |
| CSS : animations avec transitions-property et transition-duration | CSS | Other |
| HTML/CSS : une bonne methode pour center verticalement un block | HTML | Other |
| Untitled Snippet | Other | Other |
< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 >
language: Other
licence: Other
JS/GOOGLE MAPS API : une icone personnalisé sur les placemarks
options: view full snippet • send to code collector
// Define a custom icon.
var icon = ge.createIcon('');
icon.setHref('http://maps.google.com/mapfiles/kml/paddle/red-circle.png');
var style = ge.createStyle(''); //create a new style
style.getIconStyle().setIcon(icon); //apply the icon to the style
placemark.setStyleSelector(style); //apply the style to the placemark



library
html (48)