[Google Maps API v3] Custom Controls for Zoom in and Zoom out

2011-12-02 Thread jsouth
Hi, For some reason the option to 'zoomIn' doesn't work with v3. For example I have this code, where I want to have map.zoomIn() on the click event . but it doesn't do anything? function initialize() { var mapDiv = document.getElementById('map-canvas'); var map = new google.maps.Map(

[Google Maps API v3] Custom Controls flickering problem

2011-08-30 Thread Shreerang Patwardhan
Hello Group, I put up an example to switch on and off the map controls on the mouse over and mouse out event. Which means, if your mouse if over the map, the map controls will be enabled and once the mouse is outside the map, the controls will disappear. You can find the code at http://shreerangp

[Google Maps API v3] Custom controls

2011-03-01 Thread Nick
How do I ascertain a custom control's element id? Ie. document.getElementById etc? -- 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 google-maps-js-api-v3@googlegroups.com. To unsubscribe from

[Google Maps API v3] Custom controls lost when switching from Streetview to RoadMap view

2010-12-20 Thread Marc
I have created custom controls on my map using the code: map.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(homeControlDiv); where homeControlDiv is a div that I have created with other controls inside it. The controls are visible when I view the default map in RoadMap mode. When I swi

[Google Maps API v3] Custom controls containing multiple selects

2010-11-15 Thread patrick
Hi, I am trying to add a custom control to my map that contains multiple select boxes (each select box in the custom control should fire a different event). I create the map like this: var map = new google.maps.Map(document.getElementById("map"), initialOptions); I add the background canvas DIV

[Google Maps API v3] Custom Controls initialization

2010-08-19 Thread mikegleasonjr
Hi, The procedure to add a custom Control is like: map.controls[google.maps.ControlPosition.TOP_RIGHT].push(node); var ctrl = new MyControl(node, map); But the HTML node (div) at that time only gets pushed into an array. Only when the map is initialized, the controls are really a

[Google Maps API v3] Custom Controls (google.maps.Control)

2009-11-12 Thread Javier de la Rosa
Hi, Are already custom controls for maps available? Regards. -- Javier de la Rosa -- 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 google-maps-js-api...@googlegroups.com. To unsubscribe fr