googlemap, * zoom=10, * center=Amsterdam Nederland, * type=satellite, * size=400x400, * marker_position_1=Vondelpark Amsterdam Nederland, * marker_color_1=green, * marker_label_1=G, * marker_position_2=Amstelveenseweg 130 Amsterdam Nederland, * marker_color_2=red, * marker_label_2=F, * }} */ class ScriptedPageScriptgooglemap { function getOutput( $aParams, &$bCache, &$bWikify ) { setlocale (LC_TIME, "nl_NL"); $sCenter = ''; $iZoom = 12; $sMapType = 'roadmap'; $sMapSize = '700x200'; if (IsSet($aParams['center'])) $sCenter = $aParams['center']; if (IsSet($aParams['zoom'])) $iZoom = 0+$aParams['zoom']; if (IsSet($aParams['type'])) $sMapType = $aParams['type']; if (IsSet($aParams['size'])) $sMapSize = $aParams['size']; $aMarkers = array(); for ($i=0;$i<15;$i++) { if (IsSet($aParams['marker_position_'.$i])) { $sColor = 'green'; $sLabel = ''; $sPosition = str_replace( 'x', ',', $aParams['marker_position_'.$i] ); if (IsSet($aParams['marker_color_'.$i])) $sColor = $aParams['marker_color_'.$i]; if (IsSet($aParams['marker_label_'.$i])) $sLabel = $aParams['marker_label_'.$i]; $aMarkers[] = array( 'color'=> $sColor, 'label'=> $sLabel, 'pos' => $sPosition ); } } $sOutput = ''; if (IsSet($aParams['text'])) { $sOutput .= '
'.$aParams['text'].''; } $sOutput .= '
'; $bCache = false; $bWikify = false; return $sOutput; } } ?> nieuws:27_september_2010_presentatie_amsterdam_wereldstad_op_de_fiets [Fietsersbond Amsterdam]

Gebruikershulpmiddelen

Site-hulpmiddelen


nieuws:27_september_2010_presentatie_amsterdam_wereldstad_op_de_fiets

Mediabeheerder

Bestandsselectie

Bestanden in [root]

Bestand

nieuws/27_september_2010_presentatie_amsterdam_wereldstad_op_de_fiets.txt · Laatst gewijzigd: 2019/10/27 08:45 (Externe bewerking)