Gmap Marker werden nicht angezeigt

am 18.04.2009 - 09:17 Uhr in
Hallo zusammen
Ich habe folgendes Problem mit dem Gmap Modul:
Der User soll neue Beiträge erstellen können. Er wählt dann auf eine Google Map Karte den genauen Standort aus. Die Breiten und Längengrade werden abgespeichert und auch angezeigt. Ich möchte jetzt eine Karte, welche alle Orte mit Markern anzeigt. Das Probelm ist jetz, es werden keine Marker in der Ansicht gezeigt. Wenn ich jetzt aber die einzelnen Beiträge bearbeiten will, steht der Marker immer noch ein der selben Stelle wie ich ihn gesetzt haben. Ich habe die Module noch ein mal deinstalliert und alles, anhand einer Anleitung, neu eingestellt. Funktioniert immer noch nicht!
Hat jemand einen Tipp für mich?
Vielen Dank schon mal im Voraus
- Anmelden oder Registrieren um Kommentare zu schreiben
Selber Titel, anderes Problem...
am 25.06.2009 - 10:20 Uhr
Um keinen zweiten Thread mit dem selben Namen zu erstellen, beschreibe ich hier mal mein Anliegen. Ich habe auf einem Testserver gmap wunderbar zum Laufen gebracht. Die Marker wurden angezeigt und bei "klick" öffneten sich die Bubbles. Nun bin ich mit allem drum und dran auf einen anderen Server umgezogen und nun werden die Marker nicht mehr angezeigt :( die Einstellungen sind identisch zu denen des ersten Testservers und die Nodes und alles sind unbeschädigt! Leider sehe ich nur noch die Karte und weiß nicht warum. Habe mal einen Neuen Punkt/Ort/whatever angelegt, aber dieser wird ebenfalls nicht angezeigt. Weiß jemand Rat?
Vielen Dank schon mal,
Crouchie
Gelöst
am 29.06.2009 - 15:14 Uhr
War wiedermal ein .htaccess Problem - und wegen sowas verbringt man Stunden mit nervernaufreibendem Suchen :p Fragt jetzt aber nicht was das für ein Problem war ;) Hab mir eine funktionierende htacces hier im Forum gesucht und schon gings.
Also bis dem nächst,
Crouchie
gleiches Problem
am 05.10.2009 - 21:36 Uhr
Ich habe das gleiche Problem.
Auf dem Localhost lief alles. Nun habe ich alles hochgeladen, den neuen api-key eingetragen und es sieht so aus, wie bei Dir anfangs beschrieben. Allerdings nutze ich Drupal 5.19.
Kannst Du Deine .htaccess mal hier posten?
sorry, dass ich jetzt erst antworte...
am 14.10.2009 - 13:10 Uhr
#
# Apache/PHP/Drupal settings:
#
# Protect files and directories from prying eyes.
<FilesMatch "\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template)$">
Order allow,deny
</FilesMatch>
# # Don't show directory listings for URLs which map to a directory.
# Options -Indexes
# # Follow symbolic links in this directory.
# Options +FollowSymLinks
# # Customized error messages.
# ErrorDocument 404 /index.php
# # Set the default handler.
# DirectoryIndex index.php
# Override PHP settings. More in sites/default/settings.php
# but the following cannot be changed at runtime.
# PHP 4, Apache 1.
<IfModule mod_php4.c>
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
</IfModule>
# PHP 4, Apache 2.
<IfModule sapi_apache2.c>
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
</IfModule>
# # PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
# php_value magic_quotes_gpc 0
# php_value register_globals 0
# php_value session.auto_start 0
# php_value mbstring.http_input pass
# php_value mbstring.http_output pass
# php_value mbstring.encoding_translation 0
</IfModule>
# Requires mod_expires to be enabled.
<IfModule mod_expires.c>
# Enable expirations.
ExpiresActive On
# Cache all files for 2 weeks after access (A).
ExpiresDefault A1209600
# Do not cache dynamically generated pages.
ExpiresByType text/html A1
</IfModule>
# Various rewrite rules.
<IfModule mod_rewrite.c>
RewriteEngine on
# If your site can be accessed both with and without the 'www.' prefix, you
# can use one of the following settings to redirect users to your preferred
# URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:
#
# To redirect all users to access the site WITH the 'www.' prefix,
# (http://example.com/... will be redirected to http://www.example.com/...)
# adapt and uncomment the following:
# RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
# RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
#
# To redirect all users to access the site WITHOUT the 'www.' prefix,
# (http://www.example.com/... will be redirected to http://example.com/...)
# uncomment and adapt the following:
# RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
# RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]
# Modify the RewriteBase if you are using Drupal in a subdirectory or in a
# VirtualDocumentRoot and the rewrite rules are not working properly.
# For example if your site is at http://example.com/drupal uncomment and
# modify the following line:
# RewriteBase /drupal
#
# If your site is running in a VirtualDocumentRoot at http://example.com/,
# uncomment the following line:
# RewriteBase /
# Rewrite old-style URLs of the form 'node.php?id=x'.
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{QUERY_STRING} ^id=([^&]+)$
#RewriteRule node.php index.php?q=node/view/%1 [L]
# Rewrite old-style URLs of the form 'module.php?mod=x'.
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{QUERY_STRING} ^mod=([^&]+)$
#RewriteRule module.php index.php?q=%1 [L]
# Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>
# $Id: .htaccess,v 1.81.2.4 2008/01/22 09:01:39 drumm Exp $
gmap + location
am 22.10.2009 - 21:41 Uhr
gmap + location
Problem gelöst - .htaccess
am 25.04.2010 - 23:36 Uhr
Hi.
Mein Problem hat sich gerade nach viel Grübelei endlich aufgelöst.
Ich hatte immer vermutet es ginge um die .htaccess-Datei im Rootverzeichnis. Tatsächlich lag der Fehler aber in der .htaccess-Datei im Ordner 'files'.
In diesem Ordner liegt ja der Ordner 'js' und in dem wiederum die Java-Datei für die Marker, 'gmap_markers.js'.
Mit dem Code von Crouchie funktioniert das prächtig.
Nochmal danke für die Posts hier.