2010-02-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: fix map to show correct position the agent icons in the function "printMap". * include/javascript/openlayers.pandora.js: fix map to show correct position the agent icons in the function "js_printMap". * godmode/gis_maps/configure_gis_map.php: fix a mechanographic mistake in a text. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
1a95c79454
commit
311f31d5dd
|
@ -1,3 +1,14 @@
|
||||||
|
2010-02-24 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* include/functions_gis.php: fix map to show correct position the agent
|
||||||
|
icons in the function "printMap".
|
||||||
|
|
||||||
|
* include/javascript/openlayers.pandora.js: fix map to show correct position
|
||||||
|
the agent icons in the function "js_printMap".
|
||||||
|
|
||||||
|
* godmode/gis_maps/configure_gis_map.php: fix a mechanographic mistake in a
|
||||||
|
text.
|
||||||
|
|
||||||
2010-02-24 Miguel de Dios <miguel.dedios@artica.es>
|
2010-02-24 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* include/functions_gis.php: in function "printMap" add the posibility to
|
* include/functions_gis.php: in function "printMap" add the posibility to
|
||||||
|
|
|
@ -375,7 +375,7 @@ $table->data[1][1] = '<div id="form_layer">
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="4">
|
<td colspan="4">
|
||||||
<h4>' . __('List of Agents to be shwon in the layer') . '</h4>
|
<h4>' . __('List of Agents to be shown in the layer') . '</h4>
|
||||||
<table class="databox" border="0" cellpadding="4" cellspacing="4" id="list_agents">
|
<table class="databox" border="0" cellpadding="4" cellspacing="4" id="list_agents">
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -77,10 +77,12 @@ function printMap($idDiv, $iniZoom, $numLevelZooms, $latCenter, $lonCenter, $bas
|
||||||
maxResolution: 156543.0399,
|
maxResolution: 156543.0399,
|
||||||
numZoomLevels: <?php echo $numLevelZooms; ?>,
|
numZoomLevels: <?php echo $numLevelZooms; ?>,
|
||||||
units: 'm', //metros
|
units: 'm', //metros
|
||||||
projection: new OpenLayers.Projection("EPSG:900913"),
|
//Disabled projection because with Image map not run fine...I don't know
|
||||||
|
// projection: new OpenLayers.Projection("EPSG:900913"),
|
||||||
displayProjection: new OpenLayers.Projection("EPSG:4326")
|
displayProjection: new OpenLayers.Projection("EPSG:4326")
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
//Define the maps layer
|
//Define the maps layer
|
||||||
<?php
|
<?php
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
|
@ -68,7 +68,8 @@ function js_printMap(id_div, initial_zoom, num_levels_zoom, center_latitude, cen
|
||||||
maxResolution: 156543.0399,
|
maxResolution: 156543.0399,
|
||||||
numZoomLevels: num_levels_zoom,
|
numZoomLevels: num_levels_zoom,
|
||||||
units: 'm', //metros
|
units: 'm', //metros
|
||||||
projection: new OpenLayers.Projection("EPSG:900913"),
|
//Disabled projection because with Image map not run fine...I don't know
|
||||||
|
// projection: new OpenLayers.Projection("EPSG:900913"),
|
||||||
displayProjection: new OpenLayers.Projection("EPSG:4326")
|
displayProjection: new OpenLayers.Projection("EPSG:4326")
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue