×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Coordinates are Not Shown in Frontend

Coordinates are Not Shown in Frontend 13 years 3 months ago #13271

  • Hartmut Kunst
  • Hartmut Kunst's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 48
  • Thank you received: 0
Hi,

it just has drawn my attention that there are no coordinates visible in the frontend. If I click on a marker, I can zoom, calculate the route and get more Info. If I click on More Info, it is actually the section to place a comment. But nowhere the coordinates are shown.

Did I miss something in the settings or can I modify the code somewhere?

Coordinates would be quite important, at least for my purpose.

Coordinates are Not Shown in Frontend 13 years 3 months ago #13275

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Yes, coordinates are not shown.
You can use a template override for views/hotspot/tmpl/default.php

and output the coordinates -> they are accessible trough the $this->hotspot->gmlat and $this->hotspot->gmlng variables.
  • Page:
  • 1
Time to create page: 0.092 seconds