How to display all layers at the same time?

Hi,
I have created several theme based FOIs with a checkbox to set visible them. Each theme has some data and when you click in the theme region it displays this data in an information box. But when I set visible more than one theme, can only display the information box of the last one theme that I set visible (the others are not clickable because they are under the last no?). Is there anyway to make all of them clickable at the same time?
For each theme that I create I call this function:
     function addThemeBasedFOI(value, i) {
          /* Add JDBC SQL Query theme based FOI */
          baseQuery = "SELECT value,annotation as label FROM " + value;
          var theme = "<themes><theme name='JDBC_THEME'>"
                    + "<jdbc_query asis='true' spatial_column='value' jdbc_srid='4326' label_column='label' " +
     "render_style='colorScheme' datasource='DSTest'>"
                    + baseQuery + "</jdbc_query></theme></themes>";
          buffertheme = new MVThemeBasedFOI('bufferthemeL_' + i, theme);
          buffertheme.addStyle(sc1);          
          buffertheme.enableLabels(true);
          buffertheme.setBringToTopOnMouseOver(true);
          buffertheme.setVisible(false);
          buffertheme.setClickable(true);
          buffertheme.enableInfoWindow(true);
          buffertheme.setAutoRefresh(true);
          buffertheme.attachEventListener(MVEvent.MOUSE_CLICK, showInfoPanel);          
          mapview.addThemeBasedFOI(buffertheme);
     function showInfoPanel (loc, foi){
          var width = 250;
          var height = 150;
          var html = "<p style='color:blue'>Name:<br><font color='black'>" + foi.name + "</font></p><br><p style='color:blue'>Localization:<br><font color='black'> X:" + loc.getPointX() + "<br> Y:" + loc.getPointY() + "</font></p>";
          mapview.displayInfoWindow(loc, html, width, height, "MVInfoWindowStyle4");
/* Function to set visible a layer */
function setVisible(item) {
          var themebasedfoi = mapview.getThemeBasedFOI(item.value);
          themebasedfoi.setVisible(!themebasedfoi.isVisible());
          if(themebasedfoi.isVisible()) {
               themebasedfoi.centerToTheme();
               themebasedfoi.zoomToTheme();
Thanks in advance,
Esteban.

Hi Esteban,
pls refer to these threads - they may help you with that issue:
Re: MVThemeBasedFOI Index
MapViewer and WMS layers
Dominik

Similar Messages

  • How to display multiple reports at the same time

    Hi,
    I'm trying to display multiple reports at the same time, each one in separates tabs or windows using Forms 11g 11.1.1.6
    I have a button which has a call to a procedure which makes use of rp2rro library to show the specific reports, for example:
    call_report('report1');
    call_report('report2');
    call_report('report3');
    call_report('report4');
    The main problem is that, just the last report is been displayed.
    Is there some way to display report1, report2 etc in separate tabs or windows ??
    Regards
    Carlos

    You shouldn't have a problem calling different reports at once. As long as you're using Forms 11g they show up in different windows.
    The question is how you are calling the report.
    Here is how I manipulate it.
    After I pass parameters with the ADD_PARAMETER built-in I set some key values (destype, desformat, desname) with the RP2RRO's procedures.
    Finally calling RP2RRO.RP2RRO_RUN_PRODUCT and then WEB.SHOW_DOCUMENT passing the correct procedure parameters the report comes up in a window. If you repeat the above changing the appropriate variables (the report_name in the RP2RRO_RUN_PRODUCT and so on) you can get multiple reports in different windows.

  • How do I apply the blur filter to all my layers at the same time?

    Hi I'm working on a background for a web page and I want to try how different filters are going to affect all the layers. Is it possible to apply a filter to all the layers without flattening the file first? Thanks very much,
    Cathy

    Thanks very much , that's really helpful,Cathy
    Date: Thu, 23 Dec 2010 11:18:21 -0700
    From: [email protected]
    To: [email protected]
    Subject: How do I apply the blur filter to all my layers at the same time?
    Hello!
    There is no need to flatten the file, but you can create a layer that merges all the content of the image, and apply the filter on that layer.
    Target the topmost layer, by holding the Option and . (period) keys, then create a merged copy by holding down Command Shift Option E.
    >

  • My Ipad 2 external speakers does not work and headphones has popping sound. This all occured at the same time as my Iphone and Ipod headphones only played mono (no, the "mono" option is not on). How can there be audio issue for all these devices?

    My IPad 2 external speaker does not work and the original headphones have popping sound when used. This all occurred at the same time as my IPhone and IPod headphones only plays mono (and no, the "mono" option is not on) with the original headphones, as well as, other headphones tested.  How can there be audio issue for all these devices at the same time?
    As you may have noted from the list of Apple devices I own, I believed in the Apple and the products it was producing; but it is hard to believe from my experience and the other voices within the Apple Community that we are all experiencing the same hardware issues. Especially since I recently, I upgraded to an IPhone 4g (no, my faith in IPhone 5 series is very little) and is experiencing the same audio problem as described above. So now, I am off to the Apple store again to be told that it’s a hardware problem on new IPhone. Really? Apple, what happen to the pride in the product you were producing?

    Everyone does things a little differently. I love to "jam " along with iTunes ( or old Lp's) . Always have. That's where/how I've learned to play .
    I'm sure leonieDF is giving a proper way to jam along on a keyboard with an iTune. He blows my mind all the time with what he knows. Nuff respects to him !
    What I do is make a GB project I call "Jam With". I'll make several new tracks that are blank. Just has a few instruments named in the blank tracks. You can change those per song ...
    Because I'm not concerned about changing the pitch / key.... of the iTune or the tempo ... I can simply play along with it.
    Peace,
    P. Dreadie

  • On I-Mac, how can I close all tabs at the same time?

    On I-Mac, how can I close all tabs at the same time?
    I use Mozilla Firefox for internet.

    Not an Apple product, have you visited:
    https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-qu ickly

  • How to backup all macs to the same airport time capsule?

    How to backup all macs to the same airport time capsule?

    They must all have access to the Wi-Fi network. Each computer should configure the Time Machine preferences and select the Time Capsule as the backup drive.

  • How to change drill filter values of all reports at the same time

    Hi,
    The Webintelligence users in our environment usuallly use drill filters in their document's reports. We'd like to find a way to change the drill filters' values of all reports when one value is selected. I mean, we need a work around to change the drill filters of all reports at the same time.
    We are using Business Objects XI 3.1 (a lot of webintelligence documents available, over than 2500).
    Does someone know a way to do that? I've already looked for that a lot, but I couldn't find anything.
    Thanks in advance,
    Gustavo Borges

    Hello Gustavo,
    as you refer to a Webi problem I recommend to post this query to the [BusinessObjects Web Intelligence|SAP BusinessObjects Web Intelligence; forum.
    This forum is dedicated to topics related to the creation and design of Web Intelligence documents using the Web Intelligence Report Panels. This includes areas such as universe connectivity, prompts, charting, formatting, filters, and formulas.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all Webi queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • How to see several windows at the same time?

    I know this is too basic.
    I have 1 window open.
    The tab shows 3 separate items each of which I can click on and see.
    But I don't want to see each window 1 at a time.
    I want to see all 3 items at one time.
    I know how to tile once I see all 3 windows.
    But how do I get to see all 3 at the same time?

    Peter Spier wrote:
    Tabs display one doc at a time. Any viewing method the shows multiple docs uses un-tabbed windows. That button I showed you above is one easy way to change from the tabs to a convenient arrangement of windows.
    So if you have multiple tabs, you can use the views button to arrange them so they are all visible at the same time.
    The Arrange Windows widget in the tool bar is sometimes confusing.
    Selecting any open window makes that the topmost active window; if it's near maximum size, you can't see the others, so this is also confusing.
    How about Window > Arrange > Float All in Windows to separate multiple tabbed open files, followed by Window > Arrange > Tile (or Cascade)?
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Free Transform multiple layers at the same time (only selected part)

    Hi,
    i have two layers - one contains color and second one contains outline. I want to select a part of the image and free transform both the layers at the same time. (so when i for example move or rotate the selected part of my example, both the color and outline moves at the same time). Layers must stay separated, process must be sort of quick, i would love to use this all the time when drawing etc.
    - Only way i managed to make this somewhat happen was to select the desired part of the image -> save the selection -> new layer via copy (on first layer) -> reselect the saved selection -> new layer via copy (on the second layer) -> select both of the new layers -> free transform. Warp doesnt work but other transforms do. But still this process is too slow and distracting even when having all the required commands hotkeyed. Is there a faster way?
    Any tips are welcome!

    @Trevor.Dennis
    i did understand, but as i said ctrl clicking the new layer only selects visible pixels in it, and my layers dont cover the whole canvas, especially not the outline layer, so ctrl click will only select that noodle of pixels and thats not usable in the other layer. (doing selection in the other layer first isnt a solution)
    Better description of what exactly im after:
    im manually drawing characters and i keep the their black "ink" lines/outlines on separate layer from the color layer. From time to time i want to transform small part of the character, lets say warp or rotate just its leg to fix or iterate, but i want to transform both the outline and color layer at the same time with that rotation so i see realtime how it looks. I would use this all the time if it was doable quickly. Transforms and puppetwarp are so powerful when drawing that as last resort i will have to switch to drawing everything on single layer.

  • Display several bookmarks at the same time in Maps?

    Hi.
    Does anyone know if it's possible to display several bookmarks at the same time in the app Maps on an iPad (mini) under IOS 6.1.3?
    Thanks.

    Do you have to copy each track separately? It would be much easier if I could select all the tracks together for copying/pasting.
    You cannot select multiple tracks in LP9, but you CAN select multiple regions. Use Shift-Click to select the parts on the tracks you want to copy, then hold the "option" key and drag them to the new position. This will create a copy at the new position.
    Let's say you have tracks for piano, drums and bass. In the arrange window, click on the 8-bar "A" part for piano. Hold shift key and click on the drums region then again for the bass region. All three will be selected. Now hold the option key and drag all three sections to the right to place them on bar 25.
    Also, how do you specify that you only want to loop X times? I can get a perpetual loop but I have to turn it off to get it to stop.  This is very inconvenient when I'm playing.
    You can control looping in a few ways.
    1. Go to a region that does NOT have looping checked. Click near the TOP RIGHT of the region in the arrange window. Drag to the right to specify where the looping will stop. This is tricky... if you click too low, it will extend the length of the region. You must click the correct spot near the top to control looping.
    2. For a region where looping is checked, go to the end of the region in the arrange window (at the end of the song) and do as #1 above. Drag to the left until you reach the point where you want the region to stop looping.
    3. Use the "pencil" tool to create a blank region where you want the first region to stop looping. If your 8-bar verse is repeating once, create a blank region at bar 17. The first region will stop looping there.
    Hope this helps.

  • Can I display different tables at the same time?

    Hello all,
    This is probably a newbie question but is it possible to display different tables at the same time? I'm using SQL Developer 1.5.5 and I seem to be unable to display more than one table at the same time, whenever i chose to open another table, the old table disappears. In other words, the table display just switches to your new choice in the table list navigator. Any ideas anyone?
    Regards,
    wf

    Menu item "Tools -> Preferences -> Database -> ObjectViewer Parameters"; make sure "Automatically Freeze Object Viewer Windows" is checked.
    HTH.
    Ed. H.

  • IPVC-3511-MCU - Can't see all persions at the same time on conference

    Hello,
    I can't see all persion at the same time on conference. I also can't see seperate screen on LCD pannel or CVTA on PC.
    Does IPVC-3511-MCU support multiple conference with multiple video screen?
    Regards,
    John.

    Hi -
    This feature is called continuous presence - there are a number of references on Cisco's web site for the 3511. Here is one - http://www.cisco.com/en/US/customer/products/hw/video/ps1870/products_administration_guide_chapter09186a00804fc993.html and possibly another - http://www.cisco.com/en/US/customer/products/hw/video/ps1870/products_data_sheet0900aecd801c5e66.html
    You did not mention the release of the 3511 software you are running. Knowing that might help too.
    Ginger

  • Upadting all articles at the same time?

    is there a way of upadting all articles at the same time? I have like 64 articles in one folio and I dont see a way of updating them in the folio builder all at once, I have to click on every article and choose update in the Folio Builder, then wait, then click on another, update and wait....

    That will definitely be a relief
    BTW, when I import several articles, I sometimes lose the links to internal pages inside articles ("go to page 3"). Is that a known issue?
    Updating articles is the cure, but it's a pain when I have to do that 25 times...

  • How to integrate bing map for including or displaying multiple locations at the same time

    how to integrate bing map for including or displaying multiple locations at the same time

    Have you aware of the geolocation field that's been introduced with SharePoint 2013?  You can store location data within a list and then integrate this within Bing.  The second tutorial on this Bing team blog will show it well.
    https://www.bing.com/blogs/site_blogs/b/maps/archive/2013/03/26/connecting-a-sharepoint-list-to-bing-maps.aspx
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to display all rows in the report in one page in Oracle APEX 3.2

    Friends -
    We are using Oracle Applications Express 3.2 on oracle database 10.2.0.5 on solaris environment.
    One of our report contains total no of rows 50000. when we ran report by default it is showing 15 and i can go search and change display no of rows to different numbers and click go.
    My question is it possible to display all 50000 rows during first time report launching without going to change rows. Is there any option that we can set how many number of rows that we can display during report design.
    Please advise
    VSH

    Hello VSH,
    >> My question is it possible to display all 50000 rows during first time report launching without going to change rows
    As vee pointed out it is possible, however the question you need to ask yourself is is it wise?
    Bear in mind that displaying 50,000 rows on a single HTML page means a lot of code that must be loaded by the client browser all at once. What it will do to your page loading time? Browser memory? Network bandwidth? Also, do you really believe that it is effective to let an end user look for a specific row among 50,000 rows?
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

Maybe you are looking for