Legend in manual mode - Background color

Hi all,
To create legend in manual mode I am using following request URL for a style image.
http://127.0.0.1:8988/mapviewer/omserver?sty=L.ROAD&w=20&h=20&ds=cescdatasource
Here if the color of style is white (For example white color line style) then it won't be visible. Can I set background color?. I need different background color instead of white.
Thanks,
Sujnan

Either set the background color for the MapDecoration or for the table in which you display the legend or both.
e.g. (modification of tutorial 36 Map Legend)
// get the container DIV and set the background color to light blue
var legendDiv = legend.getContainerDiv();
legendDiv.style.backgroundColor = "AliceBlue"; //color name may not work in all browsers
function buildLegend(baseURL)
var html = "<table *bgcolor='gray'* border=0> <tr><td><img src="+baseURL+"/omserver?sty=L.PH&w=45&h=20&ds=mvdemo></td><td> Highways </td></tr>" +
" <tr><td><img src="+baseURL+"/omserver?sty=M.CITY+HALL+3&w=20&h=20&ds=mvdemo></td><td> Cities </td></tr>" +
"</table>";
return html;
}

Similar Messages

  • HT2506 Change Full Screen Mode Background Color in Preview

    Is it possible to change the background color in full screen mode from black to white?

    It is not set up to make this change in Full Screen Mode.
    However you can change the background of the open file by Preview>Preferences>General>Background Color

  • Sx20is--only blue registers in manual mode. Color okay in auto

    In manual mode the only color in the image is blue. In auto mode the color is fine.

    Check the white balance setting. You are probably set in the tungsten mode, so try a different setting to see if things change. The easiest thing would be to set the camera to Auto White Balance and take a few photos. Use the setting that is the closest to the actual conditions that you are shooting in.
    To find the white balance, press the func/set button and scroll through the menus until you are at White Balance.
    Steve M.

  • Background color does not show in a design mode preview

    Hi,
    I installed Macromedia studio 8 a couple of days ago, and
    started using Dreamweaver 8 with a "Missing Manual" book. I'm on
    first chapter and following tutorial. It says to change a
    background color to blue, and I did that. But this change was not
    reflected in a design mode preview. I checked the code and it's
    there. I viewed in an IE6, and it was there. My coworker installed
    an evaluation version on his pc and it worked fine. I guess it's my
    pc that has problem. I had IE7 and VS2005 on the pc when I
    installed Macromedia 8. Due to help crash, I uninstalled IE7. It
    did not solve the problem, so I uninstalled VS2005 and related
    programs, and it did not solve the problem. I uninstalled and
    reinstalled Dreamweaver 8 a couple of times, and it did not help.
    Does anyone out there who have similar experiences, please share it
    with me? I post this here before redo my pc. Thanks.

    <shrug>
    Without seeing code, it would be impossible to guess....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "jaivora" <[email protected]> wrote in
    message
    news:[email protected]...
    > This is way too much - I too am reading the same book
    and am stuck at the
    > same
    > place - Not only does the background not appear in
    dreamweaver, but nor do
    > the
    > new colors set for the active links, rollover links, etc
    - After setting
    > in the
    > new colors, the "Page Property" section will not reflect
    the new colors -
    > While
    > all the time Safari will show the page correctly.
    >
    >
    >
    quote:
    Originally posted by:
    Newsgroup User
    > Do you also have the same exact code? That's where the
    answer always
    > lies....
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "LaValliere" <[email protected]> wrote
    in message
    > news:[email protected]...
    > >I am having the same exact problem as the other
    person, except I can not
    > >find
    > > the manual uninstall that seemed to fix their
    problem. The funny thing
    > > is
    > > I am
    > > reading the exact same book as they were and the
    problem happen at the
    > > same
    > > point in the very first chapter. The background was
    working fine
    > > before.
    > > Thinking back I realised the book said to go to the
    website for any
    > > updates,
    > > which I did. After that . . . . no background color
    is visible. I have
    > > also
    > > attempted to uninstall and reinstall. No luck. Can
    you help?
    > >
    >
    >
    >
    >
    >
    >

  • Is there any way to get the black background color back in fullscreen mode?

    The current background color in fullscreen mode is grey and it's distracting.  It used to be black.  Is there a way to change the color outside of the document boundaries?

    AndyboyMac wrote:
    The only way you can get themes for your ipod is by a jailbrake, jailbraking is illegal, and yes,, you can downgrade your iOS.
    Jailbreaking is actually not illegal due to exemptions in the DMCA documentation (http://en.wikipedia.org/wiki/IOS_jailbreaking#cite_note-22).
    I've got no explanation on to why the trusty interface for the old iPod style app was butchered, unfortunately (I think we're all at a loss, besides someone being given too much free reign). I came here to supplement the original question with, another alternative question:
    Is there a way, similar to downgrading 3rd party apps, downgrade the Music app or restore the old iPod app as an additonal app? Without jailbreaking?
    < Edited By Host >

  • How to change background color in preview mode?

    After entering by chance presentation mode and had to quit indesign for exit (esc key doesn't work on my iMac), I found that the background color in preview mode is now black instead of grey.
    There is any way to change it?

    In Edit- preferences go to Guides and Pasteboard and choose preview color

  • Axis Legend Background Color Change?

    Is it possible to change the background color for the axis legend text? Numbers displays the chart (in this case a line chart) on the spreadsheet with the x and y legend values on a transparent background. The transparency makes the values very difficult to see, and I'm hoping there's some way to change the background or fill of the legend area to plain old white. Or even better, just change the background of the entire chart to white. Darned if I can figure out how to do such a simple thing, though.
    TIA,
    Scot

    My workaround:
    insert a rectangular rectangle whose stroke and background are white and put it behind the chart
    Yvan KOENIG (from FRANCE dimanche 12 octobre 2008 18:21:00)

  • Crop tool shows background color unless I switch to "Classic" mode

    I'm not sold on the "latest" Photoshop being the best. I've seen more bugs now that I've subscribed to the "CC" version than ever before. Here's my latest issue..
    When I activate the crop tool (I realize it's been rewritten.. not sure why), I see my current background color in place of what is visible in my current  workspace. Ultimately, completing the crop command, it crops as expected, and the background color vanishes. What benefit is this? It adds confusion and makes me a bit confused as to what the final crop result will be. Why was this changed? Why am I seeing my current background color? It makes no sense. I've been using Photoshop for nearly 20 years and this is just dumb. Can anyone explain?
    Thanks!
    - Sean

    Yeah, that was pretty vague. I was in a creative mode and was rudely interrupted by this weird change, so I wasn't focused on a clear post. The lack of direct email support to Adobe frustrated me also. Alas..
    Bascially, I have a layer with some image data, and transparent regions:
    I select the crop tool, and select a region just inside the outside edge, containing the portion of the image I care about:
    The background switched from being transparent to my current background color selection. I had this green chosen for some completely unrelated task. I can't find anywhere that this can be disabled. The settings I have are what I believe to be the defaults:
    And, when I change the crop settings to "Use Classic Mode", the behavior is the more sensible (in my opinion) current background:
    I hope that clears up the confusion. I can't imagine any use case where replacing the current visible background with the current background color makes sense. If it's a feature, I can't find any documentation, official or otherwise, that explains why this is happening.
    Yes, I like the latest versions of software, but since I made the jump from CS4 to CC, I've hit more bugs than ever before. I've had to kill Photoshop a couple times in the past two months, whereas before, it never froze up or crashed on me. This feels like a bug, but if it's a feature, I'd love to know how to use the new crop tool's background settings properly.
    Cheers!
    - Sean

  • Change background color during text edit mode

    THis is a wacky problem...
    I have a presentation template. The slide master has white copy in the title and black copy in the body/bulleted list.
    When I try to use the template and edit the title copy, the background color for editing that line is white, just like the text, so I can't see what I'm typing. I can't figure out how to change the background color during text edit mode so that I can actually see what I'm typing. Is there a way to make this transparent?
    For some reason, the body copy edit works fine: black text edited in either a white or transparent background color.
    help!

    THis is a wacky problem...
    I have a presentation template. The slide master has white copy in the title and black copy in the body/bulleted list.
    When I try to use the template and edit the title copy, the background color for editing that line is white, just like the text, so I can't see what I'm typing. I can't figure out how to change the background color during text edit mode so that I can actually see what I'm typing. Is there a way to make this transparent?
    For some reason, the body copy edit works fine: black text edited in either a white or transparent background color.
    help!

  • How can i change my background color in "albums" mode back to black in iTunes 11

    how can i change my background color in albums mode back to black in iTunes 11?

    Themes work in Thunderbird - duggabe was not refering to Firefox.
    Another useful addon is theme and font changer:
    * https://addons.mozilla.org/fr/thunderbird/addon/theme-font-size-changer/
    However, Thunderbird allows you to modify all sorts of things.
    Make hidden files and folders visible:
    * http://kb.mozillazine.org/Show_hidden_files_and_folders
    Help > Troubleshooting Information
    Click on 'show Folder' button
    a window opens shwoing profile folder name
    Close Thunderbird now - this is important
    In the profile name folder, Create a new folder called '''chrome''' - note the spelling
    It should be in the same place as the 'Mail' folder.
    see first image below.
    Open Notepad
    Can be located : Start > Programs > accessories
    Copy everything shown between the lines below.
    Paste into Notepad.
    Save as '''userChrome.css''' - note the spelling (edit updated - this was a typo error)
    This should be saved in the '''chrome''' folder.
    see second image below.
    Restart Thunderbird.
    I have chosen a yellow for you
    <pre>
    #f6f58c = a yellow....it is a hex code for a colour.
    </pre>
    You can change it if required. Remember when updating anything in the profile folders, you must close Thunderbird first.
    More info on colours.
    * http://www.yourhtmlsource.com/stylesheets/namedcolours.html
    <pre>
    * Do not remove the @namespace line -- it's required for correct functioning
    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    /*Background colour for message list*/
    #threadTree > treechildren::-moz-tree-row {
    background-color: #f6f58c !important;
    </pre>
    -------------------------------------------

  • Change background color in enter-query mode

    Hi everyone,
    I am trying to Change background color in enter-query mode in forms10g. I am using this
    Set_Item_property('org.branch_code', BACKGROUND_COLOR, 'Green' );
    Thanks

    This is the code that allows to colorise items in enter_query mode, then de-colorize them after execute_query.
    Assume that you have created a VA_QUERY visual atribute in your module.
    -- Colorise in enter-query mode --
    PROCEDURE Start_query IS
      LC$Block      Varchar2(30) := Name_in('system.trigger_block') ;
      LC$item       varchar2(60);
      LC$itemdeb    varchar2(60);
      LN$len        pls_integer ;
    BEGIN
      lc$itemdeb := get_block_property(LC$BLOCK, FIRST_ITEM) ;
      lc$item := LC$BLOCK || '.' || lc$itemdeb ;
      while lc$itemdeb is not null Loop
        IF GET_ITEM_PROPERTY(LC$Item , ITEM_TYPE) NOT IN ('BUTTON','RADIO GROUP','DISPLAY ITEM') Then
          IF GET_ITEM_PROPERTY(LC$Item , QUERYABLE ) = 'TRUE' Then
            set_item_property(LC$item, CURRENT_RECORD_ATTRIBUTE, 'VA_QUERY');
          End if ;
        End if ;
        lc$itemdeb := get_item_property( lc$item, NEXT_NAVIGATION_ITEM );
        lc$item := LC$BLOCK || '.' || lc$itemdeb ;
      end loop ;
    END;
    -- Unclororize after execute_query --
    PROCEDURE End_query IS
      LC$Block     Varchar2(30) := Name_in('system.trigger_block') ;
      LC$item     varchar2(60);
      LC$itemdeb     varchar2(60);
      LN$len          pls_integer ;
      LN$Multi  pls_integer ;
    BEGIN
      lc$itemdeb := get_block_property(LC$BLOCK, FIRST_ITEM) ;
      lc$item := LC$BLOCK || '.' || lc$itemdeb ;
      LN$Multi := GET_BLOCK_PROPERTY(LC$Block , RECORDS_DISPLAYED ) ;
      while lc$itemdeb is not null Loop
        IF GET_ITEM_PROPERTY(LC$Item , ITEM_TYPE) NOT IN ('BUTTON','RADIO GROUP','DISPLAY ITEM') Then
          IF GET_ITEM_PROPERTY(LC$Item , QUERYABLE ) = 'TRUE' Then
             If LN$Multi > 1 Then
                set_item_property(LC$item, CURRENT_RECORD_ATTRIBUTE, 'VA_CURRENT_RECORD');
             Else
                set_item_property(LC$item, CURRENT_RECORD_ATTRIBUTE, '');
             End if ;
          End if ;
        End if ;
        lc$itemdeb := get_item_property( lc$item, NEXT_NAVIGATION_ITEM );
        lc$item := LC$BLOCK || '.' || lc$itemdeb ;
      end loop ;
    END;Francois

  • Changing background color in Edit mode?

    Is there any way to change the background color in Edit mode. My background is white, very annoying.
    Also full screen mode is Black. Also annoying, wish it was dark grey.
    Thanks,
    Ed

    no
    suggest to Apple - iPhoto menu ==> provide iPhoto feedback

  • Background color in Pages 5.5.2. full screen mode

    I updated to Yosemite, and my Pages updated to 5.5.2. It used to be that when I went into full screen mode in Pages, the background color was black. Now when I enter full screen mode, the background color is pale. Is there a way to change it back to black?

    There is no control over background color with Pages v5.5.2 in full-screen, or normal mode. If you had Pages '09 installed before the installation of Pages v5, then it was silently moved to /Applications/iWork '09. You could use the older Pages and have your black background.

  • Background color in Full screen mode

    Can you change the color of the background around the project when publishing in full screen mode? I can only get it to view in white.

    Hi there,
    .exe cannot have an HTML background, so changing HTML background will not reflect in .exe output. There is no feature that we can change the background color for .exe output.
    Thanks.

  • Item Background Color changes when placed in production (Forms 10g)

    Hello All,
    I have searched the forum on this topic, but have not been successful in finding a topic/solution for multi-line items that need to render a different color than the rest.
    I have used set_item_instance_property (and set_item_property) as well as using a VA to resolve this issue to no avail.
    When I view the form in the browser - initially in query-mode, I see the color that I have set for the item. Once the query is fetched and I am in non-query mode (display), the items background color is replaced to the standard color (off yellow) for non-editable fields.
    I have taken all of the subclasses off, used the item property from the pallette as well as manually programmed within a trigger and cannot get this item to stay the color that I have set.
    Can anyone help me get this working?

    Are you using the 0 to 100 rgb color assignments you see in the Forms Builder color palette? If so, that is your problem. At run time, you have to convert the color numbers to 0 to 255 numbers. Just multiply each of the three parts by 2.55
    Or maybe there is come code running elsewhere in your form that is setting the color after your code is run.
    Search your form for background_color.

Maybe you are looking for

  • System failed memory test

    I am really new to Solaris so please forgive me if I sound really dumb. I was able to install Solaris 10, turned off my computer and now all I recieve is System failed memory test. Please help have tried different memory sticks and still recieve the

  • Working with an MLS Entity

    Hi, While I try to insert into an MLS entity created in the Fusion Development Environment I am getting the following error: (oracle.jbo.RowCreateException) JBO-25017: Error while creating a new entity row for PERJOBSEO. ----- Level 1: Detail 0 -----

  • Trigger of Import Declaration (Work List) for SO based inbound flows in ECC

    Hello Experts, I am running a feasability study for GTS Customs managment Import. My client is using SO based flows for the return flows (SO-Delivery-Mtrl Document). In order to use local clearance (to avoid VAT and Customs Fee) we need to set this f

  • IPhone 4 screen replacement. No warranty.

    If I go to an apple shop, like apple specialist can they replace my screen, and how much would it cost? I have an iPhone 4.

  • Difference between ejb 3.0 and hibernate

    Hi, I'm new at ejb 3.0 and I've read a little about Hibernate too, but there's one thing I don't understand. Could you tell me what's the difference between using ejb 3.0 and Hibernate, both of them are for persistence, and What about toplink?