On Nov 5, 4:57 pm, Dan_84 <[email protected]> wrote: > Hi there! > > How can I insert in my html code (below) a "mouseover mouseout" event? > Well, let me explain it a little better...
See my answer in the fusion tables user group: http://groups.google.com/group/fusion-tables-users-group/browse_frm/thread/c85f62390ca84bbf# -- Larry > > I want to create an event that makes the marker size bigger (size 10, > for exemple) whem the mouse pointer hovers on it. And when it 'leaves' > the marker gets to its 'normal size' again (like size 8). > > How can I do that? > > Here's the code: > > <!DOCTYPE html> > <html> > <head> > <style> > #map_canvas { width: 400px; height: 300px; } > </style> > <script type="text/javascript" src="http://maps.google.com/maps/api/js? > sensor=false"></script> > <script type="text/javascript"> > var map; > var layer; > var tableid = 1882479; > function initialize() { > map = new google.maps.Map(document.getElementById('map_canvas'), { > center: new google.maps.LatLng(-30.066716983885626, > -51.233367919921875), > zoom: 10, > mapTypeId: google.maps.MapTypeId.ROADMAP > }); > layer = new google.maps.FusionTablesLayer(tableid); > layer.setQuery("SELECT 'ENDERECO_GOOGLE' FROM " + tableid); > layer.setMap(map);} > > </script> > </head> > <body onload="initialize();"> > <div id="map_canvas"></div> > </body> > </html> -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
