nastavuju podle bodu"; $prop['AddMarker'] = 1; $prop['MapCenterLat'] = $ol_hdr['Latitude']; $prop['MapCenterLon'] = $ol_hdr['Longitude']; if ($ol_hdr['PrecisionScale'] !== NULL) { $scale = precisionscale2amapy_scale($ol_hdr['PrecisionScale']); if ($dest == 'google') { // google // preved scale na googlackej $scale = amapy_scale_index2gmaps_scale_index(amapy_scale2amapy_scale_index($scale)); } } else { // uz funguje jen pro google, na amapy tady kaslu $scale = $google_display_gps_point_scale; } $prop['MapScale'] = $scale; if (($dest == 'atlas' && $scale <= $better_letecka_than_zakladni_scale) || ($dest == 'google' && $scale >= $better_letecka_than_zakladni_scale)) { // atlas 32000 a min, google 13 a vic $prop['MapType'] = ($dest == 'atlas' ? 'Letecká' : ($version == 2 ? 'G_HYBRID_MAP' : 'hybrid')); } } else if ($ol_hdr['KODCOBE'] !== NULL && $ol_hdr['KODCOBE']) { #echo "
nastavuju podle katastru"; // mam obec, nastavim to na obec // musim vzit jeji souradnice. bylo by efektivnejsi, kdyby to delala uz fce // obslist_load_hdr(), ale na to ted pecu if (!$ol_hdr['mun_latitude'] || !$ol_hdr['mun_longitude']) { $mun = load_cobe_by_id($ol_hdr['KODCOBE']); $prop['MapCenterLat'] = $mun['latitude']; $prop['MapCenterLon'] = $mun['longitude']; } else { $prop['MapCenterLat'] = $ol_hdr['mun_latitude']; $prop['MapCenterLon'] = $ol_hdr['mun_longitude']; } $prop['MapScale'] = $display_katastr_scale; } // neni obec ani bod, kraj neresime else { #echo "
nemam bod ani katastr!"; return NULL; } return $prop; } ?>
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /data/www/domeny/birds.cz/www/avif/map_prop.inc.php:149) in /data/www/domeny/birds.cz/www/avif/page_skel.php on line 72

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /data/www/domeny/birds.cz/www/avif/map_prop.inc.php:149) in /data/www/domeny/birds.cz/www/avif/page_skel.php on line 72

Warning: Cannot modify header information - headers already sent by (output started at /data/www/domeny/birds.cz/www/avif/map_prop.inc.php:149) in /data/www/domeny/birds.cz/www/tools/shared/login.php on line 198

Warning: Cannot modify header information - headers already sent by (output started at /data/www/domeny/birds.cz/www/avif/map_prop.inc.php:149) in /data/www/domeny/birds.cz/www/tools/shared/login.php on line 200