Source Location: /php/map/map_functions.php
map/map_functions.php
holds the functions for the mapping within ARK
PHP versions 4 and 5
LICENSE: ARK - The Archaeological Recording Kit. An open-source framework for displaying and working with archaeological data Copyright (C) 2008 L - P : Partnership Ltd. 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 3 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, see <http://www.gnu.org/licenses/>.
void chkSpat(
$map, $layer_array, $item_key, $item_value)
[line 383]
[ Top ]
void drawCustomRefMap(
$map, $zoomtype, [ $scale = NULL], [ $width = 200], [ $height = 200], [ $layer = NULL], [ $item_key = NULL], [ $item_value = NULL], [ $return_mode = 'url'])
[line 656]
[ Top ]
void drawMap(
$map, [ $width = 200], [ $height = 200])
[line 610]
[ Top ]
void drawRefMap(
$map, [ $width = 200], [ $height = 200])
[line 628]
[ Top ]
void getSingleShape(
$layerObj, $item_key, $item_value)
[line 335]
[ Top ]
void loopMapfileAttr(
$map_object, $db, $resultset, $att_table, $att_section)
[line 45]
map/map_functions.php
holds the functions for the mapping within ARK
PHP versions 4 and 5
LICENSE: ARK - The Archaeological Recording Kit. An open-source framework for displaying and working with archaeological data Copyright (C) 2008 L - P : Partnership Ltd. 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 3 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, see <http://www.gnu.org/licenses/>.
[ Top ]
array pointSpatQ(
object $layerObj, object $pointObj, string $field, [ $proj_in = FALSE], [ $proj_out = FALSE], [string $expression = FALSE], string $map_proj, string $point_proj)
[line 791]
runs a spatial query on a single map layer using a pointObj.
[ Top ]
void printExtents(
$rectObj)
[line 720]
[ Top ]
void setColour(
$map_object, $att_name, $colour_value)
[line 166]
[ Top ]
array singleShapeSpatQ(
object $layerObj, object $shapeObj, string $field, [string $map_proj = FALSE], [string $shape_proj = FALSE], [string $expression = FALSE])
[line 198]
runs a spatial query on a single map layer using a single shape. It uses the GEOS library to run a contains function.
[ Top ]
void turnOffLayers(
$map, [ $layer_array = FALSE])
[line 736]
[ Top ]
void zoomSingleSpat(
$map, $spat_array, $item_key, $item_value, [ $filter = FALSE], [ $buffer = 2])
[line 419]
[ Top ]