Hi
Please see the GeoMaps demo. In the ImageEnView1DrawBackBuffer() event the marker is just a bitmap that is loaded from a buffer (in the ims unit). You can easily replace this with any bitmap you like, e.g.
// Draw a custom pin
MyPin := TIEBitmap.Create( 'C:\MyCustomPin.png' );
MyPin.RenderToTBitmapEx(ImageEnView1.BackBuffer,
x - MyPin.Width div 2,
y - MyPin.Height div 2,
MyPin.Width, MyPin.Height
0, 0, MyPin.Width, MyPin.Height,
255, rfNone);
MyPin.Free();
Of course, you wouldn't want to actually load the image in the draw back buffer event as it would be too slow, so you would have a private field in your form that stores it.
Nigel
Xequte Software
www.xequte.com
nigel@xequte.com