On Tue, Apr 28, 2009 at 01:31:58PM -0700, Tom B wrote: > > Hi, > > I'm trying to give users the option of saving/printing a map, and I'm > currently working off the "tile stitching" code to create a composite image > of the map's layers: > http://trac.openlayers.org/wiki/Printing > > Since the OpenLayers.Layer.Google class doesn't have a "grid" property, the > Google Maps base layer doesn't get included in the composite. I didn't see > any enumeration of the tiles (unless I'm missing it somewhere) in the > object, but it looks like the tile images can be accessed here: > http://khm1.google.com/kh/v=37&hl=en&x=4&y=2&z=3
You can't, according to the ToS, print Google Maps tiles in this way. There is no supported access in > I'm guessing you'd need to find a way to use the map's bounds to find the > proper GET values and the resulting images' displacements on the composite > image, but I'm not sure how to make that calculation. > > More generally: I didn't see any conclusive threads about adding Google Maps > layers to a composite image--has anyone done this? This is because doing so is a violation of the terms of service, and doing this can get Google Upset And Angry at you, resulting in things like C&D letters and other fun stuff. -- Chris > Thanks, > Tom > -- > View this message in context: > http://n2.nabble.com/Saving-with-a-Google-Maps-base-layer-tp2736685p2736685.html > Sent from the OpenLayers Users mailing list archive at Nabble.com. > > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users