git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrmap/trunk@1778
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
throw new Exception('Die Landkarte enthält folgenden ungültigen Text: "' . trim($xml) . '".');
}
$json_features = array(); // output
throw new Exception('Die Landkarte enthält folgenden ungültigen Text: "' . trim($xml) . '".');
}
$json_features = array(); // output
- $point_types = array('gasthaus', 'haltestelle', 'parkplatz', 'achtung', 'punkt');
+ $point_types = array('gasthaus', 'haltestelle', 'parkplatz', 'achtung', 'foto', 'punkt');
$line_types = array('rodelbahn', 'gehweg', 'alternative', 'lift', 'anfahrt', 'linie');
foreach ($xml as $feature) {
$given_properties = array();
$line_types = array('rodelbahn', 'gehweg', 'alternative', 'lift', 'anfahrt', 'linie');
foreach ($xml as $feature) {
$given_properties = array();
* <haltestelle>
* <parkplatz>
* <achtung>
* <haltestelle>
* <parkplatz>
* <achtung>
* <punkt>
* <rodelbahn>
* <alternative>
* <punkt>
* <rodelbahn>
* <alternative>
* <linie>
* The order may be used by the renderer to determine in which order the
elements should be drawn.
* <linie>
* The order may be used by the renderer to determine in which order the
elements should be drawn.
-* <gasthaus>, <haltestelle>, <parkplatz>, <achtung> and <punkt> define points
+* <gasthaus>, <haltestelle>, <parkplatz>, <achtung>, <foto> and <punkt> define points
* The elements may have the following attributes:
* name (string): defines the name (not the label) of the element
* wiki (string): name of a MediaWiki page the point refers to
* The elements may have the following attributes:
* name (string): defines the name (not the label) of the element
* wiki (string): name of a MediaWiki page the point refers to