Beispiel #1
0
function GetParameters($params)
{
    global $locale, $mapFrame;
    $locale = ValidateLocaleString(GetParameter($params, 'LOCALE'));
    if (isset($params['MAPFRAME'])) {
        $mapFrame = ValidateFrameName(GetParameter($params, 'MAPFRAME'));
    } else {
        $mapFrame = "parent";
    }
}
Beispiel #2
0
function GetParameters($params)
{
    global $mapName, $sessionId, $mapFrame, $locale;
    $sessionId = ValidateSessionId(GetParameter($params, 'SESSION'));
    $locale = ValidateLocaleString(GetParameter($params, 'LOCALE'));
    $mapName = ValidateMapName(GetParameter($params, 'MAPNAME'));
    if (isset($params['MAPFRAME'])) {
        $mapFrame = ValidateFrameName(GetParameter($params, 'MAPFRAME'));
    } else {
        $mapFrame = "parent";
    }
}
Beispiel #3
0
function GetParameters($params)
{
    global $mapDefinition, $type;
    global $infoWidth, $showLegend, $showProperties, $sessionId;
    global $locale, $hlTgt, $hlTgtName, $showSlider;
    global $selectionColor, $mapImgFormat, $selImgFormat, $pointBufferSize;
    $sessionId = ValidateSessionId(GetParameter($params, 'SESSION'));
    $locale = ValidateLocaleString(GetParameter($params, 'LOCALE'));
    $hlTgt = ValidateHyperlinkTargetValue(GetParameter($params, 'HLTGT'));
    $hlTgtName = ValidateFrameName(GetParameter($params, 'HLTGTNAME'));
    $mapDefinition = ValidateResourceId(GetParameter($params, 'MAPDEFINITION'));
    $showLegend = GetIntParameter($params, 'SHOWLEGEND') == 1;
    $showProperties = GetIntParameter($params, 'SHOWPROP') == 1;
    $showSlider = GetIntParameter($params, 'SHOWSLIDER') == 1;
    $infoWidth = GetIntParameter($params, 'INFOWIDTH');
    $type = GetParameter($params, 'TYPE');
    $selectionColor = ValidateColorString(GetParameter($params, 'SELCOLOR'), 8);
    $mapImgFormat = GetParameter($params, 'MAPIMGFORMAT');
    $selImgFormat = GetParameter($params, 'SELIMGFORMAT');
    $pointBufferSize = GetIntParameter($params, 'POINTBUFFERSIZE');
}