Hello,
I have a problem. I have two installations of joomla (two different customers), and I don't know since when, the marks doesn't show on their maps.
The maps have the correct size and are also on the correct zoom and show the correct part, but there is no marker and no routing option...
Did the google api change?
Thanks for Your help.
sneakyX
Joomla 2.5 - Markers doesn't show
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Joomla 2.5 - Markers doesn't show
Hi, testing now, see now problem, when you see your html source code, are you able to see the markers information in javascript source code?
https://www.phoca.cz/joomlademo/phoca-maps
Jan
https://www.phoca.cz/joomlademo/phoca-maps
Jan
If you find Phoca extensions useful, please support the project
-
sneakyX
- Phoca Newbie

- Posts: 6
- Joined: 27 Sep 2014, 08:05
Re: Joomla 2.5 - Markers doesn't show
Hi, thanks for Your fast answer.
Here ist the code sniplet:
I can't find anything about the markers...
Here ist the code sniplet:
Code: Select all
google.load("maps", "3", {other_params:"sensor=false&language=de"});
google.load("search", "1", {"language":"de"});
var tstPhocaMap = document.getElementById('phocaMap');
var tstIntPhocaMap;
var mapPhocaMap;
function CancelEventPhocaMap(event) {
var e = event;
if (typeof e.preventDefault == 'function') e.preventDefault();
if (typeof e.stopPropagation == 'function') e.stopPropagation();
if (window.event) {
window.event.cancelBubble = true; /* for IE */
window.event.returnValue = false; /* for IE */
}
}
function CheckPhocaMap() {
if (tstPhocaMap) {
if (tstPhocaMap.offsetWidth != tstPhocaMap.getAttribute("oldValue")) {
tstPhocaMap.setAttribute("oldValue",tstPhocaMap.offsetWidth);
if (tstPhocaMap.getAttribute("refreshMap")==0) {
if (tstPhocaMap.offsetWidth > 0) {
clearInterval(tstIntPhocaMap);
getPhocaMap();
tstPhocaMap.setAttribute("refreshMap", 1);
}
}
}
}
}
function getPhocaMap(){
if (tstPhocaMap.offsetWidth > 0) {
var phocaLatLng = new google.maps.LatLng(51.03621279582444, 8.389434814453125);
var phocaOptions = {
zoom: 12,
center: phocaLatLng,
mapTypeControl: true,
mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
position: google.maps.ControlPosition.TOP },
navigationControl: true,
navigationControlOptions: {style: google.maps.NavigationControlStyle.SMALL},
scaleControl: true,
scrollwheel: 1,
disableDoubleClickZoom: 0,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
mapPhocaMap = new google.maps.Map(document.getElementById('phocaMap'), phocaOptions);
google.maps.event.addDomListener(tstPhocaMap, 'DOMMouseScroll', CancelEventPhocaMap);
google.maps.event.addDomListener(tstPhocaMap, 'mousewheel', CancelEventPhocaMap); }
}
function initialize() {
tstPhocaMap.setAttribute("oldValue",0);
tstPhocaMap.setAttribute("refreshMap",0);
tstIntPhocaMap = setInterval("CheckPhocaMap()",500);
}
google.setOnLoadCallback(initialize);
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Joomla 2.5 - Markers doesn't show
Hi, I don't see any marker there
Is your marker published and has right longitude and latitude 
Jan
Jan
If you find Phoca extensions useful, please support the project
-
sneakyX
- Phoca Newbie

- Posts: 6
- Joined: 27 Sep 2014, 08:05
Re: Joomla 2.5 - Markers doesn't show
Well, it is very strange. Last time I worked on that page, the markers were there (months ago). I'm not sure if it has something to do with the last update of joomla. I'm going to make a new map with new markers, maybe this will help. I'll post my answer soon.
Thanks.
sneakyx
Thanks.
sneakyx
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Joomla 2.5 - Markers doesn't show
Ok 
Jan
Jan
If you find Phoca extensions useful, please support the project
-
sneakyX
- Phoca Newbie

- Posts: 6
- Joined: 27 Sep 2014, 08:05
Re: Joomla 2.5 - Markers doesn't show
Well, I made a new map, made new markers and I updated the joomla core to version 2.5.27.
It still doesn't work.
The map and the markers are published...
Any Ideas?
sneakyx
It still doesn't work.
The map and the markers are published...
Any Ideas?
sneakyx
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Joomla 2.5 - Markers doesn't show
Hi, then only idea is to send me the administration logins so I can take a look at it 
Jan
Jan
If you find Phoca extensions useful, please support the project
-
sneakyX
- Phoca Newbie

- Posts: 6
- Joined: 27 Sep 2014, 08:05
Re: Joomla 2.5 - Markers doesn't show
Well, I try to put the whole page on another server with the same os, if it doesn't work, I'll send you the login. Can You tell me where I should send the login?
sneakyx
sneakyx
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Joomla 2.5 - Markers doesn't show
Hi, yes, I can take a look at it.
Jan
Jan
If you find Phoca extensions useful, please support the project