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

How can I make a fixed-size map object?

Votes:

0

Hello!

How I can make a fixed-size map object in maps?

For example, I created map icon, when I added a table to them it looks cool, but every time, when I switch to Map Designer there are is opening a "properties" field right on my cool custom map object, and this makes impossible to work and move them across map.

My custom object code:

<!--Status Icons: Name and Status (StatusBased)-->

<div class="map_object map_icon mapicon_status_transparent <#sensor type="colorclassofstate" prefix="map_iconcolor_" id="<@objectid>">" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="<#mapobject type="topleftcoordinates" subid="<@subid>" mode="<@editmode>">">
	<#mapobject type="objectgrip" mode="<@editmode>">
	<#mapobject type="htmlbefore" subid="<@subid>">
	<span>	

<table height=24 width=400>
	<tr>
		<td allign=left><b>
		<#objectproperty name="Name" id="<@objectid>">
		</td>
		<td width=150 allign=right>

			<#objectstatus name="downsens" id="<@objectid>">
			<#objectstatus name="partialdownsens" id="<@objectid>">
			<#objectstatus name="warnsens" id="<@objectid>">
			<#objectstatus name="unusualsens" id="<@objectid>">
			<#objectstatus name="upsens" id="<@objectid>">
			<#objectstatus name="lastvalue" id="<@objectid>"> 

		<td>
	</tr>
<table>

	</span>
	<#mapobject type="htmlafter" subid="<@subid>">
</div>

How can I make a fixed-size map object like this table?

map-objects maps table

Created on Sep 24, 2014 6:40:14 AM

Last change on Sep 24, 2014 8:12:28 AM by  Torsten Lindner [Paessler Support]



Best Answer

Accepted Answer

Votes:

0

Hi Makc,

your second table tag should be a closing table tag!

</table> not <table>

;)

Another hint: the allign property should be align with only one L.

Regards, Daniel

Created on Sep 25, 2014 1:47:41 PM by  Daniel Elsner [Paessler Support]



3 Replies

Votes:

0

ADD:

I mean when i add my object it looks like i want (top of the picture). But when I switch to View Map and back to Map Designer it looks like at the bottom of picture.

My object

Created on Sep 24, 2014 8:27:46 AM



Accepted Answer

Votes:

0

Hi Makc,

your second table tag should be a closing table tag!

</table> not <table>

;)

Another hint: the allign property should be align with only one L.

Regards, Daniel

Created on Sep 25, 2014 1:47:41 PM by  Daniel Elsner [Paessler Support]



Votes:

0

Hello Daniel,

Thank you! It works! =)

Created on Sep 26, 2014 8:38:47 AM




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.