---
title: "Google Maps"
url: "https://www.typo3.net/d/53145-google-maps"
source: "typo3.net"
tags: ["Allgemein","Frage"]
created: "2006-11-10"
last_reply: "2006-12-08"
replies: 20
solved: false
page: 1
pages: 1
lang: "de"
---

# Google Maps

Allgemein · 20 Antworten · gestartet 2006-11-10

## Eröffnungsbeitrag

**Aryan** · 2006-11-10 · [Beitrag #1](https://www.typo3.net/d/53145-google-maps/1)

moin moin,
Ich muss ne seite wie "Google Map" aufbauen,weiß aber nicht ob es so was mit Typo3 machbar ist. dafür brauche ich allerdings ne MapServer.
kann jemand mir BITTE sagen ob es unter Typo3 da für ne Extensions gibt???

Danke euch allen :-)
Aryan

## Antworten

### [#2](https://www.typo3.net/d/53145-google-maps/2) · just2b · 2006-11-10

Hallo,

wenn du was auf Basis von google map machen willst, schau dir mal meine Projektseite an: <http://www.just2b.com/mein-typo3/extensions/rggooglemap.html>

Wenn du was eigenes willst, dann wirds da keine Extension geben

georg

### [#3](https://www.typo3.net/d/53145-google-maps/3) · Aryan · 2006-11-10

Danke Dir, genau so was will ich.

wann ist dein Extensions "rgooglemap" fertig ??

noch ne frage, wo ligen eigentlich die PNG's oder images?? muss man ne MapServer instalieren??

oder der Extensions ruft images von google auf??

ich bekomme nähmlich ne PNG's von der Uni Lüneburg und die muss ich aus Server laden und wie z.B. GoogleMap aufrufen.

habe garde "LumoNet Google Maps" Extensions mir angeschaut,ist eigentlich das was ich suche. :-)

Danke noch mal
übrigens ne cool seite hast Du :-)

### [#4](https://www.typo3.net/d/53145-google-maps/4) · just2b · 2006-11-10

Hallo,

ja lumo ist ähnlich, meine ist glaub ich schon etwas besser ;) wird hoffentlich nächste Woche released

Georg
PS: und danke

### [#5](https://www.typo3.net/d/53145-google-maps/5) · Aryan · 2006-11-13

:o
moin moin Georg,

gibt ne Möglichkeit,das ich meine eigene Karte hochladen kann und wie bei GoogleMap aufrufen kann??

bei Extensions "LumoNet Google Maps" wird praktisch meine seite mit googleMap verbindet, wenn ich das richtig verstanden habe  #paralyzed#

Danke

### [#6](https://www.typo3.net/d/53145-google-maps/6) · just2b · 2006-11-13

wenn du deine eigene karte aufrufen willst, dann befasse dich mit der google map api... da kann man das irgendwie machen bzw erstell eine eigene Extension, das hat dann nichts mehr mit meiner oder der lumomap-Ext zu tun!

georg

### [#7](https://www.typo3.net/d/53145-google-maps/7) · elv1s · 2006-11-14

> **just2b schrieb:**
>
> Hallo,
>
> ja lumo ist ähnlich, meine ist glaub ich schon etwas besser ;) wird hoffentlich nächste Woche released
>
> Georg
> PS: und danke

Super!!!

Klasse..
Gr.
Kasper

### [#8](https://www.typo3.net/d/53145-google-maps/8) · Aryan · 2006-12-04

Danke elv1s,
hatte letzte zeit viel zutun, hab noch nicht probiert.

werde es dann machen

noch mal vielen dank

### [#9](https://www.typo3.net/d/53145-google-maps/9) · arwed3 · 2006-12-07

Hi,
hab leider kein Glück mit just2b's Version. Die Marker werden zwar angezeigt, aber die "Sprechblasen" sind leer.
Mit der Lumo Version klappt's wunderbar.
Woran könnte das liegen?
Gruß Arwed

### [#10](https://www.typo3.net/d/53145-google-maps/10) · just2b · 2006-12-07

> **arwed3 schrieb:**
>
> Hi,
> hab leider kein Glück mit just2b's Version. Die Marker werden zwar angezeigt, aber die "Sprechblasen" sind leer.
> Mit der Lumo Version klappt's wunderbar.
> Woran könnte das liegen?
> Gruß Arwed

kein Inhalt in den records? wie schaut die xml-datei aus? url + type=500 > ist da inhalt?

georg

### [#11](https://www.typo3.net/d/53145-google-maps/11) · arwed3 · 2006-12-08

Hallo Georg,
hier ein Ausschnitt:

<marker cat="1" title="Viabono GmbH" uid="7" lng="7.184736728668213" lat="50.961170359258794" table="tt_address">
<html> </html>
</marker>
....

Der Bereich <html> </html> ist leider immer leer, obwohl die Felder in tt_address ausgefüllt sind.

Gruß
Arwed

### [#12](https://www.typo3.net/d/53145-google-maps/12) · just2b · 2006-12-08

schau aus als ob das template  nicht stimmt...

### [#13](https://www.typo3.net/d/53145-google-maps/13) · arwed3 · 2006-12-08

ich verwende das original template.html
gruß
arwed

### [#14](https://www.typo3.net/d/53145-google-maps/14) · just2b · 2006-12-08

irgendwas im TS eingestellt? ist a bissl komisch ;/

### [#15](https://www.typo3.net/d/53145-google-maps/15) · arwed3 · 2006-12-08

Ohne ext Template bekomme ich:

Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/bluebox-productions.com/httpdocs/typo3conf/ext/rggooglemap/pi1/class.tx_rggooglemap_pi1.php on line 105
Warning: array_shift() [function.array-shift]: The argument should be an array in /home/httpd/vhosts/bluebox-productions.com/httpdocs/typo3conf/ext/rggooglemap/pi1/class.tx_rggooglemap_pi1.php on line 113
Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/bluebox-productions.com/httpdocs/typo3conf/ext/rggooglemap/pi1/class.tx_rggooglemap_pi1.php on line 114
Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/bluebox-productions.com/httpdocs/typo3conf/ext/rggooglemap/pi1/class.tx_rggooglemap_pi1.php on line 105
Warning: array_shift() [function.array-shift]: The argument should be an array in /home/httpd/vhosts/bluebox-productions.com/httpdocs/typo3conf/ext/rggooglemap/pi1/class.tx_rggooglemap_pi1.php on line 113
Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/bluebox-productions.com/httpdocs/typo3conf/ext/rggooglemap/pi1/class.tx_rggooglemap_pi1.php on line 114

Dann habe ich ein extension Template erzeugt und das ins Setup kopiert:
plugin.tx_rggooglemap_pi1 {
  templateFile = fileadmin/templates/main/gmap.html
  pidList = 206
  mapWidth = 640
  mapHeight = 500
  mapLng = 13.537216186523438
  mapLat = 47.585673399138294
  mapZoom = 7
  mapKey =
  mapDiv = map

  mapId = 5

  catShowOnDefault = all
  catHideOnDefault =
  hideLinksWithCat = 0
  noListOnDefault =

  menu {
    orderByCat = title
    orderByList =  name ASC
    description.wrap = <span class="rggooglemap-menu-descr">(|)</span>
    header.wrap = <strong>|</strong>
    itemFields = name, description, title, email, www, phone, mobile, address, company, city, zip, country 'fax, surename
    item {
      name.wrap =

    }
  }

  marker {
    tabCount =
    tab1text = Info
    tab2text = pix
    tab3text = More
    tab4text = plus
    linkfields = email,www

wwwLink = _blank

    description.wrap = |<br />
    description.required = 1

name.wrap = <strong>|</strong>
    city.wrap = |<br />
    city.required = 1
    address.wrap = <span class="rggooglemap-menu-descr">|<span> <br />
    address.required = 1

  }

image = IMAGE
  image {
    file.maxW = 200
    file.maxH = 400
    wrap =
    imageLinkWrap = 0
    imageLinkWrap {
      enable = 1
      bodyTag = <body bgColor="#dddddd">
      wrap = <a href="javascript:close();"> | </a>
      width = 1000m
      height = 800
      JSwindow = 1
      JSwindow.newWindow = 1
      JSwindow.expand = 17,20

}
    stdWrap.spaceAfter=10
  }

  cat {
    defaultImage {
      image = "EXT:rggooglemap/res/mm_20_blue.png";
      shadow = "EXT:rggooglemap/res/mm_20_shadow.png";
      shadowSize = new GSize(22, 20);
      iconSize = new GSize(12, 20);
      iconAnchor = new GPoint(6, 20);
      infoWindowAnchor = new GPoint(5, 1);
      imageMap = [4,0,0,4,0,7,3,11,4,19,7,19,8,11,11,7,11,4,7,0];
      transparent = "EXT:rggooglemap/res/markerTransparent.png";
    }
    cat1 < .defaultImage
    cat1.image = "EXT:rggooglemap/res/mm_20_blue.png";
    cat2 < .defaultImage
    cat2.image = "EXT:rggooglemap/res/mm_20_purple.png";
    cat3 < .defaultImage
    cat3.image = "EXT:rggooglemap/res/mm_20_red.png";
    cat4 < .defaultImage
    cat4.image = "EXT:rggooglemap/res/mm_20_yellow.png";
    cat5 < .defaultImage
    cat5.image = "EXT:rggooglemap/res/mm_20_white.png";
  }

_CSS_DEFAULT_STYLE (
    background:#999999;
  }
    padding:1px 30px;
    font-weight:bold;
  }
    padding:5px 0;
  }
  .tx-rggooglemap-poi {
    float:left;
    width:160px;
  }
  .tx-rggooglemap-poi li {
    list-style:none;
  }

  .tx-rggooglemap-poi h1 {
    text-decoration:underline;
  }
  .tx-rggooglemap-poi a, .tx-rggooglemap-poi a:link, .tx-rggooglemap-poi a:visited, .tx-rggooglemap-poi a:active {
    text-decoration:none;
  }
  .tx-rggooglemap-poi a:hover {
    text-decoration:underline;
  }
)

}

plugin.tx_rggooglemap_pi2 {
  mapId < plugin.tx_rggooglemap_pi1.mapId
  tt_addressOnly = 1
  tableType = tt_address
}

plugin.tx_rggooglemap_pi3 {
  mapId < plugin.tx_rggooglemap_pi1.mapId
}

export_xml >
export_xml = PAGE
export_xml {
  typeNum=500
  config.disableAllHeaderCode = 1
  config.metaCharset = utf-8
  config.additionalHeaders = Content-Type:text/xml;charset=utf-8

10 = CONTENT
  10 {
    table = tt_content
    select {
      pidInList = this
      max = 1
    }

renderObj = COA
    renderObj {
      10 < plugin.tx_rggooglemap_pi1
      10.userFunc = tx_rggooglemap_pi1->xmlFunc
    }
  }
}

worauf er mir die marker und pois anzeigt nur sind wie gesagt die "sprechblasen" leer.

gruß
arwed

### [#16](https://www.typo3.net/d/53145-google-maps/16) · just2b · 2006-12-08

lass das mal weg und binde einfach im ext template bei  include static die extension ein

georg

### [#17](https://www.typo3.net/d/53145-google-maps/17) · arwed3 · 2006-12-08

ok, jetzt sehe ich keine marker mehr: <http://www.bluebox-productions.com/referenzen.html>

und die xml-datei ist auch leer:
<markers></markers>

gruß
arwed

### [#18](https://www.typo3.net/d/53145-google-maps/18) · arwed3 · 2006-12-08

hmm, jetzt habe ich in pi1/static/setup.txt direct pidList=123 eingetragen.
Jetzt klappt's.
SUPER!!!
Vielen Dank für Deine Hilfe.
Hut ab für die tolle Extension.
Gruß
Arwed

### [#19](https://www.typo3.net/d/53145-google-maps/19) · arwed3 · 2006-12-08

Eine kleine Frage noch  :D
Wo kann ich einstellen, dass die Karte beim Start im Hybrid-Mode angezeigt wird?
Gruß
Arwed

### [#20](https://www.typo3.net/d/53145-google-maps/20) · just2b · 2006-12-08

das is noch nicht implementiert

georg

### [#21](https://www.typo3.net/d/53145-google-maps/21) · arwed3 · 2006-12-08

Freue mich schon auf die nächste Version.
Nochmals vielen Dank und ein schönes Wochenende.
Gruß
Arwed

---

Quelle: „Google Maps“, typo3.net, https://www.typo3.net/d/53145-google-maps
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
