Classes/Helper/DcaHelper.php
public function getPickerLink(\DataContainer $dc)
    {
        if (!$GLOBALS['TL_JAVASCRIPT']['c4g-maps-backend'])
        {
            $GLOBALS['TL_JAVASCRIPT']['c4g-maps-backend'] = 'bundles/con4gismaps/js/c4g-maps-backend.js';
        }
        $input = Input::get('act');
        $strField = 'ctrl_' . $dc->field . (($input == 'editAll') ? '_' . $dc->id : '');
        if (substr($strField,-1,1)=='y') {
            $strFieldX = substr($strField,0,-1).'x';
            $strFieldY = $strField;
        } else {
            $strFieldX = $strField;
            $strFieldY = substr($strField,0,-1).'y';
        }

        return ' <a href="con4gis/api/geopickerService?rt=' . REQUEST_TOKEN .
            '" title="' . $GLOBALS['TL_LANG']['c4g_maps']['geopicker'] .
            '" style="padding-left:3px" onclick="c4g.maps.backend.showGeoPicker(this.href,' .
            $strFieldX . ',' . $strFieldY . ', {title:\'' . $GLOBALS['TL_LANG']['c4g_maps']['geopicker']. '\'});return false">' .
            Image::getHtml('bundles/con4gismaps/js/images/be-icons/geopicker.png',
                $GLOBALS['TL_LANG']['tl_content']['editalias'][0], 'style="vertical-align:top"') . '</a>';

    }
public function getPickerLink(\DataContainer $dc)
    {
        if (!$GLOBALS['TL_JAVASCRIPT']['c4g-maps-backend'])
        {
            $GLOBALS['TL_JAVASCRIPT']['c4g-maps-backend'] = 'bundles/con4gismaps/js/c4g-maps-backend.js';
        }
        $input = Input::get('act');
        $strField = 'ctrl_' . $dc->field . (($input == 'editAll') ? '_' . $dc->id : '');
        if (substr($strField,-1,1)=='y') {
            $strFieldX = substr($strField,0,-1).'x';
            $strFieldY = $strField;
        } else {
            $strFieldX = $strField;
            $strFieldY = substr($strField,0,-1).'y';
        }

        return ' <a href="con4gis/api/geopickerService?rt=' . REQUEST_TOKEN .
            '" title="' . $GLOBALS['TL_LANG']['c4g_maps']['geopicker'] .
            '" style="padding-left:3px" onclick="c4g.maps.backend.showGeoPicker(this.href,' .
            $strFieldX . ',' . $strFieldY . ', {title:\'' . $GLOBALS['TL_LANG']['c4g_maps']['geopicker']. '\'});return false">' .
            Image::getHtml('bundles/con4gismaps/js/images/be-icons/geopicker.png',
                $GLOBALS['TL_LANG']['tl_content']['editalias'][0], 'style="vertical-align:top"') . '</a>';

    }
Gibt einen HTML-String zurück, der den Geopicker enthält.
@param \DataContainer $dc
@return string