Location: PHPKode > projects > OpenBizMap > openbizmap/maps/ch-postal.php
<?php
/*
OpenDataBag - Data Web Interface
Copyright (C) 2004 Nawara

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/

//Map definition file

$region_latitude_min=45;
$region_latitude_max=48;
$region_longitude_min=5;
$region_longitude_max=11;

//Google Maps scale
$region_map_scale=7;

//region check function
if(!function_exists('region_value_check'))
{
  function region_value_check($tmp_region)
  {
    return $tmp_region;
  }
}

$region_array=array();       
// ZIP = X Y COLOR   
$region_array['1']=array(180, 200, 1);       
$region_array['2']=array(200, 100, 2);                 
$region_array['3']=array(250, 200, 3);       
$region_array['4']=array(249, 84, 1);       
$region_array['5']=array(288, 78, 3);       
$region_array['6']=array(322, 156, 4);       
$region_array['7']=array(424, 175, 1);       
$region_array['8']=array(336, 87, 2);       
$region_array['9']=array(391, 85, 3);       

$region_alias_array=array();
// ALIAS = INDEX NAME 



?>
Return current item: OpenBizMap