MENO KML, AKTIVITA, LATITUDE a LONGITUDE sú povinné údaje!!!

"; echo " => http://misovic.net/maps/display_coordinate.php?latitude=LAT&longitude=LONG&description=DESC&zoom=ZOOM&map_type=MAPTYP
LAT - lat suradnica
LONG - long suradncia
DESC - nazov trasy
ZOOM - nastavenie urovne zoomu, ak prazne, da sa 12 : 1-12
MAPTYP - nastavenie zobrazenia typu google mapy, default zobrazy physical : HYBRID, PHYSICAL, NORMAL, SATELLITE, 3D

=> http://misovic.net/maps/display_route.php?source_name=KML_FILE_NAME&activity=ACTIVITY&latitude=LAT&longitude=LONG&description=DESC&zoom=ZOOM&map_type=MAPTYP

KML_FILE_NAME - meno KML suboru bez koncovky : VysokeTatry-koprovy
ACTIVITY - zadat typ toho, o com je kml : hiking, biking, plans, ski-touring atd.
LAT - lat stred tracku
LONG - long stred tracku
DESC - nazov trasy : text
ZOOM - nastavenie urovne zoomu, ak prazne, da sa 12 : 1-12
MAPTYP - nastavenie zobrazenia typu google mapy, default zobrazy physical : HYBRID, PHYSICAL, NORMAL, SATELLITE, 3D"; } else { require('../classes/phpGoogleMaps.php'); // initialize GoogleMap // activity ... zadat typ toho, coho je kml : hiking, biking, plans, ski-touring atd. // source_name ... meno KML suboru bez koncovky : VysokeTatry-koprovy // latitude ... lat stred tracku // longitude ... long stred tracku // zoom ... nastavenie urovne zoomu, ak prazne, da sa 12 : 1-12 // map_type ... nastavenie zobrazenia typu google mapy, default zobrazy physical : HYBRID, PHYSICAL, NORMAL, SATELLITE // description ... nazov trasy : text $my_map = new phpGoogleMaps('div_map','Thailon\'s maps (display route)','maps.css',true); $my_map->kml_url = "http://www.misovic.net/kml/".$_REQUEST["activity"]."/".$_REQUEST["source_name"].".kml"; $my_map->API_key = "ABQIAAAAjnhq8X-OQptfyLTBGM-N2hT5TRm3AF8pCOhCi5AR9SXUlj1L6hSEM3HFFKHkENZEchWyggjsJ0_0Tw"; $my_map->center_latitude = $_REQUEST["latitude"]; $my_map->center_longitude = $_REQUEST["longitude"]; $my_map->HidingControls = true; if (empty($_REQUEST["zoom"])) $my_map->center_zoom = "12"; else $my_map->center_zoom = $_REQUEST["zoom"]; $my_map->page_encoding = "Windows-1250"; $my_map->point_description = $_REQUEST["description"]; $my_map->GMapType = $_REQUEST["map_type"]; //G_NORMAL_MAP // webpage echo $my_map->GetHeaderTag(); echo $my_map->GetBodyStartTag(); ?>
GenerateMap('850px','500px')?>
Powered by php_geoclasses
GetBodyEndTag(); }?>