GPSMaps: Change default view to terrain from map

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
graemeevans
Posts: 2
Joined: Tue Dec 08, 2009 8:57 am

GPSMaps: Change default view to terrain from map

Post by graemeevans »

Hello

It would make my map clearer if I could default to terrain view instead of maps view.

Is this possible with the MOD?

I have found the value to be passed to google to be t=p

Reference: http://mapki.com/wiki/Google_Map_Parameters

Thanks in advance to anyone that can help
Graeme
MSBS
Posts: 6
Joined: Mon Jul 09, 2007 4:57 am

Post by MSBS »

edit gpsmap.php file and add this at line 241

Code: Select all

map.setMapType(G_PHYSICAL_MAP);
graemeevans
Posts: 2
Joined: Tue Dec 08, 2009 8:57 am

Post by graemeevans »

Brilliant

works perfect

Thanks!!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests