Keep in mind that the vbgooglemap members edition will change a bit.
It will get more of the functions I created for the hotspot edition
https://vborg.vbsupport.ru/showthread.php?t=114149 (the click and forget and the listing stuff)
besides that:
the actual lat/lng come from the googlemap table => written to XML and parsed client side. That's the way vbgooglemap currently works.
That will change too.
So the actual lat/lng is put in the xml by the CreateXML function. I you make your function write the needed values to that table you won't have to change a thing. Everything will work and will allow you to follow future upgrades too.