What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Can Geo Map objects in PRTG Maps show more than 5 items in the legend?

Votes:

0

I use the Maps Editor (Designer) to create a map which contains a Google Geo Map object (Satellite). However, if there are more than 5 locations on the map, the legend only shows 5 items and a More... link.

Can I show more locations in the legend so they're visible without clicking on this link?

geomaps google maps prtg

Created on Jun 8, 2011 12:11:30 PM by  Daniel Zobel [Product Manager]



1 Reply

Accepted Answer

Votes:

0

This article applies to PRTG Network Monitor 8 or later

Tweak the HTML Code

Per default, the "Google Map" Map objects in PRTG only show 5 items in the legend. This is hard-coded. However, with a little 'handmade' tweak you can get PRTG to show 50 items in the legend (as far as we know this is the max. number supported by Google).

Important: The following changes to the Maps system are not officially supported. You should always keep a proper backup of your system!

Steps to Go

Please go through the following steps on the computer where PRTG is installed:

  1. In the PRTG program directory, go to the \webroot\mapobjects sub folder.
    Note: This applies to PRTG 13.2.3 or later. In previous versions, please go to "\website\mapobjects". For more information, please see this article.
  2. Locate the respective "googlemap X.htm" file (for example, googlemap 2.htm for Satellite)
  3. Duplicate this file
  4. Open the duplicated file in a text editor
  5. In the first line, within the HTML comment, change the object name. For example, the first line will then be:<!--Geo Maps: Satellite Extended-->
  6. Still in the text editor, search for "maxlegenditems=" and change its value from 5 to 50
  7. Save the text file

Back in PRTG's Maps Editor, when adding a Geo Map object, you will now see the Satellite Extended item in the list which will show up to 50 items in the legend.

Created on Jun 8, 2011 12:19:39 PM by  Daniel Zobel [Product Manager]

Last change on Aug 19, 2013 8:50:36 AM by  Gerald Schoch [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.