Using sprite image icons
Using sprite image icons
The following code example creates a marker with a sprite image combining various types of icons into one image.
An icon changes when the mouse pointer moves over a marker or moves out of a marker.