erm, paulo, i did that.... you might check my page, http://youspots.com
[code] .... }, tileSize: new google.maps.Size(256, 256), isPng: true, alt: "OpenStreetMap layer", name: "OpenStreetMap", maxZoom: 19 }); [/code] On 28 Jan., 14:43, Paulo Fernandes <paulofernande...@gmail.com> wrote: > You can add a overlay button with an action to change de mapType > > Paulo > Fernandeshttp://www.google.com/profiles/paulofernandesjrhttp://twitter.com/paulofernandesj > +55 11 9797-5974 > > > > > > > > On Fri, Jan 28, 2011 at 10:49 AM, en4ce <djen...@googlemail.com> wrote: > > not possible? guys.... anyone ? > > > On 27 Jan., 18:38, en4ce <djen...@googlemail.com> wrote: > > > how does it work ? > > > > i created a custom button like that > > > > var osmMapType = new google.maps.ImageMapType({ > > > getTileUrl: function(coord, zoom) { > > > return "http://tile.openstreetmap.org/" + > > > zoom + "/" + coord.x + "/" + coord.y + ".png"; > > > }, > > > tileSize: new google.maps.Size(256, 256), > > > isPng: true, > > > alt: "OpenStreetMap layer", > > > name: "OpenStreetMap", > > > maxZoom: 19 > > > }); > > > > and > > > > var myOptions = { > > > zoom: 1, > > > center: new google.maps.LatLng(15.1,25.7), > > > mapTypeId: 'Hybrid', > > > mapTypeControlOptions: { > > > mapTypeIds: ['OSM', > > google.maps.MapTypeId.ROADMAP, > > > 'Hybrid',google.maps.MapTypeId.HYBRID,'Satellite',google.maps.MapTypeId.SAT > > ELLITE ,'Terrain',google.maps.MapTypeId.TERRAIN ] > > > } > > > } > > > > i realy could not figure out how to resize the buttons.... > > > > any idea ? > > > > cheers > > > -- > > 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 this group, send email to > > google-maps-js-api-v3+unsubscr...@googlegroups.com<google-maps-js-api-v3%2B > > unsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-maps-js-api-v3?hl=en. -- 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 this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.