mirror of
https://github.com/sebastianpauli/netgis-client.git
synced 2025-02-04 11:02:04 +01:00
81fa3bef48
-> compiled build + demo for LANIS only -> geoportal / mobilemap + sources coming soon -> config naming scheme changed to snake_case (see demo/lanis.html) - container element attributes center lon, lat, zoom (overrides config) - config layers / folders use id string instead of indices - config folder radio buttons / single layer selection - layer tree transparency sliders - cut / buffer tool multi select features (shift + click) - move vertex tool snapping - config tools snapping (active, radius) - draw tools config allowed area / bounds - import initial geometry value as read-only (property "editable") - import service check failing services / error alerts - import geometry preview table / select features to load - export geometry file of current drawing (geojson) - map keep polygon area labels inside viewport - fix: client read only mode ("data-editable=false")
25 lines
527 B
PHP
25 lines
527 B
PHP
<?php
|
|
|
|
// URL
|
|
$query = $_SERVER[ "QUERY_STRING" ];
|
|
|
|
// Open Session
|
|
$session = curl_init( $query );
|
|
|
|
// Only return contents, no headers
|
|
curl_setopt( $session, CURLOPT_HEADER, false );
|
|
curl_setopt( $session, CURLOPT_RETURNTRANSFER, true );
|
|
|
|
// Execute
|
|
$response = curl_exec( $session );
|
|
|
|
// Output
|
|
header( "Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept" );
|
|
header( "Access-Control-Allow-Origin: *" );
|
|
header( "Content-Type: application/json" );
|
|
|
|
echo $response;
|
|
|
|
// Done
|
|
curl_close( $session );
|