Try this search http://groups.google.com/group/Google-Maps-API/search?hl=en&group=Google-Maps-API&q=infowindow+no+close+button&qt_g=Search+this+group
Ralph On Apr 12, 2:42 am, Jason <[email protected]> wrote: > hello I was wondering if there was a way to remove the "x" ion the > popup window so that the popup can't be closed here's the code i have > so far. > > <script src="http://maps.google.com/maps? > file=api&v=2&sensor=true > > &key=ABQIAAAA-1hptHrsf3SFEd7DEdofaRQH4uXYy70D3prWzU7Lj0DG3QVhZhRHjBXrR5lR8OJOC- > NNL-poVFeWxQ" > type="text/javascript"> > </script> > </script> > <script type="text/javascript"> > function initialize() { > if (GBrowserIsCompatible()) { > var map = new GMap2(document.getElementById("map_canvas")); > var center = new GLatLng(41.1541, -82.1578); > map.setCenter(center, 13); > var marker = new GMarker(center, {draggable:false}); > GEvent.addListener(marker, "dragstart", > function() { map.closeInfoWindow(); }); > GEvent.addListener(marker, "dragend", function() { > marker.openInfoWindowHtml("Best Flowers In Town"); }); > map.addOverlay(marker); > map.openInfoWindow(map.getCenter(), > document.createTextNode("Days of Yore Herb and Flower Farm")); > map.setUIToDefault(); } } > </script> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
