sorry.. I paid a little bit more attention to your reply.. especially using Firebug extension... (so helpful...) and I got it (maybe not so good writing.. @map.declare_init(@marker1, ''marker1'') @map.overlay_init(@marker1) @map.record_init "GEvent.addListener(marker1, ''dragend'', function () { point = marker1.getPoint(); map.setCenter(point); map.savePosition(); GLog.write(''New position of insert = ''+ point.lat() + '',''+ point.lng()); });" it runs... could not find the solution without init_record... but at least I found one solution.. Yves