Talk:OpenTouchMap

From OpenStreetMap Wiki
Jump to: navigation, search

Don't know it this is the place for this type of info, but just FYI:

If you want to exclude the GMap-file from your HTML, you'll also have to disable the following code in the main touchmap file, like this:

//						'GMap': 		{'copyright':'Data (C) by Google','provider':new this.TileUrlProviderGMap('http://mt0.google.com','vt/')},
//						'GSat': 		{'copyright':'Data (C) by Google','provider':new this.TileUrlProviderGMap('http://khm2.google.com','kh/v=43&')},
//						'GTopo': 		{'copyright':'Data (C) by Google','provider':new this.TileUrlProviderGMap('http://mt2.google.com','vt/v=w2p.106&')},

(Is there a way to check for TileUrlProviderGMap before loading this part..?)