---
title: "OpenStreetMap und tt_address"
url: "https://www.typo3.net/d/120139-openstreetmap-und-tt-address"
source: "typo3.net"
tags: ["TYPO3","TypoScript","Frage","tt_address"]
created: "2015-04-29"
last_reply: "2016-04-11"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# OpenStreetMap und tt_address

TYPO3 › TypoScript · 1 Antwort · gestartet 2015-04-29

## Eröffnungsbeitrag

**allej** · 2015-04-29 · [Beitrag #1](https://www.typo3.net/d/120139-openstreetmap-und-tt-address/1)

Guten Abend Gemeinde
In meine Testseite habe ich OpenStreetMap (ods_osm) eingebunden. Dies funktioniert soweit auch einwandfrei. Auch werden mir im Bubble die definierten Informationen angezeigt. Die Karte wird auf der Seite (ID56) im Container (ID71) ausgeben. Mein Wunsch wäre es nun, wenn ich im Bubble auf <Details> klicke die jeweilige Adresse auf derselben Seite (ID56) jedoch im Container (ID72) ausgegeben würde.
Das Template funktioniert soweit. Jedoch habe ich keine Ahnung, wie ich im TypoScript den Hyperlink (50.....) definieren kann.

Im Setup habe ich folgenden Code stehen:

```typoscript
plugin.tx_odsosm_pi1 {
  library = {$plugin.tx_odsosm_pi1.library}

  marker {
    pages =
    fe_users =
    fe_groups =
    tt_address = 
    tt_address_group =
    tx_odsosm_track =
  }
  #width = {$plugin.tx_odsosm_pi1.width}
  #height = {$plugin.tx_odsosm_pi1.height}
  width = 100%
  height = 1000
  
  lat =
  lon =
  
  zoom = {$plugin.tx_odsosm_pi1.zoom}
  layer = {$plugin.tx_odsosm_pi1.layer}
  mouse_navigation = {$plugin.tx_odsosm_pi1.mouse_navigation}
  show_pan_zoom = {$plugin.tx_odsosm_pi1.show_pan_zoom}
  show_popups = {$plugin.tx_odsosm_pi1.show_popups}
  show_layerswitcher = {$plugin.tx_odsosm_pi1.show_layerswitcher}
  show_scalebar = {$plugin.tx_odsosm_pi1.show_scalebar}
  no_marker = {$plugin.tx_odsosm_pi1.no_marker}

  _CSS_DEFAULT_STYLE = .olControlAttribution{bottom:0px!important;}
  popup {
    tt_address = COA
    tt_address {
      10 = TEXT
      10.field = name
      10.wrap = <h4>|</h4> 
      20 = TEXT   
      20.field = address
      20.wrap = <p_bubble>|</p_bubble><br>
      30 = TEXT
      30.field = zip
      30.wrap = <p_bubble>|&nbsp;
      35 = TEXT
      35.field = city
      35.wrap = |</p_bubble><br>
      40 = TEXT
      40.field = tx_odsosm_lat
      40.wrap = <p_bubble>|&nbsp;/&nbsp;
      45 = TEXT
      45.field = tx_odsosm_lon
      45.wrap = |</p_bubble><br><br>
      50 = TEXT
      50.value = <p_bubble>Details</p_bubble><br>
      #50. ?Definition Hyperlink?
      #50. ?Ziel?
    }
  }

  external_control = 0
  layerswitcher.div = 0
  layerswitcher.options =
  path_openlayers =
  static_script =
}

  _CSS_DEFAULT_STYLE (
    .osm_search_input div {display:inline; margin: 0 0.8em;}
  )
}
```

Im Einsatz habe ich TYPO3 6.2.12

Kann mir jemand ein Beispiel nennen, wie ich meinem Ziel näher komme? Danke für die Hilfe.

Freundliche Grüsse
allej

## Antworten

### [#2](https://www.typo3.net/d/120139-openstreetmap-und-tt-address/2) · seebold · 2016-04-11

Hallo allej,

ist zwar schon etwas her, aber für das nächste Mal oder als Dokumentation für den Rest der Welt:

```typoscript
popup {
    tt_address = COA
    tt_address {
       [...]
       50.typolink.parameter.field = pid
   }
}
```

Viele Grüße
Martin

---

Quelle: „OpenStreetMap und tt_address“, typo3.net, https://www.typo3.net/d/120139-openstreetmap-und-tt-address
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
