CGgooglemaps works fine on cmsms 1.10.3 except for the routing.
When I click "to here" nothing happens and I see an error:
Uncaught ReferenceError: my_location is not defined
in developer tools.
Can anybody help me ?
cggooglemaps Uncaught ReferenceError: my_location is not def
Re: cggooglemaps Direction form doesn't show up
Same problem. The direction form doesn't show up.
Using CMSMS 1.10.3 and CGGooglemaps 2.2.7
I was waiting for this version because 2.2.5 had the same problem.
Using CMSMS 1.10.3 and CGGooglemaps 2.2.7
I was waiting for this version because 2.2.5 had the same problem.
Re: cggooglemaps Uncaught ReferenceError: my_location is not
Is there any clue yet?
Same problem over here...
Same problem over here...
Re: cggooglemaps Uncaught ReferenceError: my_location is not
Did anyone file a bug report in the modules forge page?...
Re: cggooglemaps Uncaught ReferenceError: my_location is not
You're right... Done.Dr.CSS wrote:Did anyone file a bug report in the modules forge page?...
Cheers,
Kees
Re: cggooglemaps Uncaught ReferenceError: my_location is not
I've just downloaded the latest version and ran into this problem with the directions function.
You have two options for fixing this:
1. Under the "Advanced" tab when you edit the map, set the "Supply Geographic location information to the map" option to "Yes" (this enables the browser location tracking and in most instances shows a warning to the user).
2. In the "Javascript Template" tab you have something like this:
The "var my_location;" line (line 8 ) needs to be moved out of the "{if $map->sensor}" block (line 7 will do). Eg:
Hope this helps someone.
You have two options for fixing this:
1. Under the "Advanced" tab when you edit the map, set the "Supply Geographic location information to the map" option to "Yes" (this enables the browser location tracking and in most instances shows a warning to the user).
2. In the "Javascript Template" tab you have something like this:
Code: Select all
{* javascript template *}
{if $mapinstance == 1}
<__script__ type="text/javascript" charset="utf-8" {$map_defertxt}>{literal}//<

Thanks!

- Eric Pesser
- Forum Members
- Posts: 27
- Joined: Mon Oct 13, 2008 8:59 am
Re: cggooglemaps Uncaught ReferenceError: my_location is not
Thanks for this help!