nv-l
[Top] [All Lists]

Re: Changing size of the bitmaps

To: nv-l@lists.tivoli.com
Subject: Re: Changing size of the bitmaps
From: "Joel A. Gerber" <joel.gerber@USAA.COM>
Date: Tue, 1 Feb 2000 13:00:03 -0600
Our NetView map is customized with only one background GIF.  We have a map
of the US on the IP Internet submap.  It contains about 30 location icons
which are placed on the submap at the location (city/state) where we have an
office.  Whenever the window is resized, those location icons stay EXACTLY
where we placed them.  The icons are automatically resized, and so is the
background GIF.  I do not see any limitations, and it works quite well.  I
think the key is to make sure that Automatic Layout is turned off, and then
the icons will stay in the exact positions that you put them, relative to
the background GIF.  That way you could do a background of a floorplan,
place icons where they are located on the floorplan, and they'll stay there
unless someone moves them on the R/W map.

I think this thread actually started on a different issue of icons being too
large, (and icons being too small is another similar problem).  What James
and Leslie have described about the way NetView sizes icons is the key
point.  If you have a submap with only a few icons on it, then NetView will
automatically draw the icons fairly large, as James described.  As you add
more icons to the submap (network discovery, cut/paste, whatever), the icons
continue to get smaller.  Automatic Layout is a factor here.  If you have it
turned off for the submap you're working with, then NetView will NOT
automatically resize the icons.  So, if the icons are too big, add some
"dummy" location icons to the submap until you like the size of the icons.
Next, turn OFF Automatic Layout for the submap, and delete those dummy
icons.  Don't turn automatic layout back on, though or the icons will be
resized.  The same procedure works to make the icons larger.  In that case,
you need to add real location icons (ones you will keep) to the submap,
cut/paste devices into them to reduce the number of icons on the submap.  If
Automatic Layout is ON, then the icons will get bigger.  If Automatic Layout
is OFF, you will need to turn it back on, or run the Redo Layout function.

Joel Gerber - I/T Networking Professional - USAA Information Technology Co.
- San Antonio, TX
* (210)456-4231         * mailto:Joel.Gerber@USAA.com   "
http://www.usaa.com

        -----Original Message-----
        From:   James Shanks [SMTP:James_Shanks@TIVOLI.COM]
        Sent:   Tuesday, February 01, 2000 09:25
        To:     NV-L@UCSBVM.UCSB.EDU
        Subject:        Re: Changing size of the bitmaps



        You can try anything you want, but NetView, as it stands was
designed to draw a
        logical map based upon the connections of objects in a network.  It
does not
        know or care about their physical location.  That is a human (or
geographical)
        consideration which was not designed into the product.    You might
bet lucky
        with your approach and get it to work in the case that you want, but
that would
        not mean that you can get it to work in all cases.  The position of
things on
        the background is only approximate.   There is nothing in the
topology database
        to tie an icon to  background map -- if there were then you could
not add or
        remove backgrounds at will.  I suggest that you simple open the
read-write map
        and add a background to an existing submap, resize the window, and
see what I am
        talking about.   Those are the limitations you will have to work
with.

        James Shanks
        Tivoli (NetView for UNIX) L3 Support



        Bob Stamm <Robert_Stamm@RES.RAYTHEON.COM> on 02/01/2000 10:06:31 AM

        Please respond to Discussion of IBM NetView and POLYCENTER Manager
on NetView
              <NV-L@UCSBVM.UCSB.EDU>

        To:   NV-L@UCSBVM.UCSB.EDU
        cc:    (bcc: James Shanks/Tivoli Systems)
        Subject:  Re: Changing size of the bitmaps




        This behaviour makes it difficult to use a floorplan as a
background.
        Imagine the situation where one might
        create a diagram of a floorplan and try to locate icons at the
appropriate
        locations according to their organization.

        If the floorplan doesn't scale along with the icons the effort would
be
        futile.

        Can you do such a thing but perhaps force the display of a submap to
have a
        minimum/maximum size so the window
        can't be rescaled?

        I have written an app that builds a submap placing icons at
pre-determined
        coordinates based on a file that
        includes information such as icon type (class), x & y coordinates,
label,
        hostname, etc.  It works well but based on what
        you've said it would be impossible to overlay that onto a background
that's
        meaningful.





        James Shanks <James_Shanks@TIVOLI.COM> on 02/01/2000 08:39:51 AM

        Please respond to Discussion of IBM NetView and POLYCENTER Manager
on
              NetView <NV-L@UCSBVM.UCSB.EDU>

        To:   NV-L@UCSBVM.UCSB.EDU
        cc:    (bcc: Robert Stamm/RES/Raytheon/US)
        Subject:  Re: Changing size of the bitmaps






        Right, but what you cannot do is tell NetView to use a smaller icon
bitmap
        so
        that things will look better against your backrgound gif.  There is
no
        mechanism
        to size the two in unison.    NetView determines how big your icon
should
        be by
        how many you have on the map, and selects the largest bit map he can
from
        those
        available in the bitmaps directory, whether you have  a background
gif or
        not.
        The background is sized independently by how big the map window is
and will
        be
        that size no matter how many icons you have on the screen.  The
background
        gif
        is just window filler, in effect.

        James Shanks
        Tivoli (NetView for UNIX) L3 Support



        Bob Stamm <Robert_Stamm@RES.RAYTHEON.COM> on 02/01/2000 08:31:27 AM

        Please respond to Discussion of IBM NetView and POLYCENTER Manager
on
        NetView
              <NV-L@UCSBVM.UCSB.EDU>

        To:   NV-L@UCSBVM.UCSB.EDU
        cc:    (bcc: James Shanks/Tivoli Systems)
        Subject:  Re: Changing size of the bitmaps




        If you look at the directory /usr/OV/bitmaps/C you'll see
collections of
        files like modem.32.p and modem.32.m.  They'll be about
        five modem files ... think of the p and m as plus and minus, one
file is
        the size 32 positive (white) overlay of a icon bitmap  and the .m
        files is the minus (black) overlay of the same bitmap.  Use the
bitmap
        editor in X to look at these files.

        You need to create a set of different bitmaps that will be used when
the
        symbol is resized.  Then when you resize your submap
        the appropriate icon size will be used.





        erika ocaqa <eocana@YAHOO.COM> on 01/31/2000 10:18:01 PM

        Please respond to Discussion of IBM NetView and POLYCENTER Manager
on
              NetView <NV-L@UCSBVM.UCSB.EDU>

        To:   NV-L@UCSBVM.UCSB.EDU
        cc:    (bcc: Robert Stamm/RES/Raytheon/US)
        Subject:  Changing size of the bitmaps





        Hi all.

        Does someone know how can i change the size of the bitmaps?, my
problem is
        that i have a background that is the map of the locations in the
        enterprise,  but when we put the map, the symbols are bigger than
the
        locations of the map. Thanks in advanced.

        Best Regards

        Erika


        ---------------------------------
        Do You Yahoo!?
        Talk to your friends online with Yahoo! Messenger.


         << File: Internet HTML >>


<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web