Hello,
I've made some experiments with GoogleMaps module but I haven't managed to focus map coordinates I would like to. I looked the source code in browser window and I noticed that there where commas instead of dots in coordinate. I think that is the reason why I'm not been able to get correct maps with coordinates I'm giving. What's the solution to this problem? I'm not a php guru and I don't know where to find the place where I should insert a code line to change commas to dots. I'm using CMS ver 1.02, GoogleMaps 0.11 on Apache server and default charset is iso-8859-1 (lang=fi_FI).
Yours Matti
//
* Copyright 2005-2006 New Digital Group
* http://www.phpinsider.com/php/code/GoogleMapAPI/
*************************************************/
var points = [];
var markers = [];
var counter = 0;
var sidebar_html = "";
var marker_html = [];
var to_htmls = [];
var from_htmls = [];
var map = null;
function onLoad() {
if (GBrowserIsCompatible()) {
var mapObj = document.getElementById("1");
if (mapObj != "undefined" && mapObj != null) {
map = new GMap2(document.getElementById("1"));
map.setCenter(new GLatLng(60,175, 24,926), 11, G_NORMAL_MAP);
^^^ ^^^
GoogleMaps module error/bug
Re: GoogleMaps module error/bug
wanna file a bug report in forge so I'll remember this one 
its easy fix, just have to find time to do it. There are some other things I want to improve too but havent found time yet
its easy fix, just have to find time to do it. There are some other things I want to improve too but havent found time yet
Re: GoogleMaps module error/bug
Thanks. Bug report [#1084] added to forge 
-
jhoogeweij
Re: GoogleMaps module error/bug
Was this issue already solved? I've been trying several ways to get google maps on my site without any success. Using the google maps module, the location in my source code is still displayed with commas instead of points.
I hope anyone can help me.
Best wishes,
Jeroen
I hope anyone can help me.
Best wishes,
Jeroen
Re: GoogleMaps module error/bug
I haven't released a new version (mostly because I dint have time to do any regression testing)
please try the svn version
please try the svn version
-
jhoogeweij
Re: GoogleMaps module error/bug
glad to hear, maybe Ill cut a release...
-
Hawaii
Re: GoogleMaps module error/bug
I have similar problem with GoogleMaps v0.1.4 and CMSMS v1.0.2 MLE with UTF-8. It works fine with integer coordinates like 48 and 20, but it's not the case with more accurate ones like 48.248283 and 20.625801. No matter I'm using commas or dots the frontend code only contains the first coordinate (48.248283) leaving the second empty.
- johnbmcdonald
- Forum Members

- Posts: 60
- Joined: Mon May 14, 2007 8:01 pm
Re: GoogleMaps
Hi Guys,
Should I be able to copy the GoogleMaps directory into my modules directory and see GoogleMaps show up in my list of modules? That's the idea I had, but it does not seem the case.
CMS Made Simple 1.1rc2 "Samoa"
GoogleMaps 0.1.4
Thanks
John
Should I be able to copy the GoogleMaps directory into my modules directory and see GoogleMaps show up in my list of modules? That's the idea I had, but it does not seem the case.
CMS Made Simple 1.1rc2 "Samoa"
GoogleMaps 0.1.4
Thanks
John
