Friday, 30 September 2016
  4 Replies
  1.5K Visits
0
Votes
Undo
I have a page that lists my Locations with a map at the bottom. When I mouse over a pin on the map it displays the name of the location.

When I click on the pin, google maps is launched and displays the latitude and longitude in the google maps search box. Is it possible for google maps to show the name of the location instead?

You can see the map at:

https://gayinla.com/calendar/map/locations
Sunday, 02 October 2016 11:02
·
#176351
Accepted Answer
1
Votes
Undo
I think I found the cause of this (which has been irritating me for a long time too!) - can you try editing the file administrator/components/com_jevlocations/view.html.php and change line 689 from
$mainframe->redirect($googlemapsurl . "/maps?f=q&ie=UTF8&t=$maptype&om=1&q=" . $subtitle . "@" . $lat . "," . $long . "&ll=" . $lat . "," . $long . "&z=" . $zoom . "&iwloc=addr");

to
$mainframe->redirect($googlemapsurl . "/maps?f=q&ie=UTF8&t=$maptype&om=1&q=" . $subtitle . "&@" . $lat . "," . $long . "&ll=" . $lat . "," . $long . "&z=" . $zoom . "&iwloc=addr");


Does this help?

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

Sunday, 02 October 2016 11:02
·
#176351
Accepted Answer
1
Votes
Undo
I think I found the cause of this (which has been irritating me for a long time too!) - can you try editing the file administrator/components/com_jevlocations/view.html.php and change line 689 from
$mainframe->redirect($googlemapsurl . "/maps?f=q&ie=UTF8&t=$maptype&om=1&q=" . $subtitle . "@" . $lat . "," . $long . "&ll=" . $lat . "," . $long . "&z=" . $zoom . "&iwloc=addr");

to
$mainframe->redirect($googlemapsurl . "/maps?f=q&ie=UTF8&t=$maptype&om=1&q=" . $subtitle . "&@" . $lat . "," . $long . "&ll=" . $lat . "," . $long . "&z=" . $zoom . "&iwloc=addr");


Does this help?

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

Thursday, 06 October 2016 01:21
·
#176563
0
Votes
Undo
Could you confirm the name and path of the file to change again? I cannot find that file.
Thursday, 06 October 2016 01:51
·
#176565
0
Votes
Undo
I found it and that works. Thank you!
Thursday, 06 October 2016 09:10
·
#176598
1
Votes
Undo
Thanks for letting us know - the change will be included in the next release

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.