[ka-Map-dev] [Bug 1350] modify config.php array structure to be key/value rather than ordinal values

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Sun Mar 12 15:48:56 EST 2006


http://bugzilla.maptools.org/show_bug.cgi?id=1350





------- Additional Comments From pspencer at dmsolutions.ca  2006-03-12 15:48 -------
use the following syntax for declaring the aszMapFiles array:

$aszGMap = array ( 
         'title' => 'GMap 75', 
         'path' => '../../gmap/htdocs/gmap75.map',
         'scales' => array( 40000000, 25000000, 12000000, 7500000, 3000000, 1000000 ),
         'format' =>'PNG'
);

$aszMapFiles = array( 'gmap' => $aszGMap );

For each map file you want to support, create an array with keys for 'title', 'path', 'scales' and 'format'.  
In the $aszMapFiles array, replace the existing arrays with 'key' => $aszMyMapFile.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the ka-Map-dev mailing list