Zum Inhalt springen

Google Maps

Erstellt am 10. November 2006 · 20 Antworten · letzte Antwort am 8. Dezember 2006 · Seite 1 von 2

Tags: Frage

Aryan ·

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

Aryan ·

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 :-)

just2b ·

Hallo,

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

Georg
PS: und danke

Aryan ·

: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

just2b ·

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

elv1s ·
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

Aryan ·

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

werde es dann machen

noch mal vielen dank

arwed3 ·

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

just2b ·
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

arwed3 ·

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

arwed3 ·

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

arwed3 ·

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

arwed3 ·

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