The snippet you posted is not the same as what is currently on your
site at
http://kdejefero.tym.sk/

> map.openInfoWindowHtml(map.getCenter(),myHTML,onClosefn(),{noCloseOnClick:
> true});

The openInfoWindowHtml method does NOT have a callback function
argument
http://code.google.com/apis/maps/documentation/reference.html#GMap2.openInfoWindowHtml
it does have an option for a callback function
http://code.google.com/apis/maps/documentation/reference.html#GInfoWindowOptions.onOpenFn
{ onCloseFn : myFunction }

> map.openInfoWindowHtml(map.getCenter(),myHTML,{noCloseOnClick: true});
> it will be working quite good but it is not solution of my problem.

noCloseOnClick is only supposed to stop the infowindow closing when
the MAP is clicked, and is NOT supposed to disable the X in the window
itself
http://code.google.com/apis/maps/documentation/reference.html#GInfoWindowOptions.noCloseOnClick

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to