source: trunk/tools/gmaps/proxy.php @ 159

Revision 159, 178 bytes checked in by cirrus, 6 years ago (diff)

Added: Custom maps support. Ability to enable/disable map types (e.g. satellite, hybrid, etc.). Closes #100
Bugfix: Fixed foreach array error. Closes #98
Change: Gearth now uses title_small for the filename.
Change: Gearth default zoom location now calculated from the config file min/max lon/lat options.
Change: Suggest search minor javascript change.

Line 
1<?php
2//Proxy only for the maps, not the controls.
3$t = $_GET["t"];
4header("Content-type: image/jpg");
5$fp = fopen("http://kh3.google.com/kh?v=3&t=".$t,'rb');
6fpassthru($fp);
7?>
Note: See TracBrowser for help on using the repository browser.