Tengo una ficha donde trabajo con tabs (en javascript) y tengo varios problemas ..
creo que se debe a estas.
Empiezo ..
En version V3 tengo el problemas del desbordamiento (no se parte del mapa) que en la version V2 lo soluciono con GSize ... he probado de varias formas y no hay caso .. Ver Aqui >>
ademas les dejo codigo : javascript
Código:
Ahora en la version V2 tengo el problema que no me deja ver los controles de Scala , Tipos de mapa , y ningun otro. Ver Aqui >>..var map = null; function load() { directionsDisplay = new google.maps.DirectionsRenderer(); Size = new google.maps.Size(800,450); var myOptions = { zoom: 12, center: new google.maps.LatLng(-34.818718, -68.504713), mapTypeId: google.maps.MapTypeId.ROADMAP, mapTypeControl: true, mapTypeControlOptions: { style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR, position: google.maps.ControlPosition.TOP_RIGHT }, navigationControl: true, navigationControlOptions: { style: google.maps.NavigationControlStyle.ZOOM_PAN, position: google.maps.ControlPosition.TOP_LEFT }, scaleControl: true } var map = new google.maps.Map(document.getElementById("map"), myOptions); directionsDisplay.setMap(map); Size.setMap(map); var image = 'http://sanrafaelhoteles.com/imagenes/hotel.png'; var myLatLng = new google.maps.LatLng(-34.818718, -68.504713); var beachMarker = new google.maps.Marker({ position: myLatLng, map: map, icon: image }); }
Les dejo parte del codigo:
Código:
espero su ayuda gracias function load() { if (GBrowserIsCompatible()) { map = new GMap2(document.getElementById("map"), { size: new GSize(800,450)}); map.setCenter(new GLatLng(-34.818718, -68.504713), 17); map.setMapType(G_HYBRID_MAP); map.addControl(new GLargeMapControl()); map.addControl(new GScaleControl());