Overlapped theme based FOIs in FireFox

Hi. Ive got problem with using overlapped theme based foi's in firefox. The problem is that only one foi is clickable, and the foi under the upper one is only displayed but not active. It works in IE. One foi is polyline and other is polygon. Is there any solution ?

I've got the same issue.
Have you managed to deal with this somehow?

Similar Messages

  • Displaying a theme-based FOI layer as a whole image with javascript API v2

    Hi,
    I have looked the Oracle maps V2 tutorial developed in mvdemo.war application provided with Oracle Mapviewer v11.1.1.7. I have looked how to use theme-based FOI layers and I have not found how to set the "whole image" property for these layers. This feature is present in javascript API V1 and it greatly improves application performance. Our applications use this property very often.
    Is this property present in javascript API V2 but not documented?
    If it's not present, do you know if it will be?
    How can we show a layer with many geometry features and obtain the same performance we have now with the whole image property?
    Thanks,
    Arturo

    Hi,
    since this is a very crucial feature for us I'm very interested in that functionality as well. Is there a comparable functionality in the V2 API or will it be available in feature releases?
    Thanks
    Dominik

  • [HELP] Error: "JDBC theme based FOI support is disabled for the given data"

    Hi all,
    I have already set up MapViewer version 10.1.3.3 on BISE1 10g OC4J server. I am current using JDK 1.6. I create a mvdemo/mvdemo user for demo data.
    The MapViewer demo is running fine with some demo without CHART. But give this error with some maps that have CHART like: "Dynamic theme, BI data and Pie chart style", "Dynamic theme and dynamic Bar chart style". The error is:
    ----------ERROR------------
    Cannot process the FOI response from MapViewer server. Server message is: <?xml version=\"1.0\" encoding=\"UTF-8\" ?> <oms_error> MAPVIEWER-06009: Error processing an FOI request.\nRoot cause:FOIServlet:MAPVIEWER-06016: JDBC theme based FOI support is disabled for the given data source. [mvdemo]</oms_error>.
    ----------END ERROR------
    I searched many threads on this forum, some point me to have this allow_jdbc_theme_based_foi="true" in mapViewerConfig.xml and restart MapViewer.
    <map_data_source name="mvdemo"
    jdbc_host="localhost"
    jdbc_sid="bise1db"
    jdbc_port="1521"
    jdbc_user="mvdemo"
    jdbc_password="mvdemo"
    jdbc_mode="thin"
    number_of_mappers="3"
    allow_jdbc_theme_based_foi="true"
    />
    Error Images: [http://i264.photobucket.com/albums/ii176/necrombi/misc/jdbcerror.png|http://i264.photobucket.com/albums/ii176/necrombi/misc/jdbcerror.png]
    I have this configuration, but no luck. Could anyone show me how to resolve this problem?
    Rgds,
    Dung Nguyen

    Oop, i managed to have this prob resolved!
    My prob may come from this I use both scott and mvdemo schema for keeping demo data (import demo data).
    Steps i made to resolve my prob are:
    1) Undeploy MapViewer from Application Server Control (http://localhost:9704/em in my case)
    2) Drop user mvdemo
    3) Download mapviewer kit from Oracle Fusion Middleware MapViewer & Map Builder Version 11.1.1.2
    4) Deploy MapViewer again
    5) Recreate mvdemo and import demo data
    6) Run mcsdefinition.sql, mvdemo.sql with mvdemo user (granted dba already)
    7) Edit mapViewerConfig.xml
    <map_data_source name="mvdemo"
    jdbc_host="dungnguyen-pc"
    jdbc_sid="bise1db"
    jdbc_port="1521"
    jdbc_user="mvdemo"
    jdbc_password="!mvdemo"
    jdbc_mode="thin"
    number_of_mappers="3"
    allow_jdbc_theme_based_foi="true"
    />
    Save & Restart MapViewer
    And now, all demos run fine. Hope this helpful for who meet prob like my case.

  • Refreshing predefined theme based FOI in ADF 11g

    I am working on Jdeveloper 11g using ADF on a mapviewer application (i.e. geographical maps). I managed to display the base map and predefined theme FOI. I am now trying to just refresh the theme based FOI (predefinedTheme1) on user clicking the 'Refresh Now' command button, How do I do it?. I am attaching the JSPX file with the code.
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document>
    <script type="text/javascript">
    <![CDATA[
    var mapview;
    baseURL = "http://"+document.location.host+"/mapviewer";
    mapview = new MVMapView(document.getElementById("map"), baseURL);
    alert(baseURL);
    function refreshFoi()
    var themebasedfoi1 = mapview.getThemeBasedFOI('themebasedfoi1');
    var themebasedfoi2 = mapview.getThemeBasedFOI('themebasedfoi2');
    var themebasedfoi3 = mapview.getThemeBasedFOI('themebasedfoi3');
    var themebasedfoi4 = mapview.getThemeBasedFOI('themebasedfoi4');
    themebasedfoi1.refresh();
    themebasedfoi2.refresh();
    themebasedfoi3.refresh();
    themebasedfoi4.refresh();
    function autoRefresh()
    if ((document.getElementById('foiVisible').checked) && (document.getElementById('refreshAuto').checked))
    refreshFoi();
    ]]>
    </script>
    <af:messages/>
    <af:form>
    <af:panelWindow closeIconVisible="false"
    title="Oracle Maps in JDeveloper 11g" id="pw1">
    <dvt:mapToolbar mapId="map"/>
    <dvt:map id="map" startingX="-100.04" mapServerConfigId="mapConfig1"
    baseMapName="MVDEMO.DEMO_MAP" mapZoom="0"
    startingY="40" unit="METERS"
    inlineStyle="width:100%; height:600px;"
    partialTriggers="::cb1">
    <dvt:predefinedTheme id="predefinedTheme1"
    themeName="MVDEMO.CUSTOMERS"/>
    </dvt:map>
    </af:panelWindow>
    <af:selectBooleanCheckbox
    label="Show Locations" id="foiVisible"/>
    <af:selectBooleanCheckbox
    label="Auto Refresh" id="refreshAuto"/>
    <af:commandButton text="Refresh Now" id="cb1" action="refreshFoi()"/>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Thanks

    I am attaching the jspx file and the backing bean. I want to know how do I now refresh the predefinedtheme1.
    JSPX file
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces" >
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <af:document id="d1" binding="#{backingBeanScope.backing_AVMap.d1}">
          <af:form id="f1" binding="#{backingBeanScope.backing_AVMap.f1}">
            <af:panelStretchLayout binding="#{backingBeanScope.backing_AVMap.psl1}"
                                   id="psl1" bottomHeight="55px">
              <f:facet name="bottom">
                <af:panelGroupLayout layout="scroll"
                                     xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                                     binding="#{backingBeanScope.backing_AVMap.pgl1}"
                                     id="pgl1">
                  <af:panelGroupLayout binding="#{backingBeanScope.backing_AVMap.pgl2}"
                                       id="pgl2">
                    <af:commandButton text="Refresh Now"
                                      binding="#{backingBeanScope.backing_AVMap.cb1}"
                                      id="cb1"
                                      action="#{backingBeanScope.backing_AVMap.refresh}"/>
                  </af:panelGroupLayout>
                </af:panelGroupLayout>
              </f:facet>
              <f:facet name="center">
                <af:group binding="#{backingBeanScope.backing_AVMap.g1}" id="g1">
                  <dvt:mapToolbar mapId="map"/>
                  <dvt:map startingY="40.0" startingX="-100.04" mapZoom="0"
                           mapServerConfigId="mapConfig1"
                           baseMapName="MVDEMO.DEMO_MAP"
                           inlineStyle="width:97%; height:681px;"
                           binding="#{backingBeanScope.backing_AVMap.m1}" id="map">
                    <f:facet name="rtPopup"/>
                    <f:facet name="popup"/>
                    <dvt:predefinedTheme id="*predefinedTheme1*"
                                         themeName="CUSTOMERS"/>
                  </dvt:map>
                </af:group>
              </f:facet>
              <f:facet name="top"/>
            </af:panelStretchLayout>
          </af:form>
        </af:document>
      </f:view>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_AVMap-->
    </jsp:root>Backing bean
    package backing;
    import oracle.adf.view.faces.bi.component.geoMap.ThemeFOI;
    import oracle.adf.view.faces.bi.component.geoMap.UIGeoMap;
    import oracle.adf.view.rich.component.rich.RichDocument;
    import oracle.adf.view.rich.component.rich.RichForm;
    import oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout;
    import oracle.adf.view.rich.component.rich.layout.RichPanelStretchLayout;
    import oracle.adf.view.rich.component.rich.nav.RichCommandButton;
    import org.apache.myfaces.trinidad.component.UIXGroup;
    public class AVMap {
        private RichForm f1;
        private RichDocument d1;
        private RichPanelStretchLayout psl1;
        private UIGeoMap m1;
        private UIXGroup g1;
        private RichCommandButton cb1;
        private RichPanelGroupLayout pgl1;
        private RichPanelGroupLayout pgl2;
        public void setF1(RichForm f1) {
            this.f1 = f1;
        public RichForm getF1() {
            return f1;
        public void setD1(RichDocument d1) {
            this.d1 = d1;
        public RichDocument getD1() {
            return d1;
        public void setPsl1(RichPanelStretchLayout psl1) {
            this.psl1 = psl1;
        public RichPanelStretchLayout getPsl1() {
            return psl1;
        public void setM1(UIGeoMap m1) {
            this.m1 = m1;
        public UIGeoMap getM1() {
            return m1;
        public void setG1(UIXGroup g1) {
            this.g1 = g1;
        public UIXGroup getG1() {
            return g1;
        public void setCb1(RichCommandButton cb1) {
            this.cb1 = cb1;
        public RichCommandButton getCb1() {
            return cb1;
        public void setPgl1(RichPanelGroupLayout pgl1) {
            this.pgl1 = pgl1;
        public RichPanelGroupLayout getPgl1() {
            return pgl1;
        public void setPgl2(RichPanelGroupLayout pgl2) {
            this.pgl2 = pgl2;
        public RichPanelGroupLayout getPgl2() {
            return pgl2;
        *public void refresh(){*        System.out.println("In refresh method");
    }Edited by: Shay Shmeltzer on Apr 2, 2010 10:15 AM

  • Displaying default styles in an advanced style as theme based foi

    Hi,
    I have a problem to display the default style of an advanced style as theme based foi.
    According to the mapviewer log x feature were found to display but no one was rendered into the map.
    MapViewer with image layer works, MapBuilder, too.
    MapViewer version:
    Ver1033p5_B081010
    MapBuilder marker definition:
    <?xml version="1.0" ?>
    <AdvancedStyle>
    <BucketStyle>
    <Buckets default_style="C.ORANGE">
    <CollectionBucket seq="0" type="string" style="C.BLUE">90002,19208</CollectionBucket>
    <CollectionBucket seq="1" type="string" style="C.RED">14002,13004</CollectionBucket>
    </Buckets>
    </BucketStyle>
    </AdvancedStyle>
    The mapviewer log indicates 7 found featuers, but only 2 of them are displayed. The 5 items are using the default style and are not visible.
    LOG
    May 28, 2009 3:46:26 PM oracle.sdovis.LoadThemeData run
    FINER: LoadThemeData running thread: Thread-6894
    May 28, 2009 3:46:26 PM oracle.sdovis.theme.PredGeomThemeProducer loadFeaturesInWindow
    FINER: [Master scale] 46.091784655389 [Theme scale factor] 1.0
    May 28, 2009 3:46:26 PM oracle.sdovis.theme.PredGeomThemeProducer loadFeaturesInWindow
    FINEST: [ TEST_FOI_POI_2 ]: 2xxx973.7866666666,5xxx599.714666666,2xxx466.072533333,5xxx968.929066666
    May 28, 2009 3:46:26 PM oracle.sdovis.theme.PredGeomThemeProducer loadFeaturesInWindow
    FINEST: Theme query [ TEST_FOI_POI_2 ]: SELECT ID, GEOM, 'M.TEST_IMAGE2', null, 'null', -1, 'rule#0', ID, BEMERKUNG FROM FOI_TEST_POI WHERE MDSYS.SDO_FILTER(GEOM, MDSYS.SDO_GEOMETRY(2003, 31466, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(:mvqboxxl, :mvqboxyl, :mvqboxxh, :mvqboxyh)), 'querytype=WINDOW') = 'TRUE'
    May 28, 2009 3:46:26 PM oracle.sdovis.theme.PredGeomThemeProducer loadFeaturesInWindow
    FINER: [ TEST_FOI_POI_2 ] Fetch size: 100
    May 28, 2009 3:46:26 PM oracle.sdovis.theme.PredGeomThemeProducer loadFeaturesInWindow
    INFO: [ TEST_FOI_POI_2 ] sql exec time: 0ms, total time loading 7 features: 31ms.
    May 28, 2009 3:46:26 PM oracle.lbs.mapserver.core.MapperPool freeMapper
    FINER: freeMapper() begins...
    May 28, 2009 3:46:26 PM oracle.lbs.foi.ThemeRenderingThread render
    FINER: 7 features loaded.31
    May 28, 2009 3:46:26 PM oracle.lbs.foi.ThemeRenderingThread render
    FINER: Total time rendering foi data:0
    May 28, 2009 3:46:26 PM oracle.lbs.foi.FOIServlet doPost
    FINEST: ---- begin FOI response ----
    {"foiarray":[{"id":"201","gtype":"2001","imgurl":"http://server02/mapviewer/images/foi/23_p_Sj_28_24.png","x":2xxx200,"y":5xxx800,"width":28,"height":24,"attrs":["201",]},{"id":"200","gtype":"2001","imgurl":"http://server02/mapviewer/images/foi/23_p_Sj_28_24.png","x":2xxx200,"y":5xxx866,"width":28,"height":24,"attrs":["200",]}],attrnames:["Bezeichnung","BEMERKUNG"],themeMBR:[1.0,0.0,0.0,2xxx422.22678222],hiliteImgPref:"Sh",hiliteMW:10,hiliteMH:10,isWholeImg:false}
    ---- end FOI response ----
    May 28, 2009 3:46:26 PM oracle.lbs.foi.FOIServlet sendGZippedResponse
    FINEST: Sending FOI response in gzip format.
    Regards,
    Cord

    Hi Joao,
    thanks!
    Do you know a workaround or alternative for that problem?
    I have a request of our customer. He has about 400 different group items. Only a few of them (40-60) should be defined with an individual style and the rest with a default style.
    The problem is, that the number of group items rises nearly daily. The new ones should automatically be displayed with the default style.
    Cord

  • Templated Theme Based FOI layer Error

    I'm trying to add FOI like in an example - Templated Theme Based FOI layer.
    Javascript:
    var tbfc = 0;
    function addMyFOI(oKOD){
    tbfc++;
    var foi_name = 'foi'+tbfc;
    var tbg = new MVThemeBasedFOI(foi_name,'cad.dj');
    tbg.setQueryParameters("'"+oKOD+"'");
    tbg.setBringToTopOnMouseOver(true);
    mapview.addThemeBasedFOI(tbg);
    dynamic theme:
    <?xml version="1.0" standalone="yes"?>
    <styling_rules>
    <hidden_info>
    <field column="NOMER" name="ffff"/>
    <field column="DOM" name="ffff"/>
    <field column="LIT" name="dff"/>
    </hidden_info>
    <rule>
    <features style="M.CYAN PIN"> (NOMER=:1) </features>
    </rule>
    </styling_rules>
    When i call addMyFOI function i get error looks like this:
    06/10/20 01:06:10 ERROR [oracle.lbs.foi.FOIServlet] [Foi Server] foi width value is wrong.
    Does anybody know what it is?

    var baseURL = "http://"+document.location.host+"/mapviewer";
    var mapCenterLon = 18429.573997;//getCenterLon(MAP_NAME);
    var mapCenterLat = 17544.041656;//getCenterLat(MAP_NAME);
    var mapZoom = 5;
    var mpoint = MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,262148);
    mapview = new MVMapView(document.getElementById("map"), baseURL);
    mapview.addBaseMapLayer(new MVBaseMap("CAD.TYUMEN"));
    mapview.setCenter(mpoint);
    mapview.setZoomLevel(mapZoom);
    mapview.addNavigationPanel("EAST");
    mapview.addCopyRightNote("&#169;2006 powered by &#8482;");
    ovcontainer = new MVMapDecoration(null,null,null,200,150) ;
    ovcontainer.setCollapsible(true);
    mapview.addMapDecoration(ovcontainer);
    var over=new MVOverviewMap(ovcontainer.getContainerDiv(),3);
    mapview.addOverviewMap(over);
    mapview.display();
    I use this code to initialize my map.
    Hmmm, I still cannot solve that problem

  • Problem refreshing theme based FOI

    Hi,
    We have a map and we want to display shops on it. That works, however new new call containing a different collection of shop IDs does not result in a refresh of the map in the sense that these new shops appear on it. I have been studying the JavaScript API, and I thought that I did find the (best) way to do this, namely the following flow (omitting less relevant code):
    1. First we start with a function that initializes the MapViewer object:
    function showRasterMap(){
    raster_mvo = new MVMapView(document.getElementById("rastermap"), baseURL);
    var base_map = new MVBaseMap("MVDS.RASTER_MAPCACHE");
    base_map.setVisible(true);
    raster_mvo.addBaseMapLayer(base_map);
    raster_mvo.setCenter(MVSdoGeometry.createPoint(center_x, center_y, 90112));
    raster_mvo.setZoomLevel(0);
    raster_mvo.addScaleBar();
    raster_mvo.display();      
    2. Then when the end user clicks on a node of a tree widget, a second function is called that collects the shop IDs and passes that array to a function that sets the query parameter.
    function RasterWindow_loadRasterKaart(){
    var data = dojo.json.serialize({nodeId: list.activeNodeId});
    request = {data: data, action: "getBaseIds"};
         dojo.io.bind({
         url: "list.do",
         load: rasterWindow.bolletjesCallback,
         mimetype: "text/plain",
         content: request,
         preventCache: true
    function RasterWindow_bolletjesCallback(type, data, evt){
    var arr = dojo.json.evalJson(data);
    prepareArraydMap(arr);
    3. Now the interesting part comes, namely the question how to (best) refresh the map. I solved like this: when the ThemeBasedFOI doesn't exist yet, then it will be initialized and added to the MapView object. But when it already exists, then it needs to bind the new query parameter, execute the query and refresh the MapView object. The reason for proceeding like this, is of course to avoid to re-create the ThemeBasedFOI and MapView objects again and again (which doesn't look like a good coding practise and intuitively looks less performing). So my little function became something like this:
    function prepareArraydMap(arr){
    var myArrayParam = new ArrayParameter(arr,'narray','t_unitids')
    if (raster_foi == null) {
    raster_foi = new MVThemeBasedFOI('rasterUnitsFoi','MVDS.THEMERASTERUNITS', baseURL);
    raster_foi.setQueryParameters(myArrayParam);      
    raster_foi.setBringToTopOnMouseOver(true);
    raster_foi.addEventListener("mouse_right_click", foiRightClick);
    raster_foi.enableInfoTip(true);
    raster_foi.setVisible(true);
    raster_mvo.addThemeBasedFOI(raster_foi);
    else {
         raster_foi.setQueryParameters(myArrayParam);
         raster_foi.setVisible(true);
         raster_foi.refresh(false);
    raster_mvo.display();
    The problem is however, it does not work. The first request to display the shops on the map is: request=getfoi&version=1.0&theme=MVDS.THEMERASTERUNITS&bbox=-265933.3333333333:29066.666666666686:546866.6666666666:841866.6666666666&width=1536&height=1536&paramnum=1&param1=257476,118262&paramtype1=narray&sqltype1=t_unitids&area=yes&dstsrid=90112
    Subsequent requests (for different shops) have a likewise request, but do not result in shops being displayed (only the map is visible). Also: a strange post appeared (in FireBug), namely: POST http://localhost:8888/mapviewer/ReturnLocaleOper, which contains:
    i0=Pan%20NorthWest&i1=Pan%20North&_i2=Pan%20NorthEast&_i3=Pan%20West&_i4=Pan%20East&_i5=Pan%20SouthWest&_i6=Pan%20South&_i7=Pan%20SouthEast&_i8=Slider%20Bar&_i9=Drag%20To%20Zoom&_i10=Zoom%20In&_i11=Zoom%20Out&_i12=Scale%20at%20the%20center%20of%20the%20map&_i13=MapView%20baseURL%20is%20not%20set,%20please%20check&_i14=km&_i15=mi&_i16=m&_i17=ft&_i18=Home
    _i17="ft";
    _i11="Zoom Out";
    _i7="Pan SouthEast";
    _i3="Pan West";
    _i18="Home";
    _i15="mi";
    _i14="km";
    _i10="Zoom In";
    _i6="Pan South";
    _i0="Pan NorthWest";
    _i9="Drag To Zoom";
    _i1="Pan North";
    _i13="MapView baseURL is not set, please check";
    _i5="Pan SouthWest";
    _i12="Scale at the center of the map";
    _i8="Slider Bar";
    _i2="Pan NorthEast";
    _i16="m";
    _i4="Pan East";
    Date: Fri, 22 Dec 2006 00:41:37 GMT
    Server: Oracle Containers for J2EE
    Connection: Keep-Alive
    Keep-Alive: timeout=15, max=100
    Content-Type: text/html;charset=UTF-8
    Transfer-Encoding: chunked
    I am lost. I would very much appreciate any help.
    Greetings, Erik

    I have separated the map code from the main application, and it works now: I can display FOIs and display another set of FOIs by calling the refresh method of the MVThemeBasedFOI. The JavaScript code is quite simple:
    function showRasterMap() {
    raster_mvo = new MVMapView(document.getElementById("rastermap"), baseURL);
    raster_mvo.addBaseMapLayer(new MVBaseMap("MVDS.RASTER_MAPCACHE"));
    raster_mvo.setCenter(MVSdoGeometry.createPoint(150000, 450000, 90112));
    raster_mvo.setZoomLevel(0);
    raster_mvo.addScaleBar();
    raster_mvo.display();
    function showRasterFOI(arr) {
    var t0 = new Date();
    var arrParam = new ArrayParameter(arr, 'narray', 't_unitids');
    if (raster_foi == null) {
    raster_foi = new MVThemeBasedFOI('rasterUnitsFoi', 'MVDS.THEMERASTERUNITS', baseURL);
    raster_foi.setQueryParameters(arrParam);
    //raster_foi.setBringToTopOnMouseOver(true);
    raster_foi.enableInfoTip(true);
    raster_foi.setVisible(true);
    raster_mvo.addThemeBasedFOI(raster_foi);
    else {
    raster_foi.addEventListener('after_refresh', function() {
    var t1 = new Date();
    var diff = t1 - t0;
    alert('timer: ' + diff + ' msec');
    raster_foi.setQueryParameters(arrParam);
    raster_foi.refresh(true);
    //TODO: check if zooming is required
    //raster_mvo.display(); THIS KILLS PERFORMANCE
    So everything looks fine here, except the performance, namely in my browser it takes 33 seconds to display a single FOI !
    However I had a look on the code again, and I found that the last call to display the MVMapView object resulted into the gigantic perfomance breakdown as mentioned above. When reading the API, I didn't get consious of this performance penalty. The API just says about the display method: "This method displays all map content inside the map container (which is an HTML DIV element defined in the web page)."
    Maybe you could find time to extend the API with information and advices of how to best use it, especially witn respect to performance.
    I am happy that I managed to solve this issue that turned our hear into grey color.

  • How refresh(redraw) one element in dynamic (JDBC) theme-based FOI layer?

    MapViewer version: Ver11_B090501
    I'm add layer on map:
    var QFM = createQuery('formosat', ordsArray.toString(), begd, endd);
    var TFM = createTheme(QFM);
    var HTFM = new MVThemeBasedFOI('HTFM', TFM);
    HTFM.setRenderingStyle("C.FM");
    HTFM.enableHighlight(true);
         HTFM.setHighlightStyle("C.SP");
         HTFM.setHighlightMode("multiple");
         HTFM.setMaxWholeImageLevel(maxImgLev); // 7
         //HTFM.enableImageCaching(true);
    mapview.addThemeBasedFOI(HTFM);// add on map
    If i try click on FOI element, it will be not Highlighted (because im used setMaxWholeImageLevel(maxImgLev); // 7). Can i redraw only selected elemet?

    Feature highlighting only works when the theme is NOT displayed as a whole image.

  • Uncorrect HightLight  theme-based FOI layer

    Im add 2 ThemeBasedFoiLaywer
    if (document.getElementById('HTQB').checked) {
    var QQB = createQuery('QBRD', ordsArray.toString(), begd, endd);
    var TQB = createTheme(QQB,"C.QB");
    var HTQB = new MVThemeBasedFOI('HTQB', TQB);
              HTQB.enableHighlight(true);
              HTQB.setHighlightStyle("C.HSP");
              HTQB.setHighlightMode("multiple");
              HTQB.setBringToTopOnMouseOver(true);
              HTQB.setAutoRefresh(false);
              HTQB.attachEventListener('mouse_click',foiEvent);
              HTQB.attachEventListener('after_refresh', fo2 = function(){
                   createResultTable('HTQB');
                   var t = mapview.getThemeBasedFOI('HTQB');
                   t.detachEventListener('after_refresh',fo2);
    mapview.addThemeBasedFOI(HTQB);
    if (document.getElementById('HTWV').checked) {
    var QWV = createQuery('WorldVW', ordsArray.toString(), begd, endd);
    var TWV = createTheme(QWV,"C.WV");
    var HTWV = new MVThemeBasedFOI('HTWV', TWV);
              HTWV.enableHighlight(true);
              HTWV.setHighlightStyle("C.HWV");
              HTWV.setHighlightMode("multiple");
    HTWV.setBringToTopOnMouseOver(true);
              HTWV.setAutoRefresh(false);
              HTWV.attachEventListener('mouse_click',foiEvent);
              HTWV.attachEventListener('after_refresh', fo3 = function(){
                   createResultTable('HTWV');
                   var t = mapview.getThemeBasedFOI('HTWV');
                   t.detachEventListener('after_refresh',fo3);
    mapview.addThemeBasedFOI(HTWV);
    When im click on FOI element - he is hiding!
    Firebug say me what image is not found:
    !http://pic.ipicture.ru/uploads/090709/cStUVOX67O.jpg!
    Ок, im look at */mapviewer/images/fig/* and see what name of any images is wrong (look at the picture)
    !http://pic.ipicture.ru/uploads/090709/b9iO1tTrNL.jpg!
    Edited by: user11305894 on 09.07.2009 7:21
    Edited by: user11305894 on 09.07.2009 7:23

    You must use ROWID
    function createTheme(q,s){
    var t = "<themes><theme name='MY_JDBC_THEME' >" +
    "<jdbc_query asis='true' key_column='*rowid*' spatial_column='geom' jdbc_srid='40998' " +
    "render_style='"+s+"' datasource='sovzond'>" +
    q +
    "</jdbc_query>" +
    "</theme></themes>";
    return t;
    }

  • Theme based FOI

    Is it possible to get the theme name from a FOI when it is clicked.
    I am adding a number of themebased layers to my map.
    Each layer has a mouse click event listener so that can use displayInfoWindow and show more details about the FOI from the database.
    in order to do this I need to get the layer the FOI belongs to so that I can create the correct query.
    Thanks in advance
    Ian.

    Do all the themes share the same click event listener function?
    1) If they don't, then you know which listener function is attached to which theme. As shown below, it's easy to add code in the listener function to tell which theme it belongs to.
    theme1.attachEventListener(MVEvent.MOUSE_CLICK, listener1) ;
    theme2.attachEventListener(MVEvent.MOUSE_CLICK, listener2) ;
    function listener1(...)
    var theme = "theme1" ;
    function listener1(...)
    var theme = "theme2" ;
    2) If the themes share the same listener function, then for every theme, you can create a new listener function that invokes the original listener function. As the result, the themes no longer share the same listener and we're talking about scenario 1) again.

  • How can I move all my bookmarks from different Firefox profiles into one area to organize them and then place them into the different Firefox profiles?

    How can I move all my bookmarks from different Firefox profiles (would like to move whole bookmark folders at once if possible) into one area to organize them and then place them into the different Firefox profiles? This is all under one window user account, I am using windows 8.1. Even if you have information on how to do it on a different windows, it may still be helpful. Thanks for any input you have.

    Just a note about the difference between these two things:
    * "export" and "import" use an ancient HTML document format that all browsers can understand. When you import bookmarks, Firefox may place them into an Imported Bookmarks folder, or into Unsorted Bookmarks. This does not displace existing bookmarks, and Firefox does not automatically remove duplicates.
    * "backup" and "restore" use a more comprehensive JSON data file, which contains extra information about your bookmarks (such as tags) not contained in the traditional export file. HOWEVER, a restore completely replaces all existing bookmarks, so the restore feature cannot be used to merge in a set of additional bookmarks.
    Related support articles:
    * [[Export Firefox bookmarks to an HTML file to back up or transfer bookmarks]]
    * [[Import Bookmarks from a HTML file]]
    * [[Restore bookmarks from backup or move them to another computer]]
    Some users find the disk-based Windows Favorites folder a convenient way to organize bookmarks. If you do, too, and you do not need to preserve tags on your bookmarks, you could export each profile's bookmarks to HTML and import them all into IE11. Organize them in the Windows Favorites folder, then export from IE11 to HTML and import that file into each Firefox profile. See: [http://windows.microsoft.com/en-us/internet-explorer/add-view-organize-favorites].

  • How do I change my theme back to the Firefox 4 original theme? Having downloaded an add-on.

    How do I change my theme back to the Firefox 4 original theme. Having downloaded an add-on.

    At the Addons manager (URL: '''about:addons''' ; Tools > Addons ; FirefoxButton > Addons), '''appearance''' section, choose to enable the default theme. Restart Firefox.

  • Displaying themes based on Zoom levels in base map

    I am using Oracle AS MapViewer 10131.I have 3 themes added to a base map.
    I am using Oracle Mapbuilder to create Mapping metadata.I want to display the 3rd theme based on the zoom levels.I want to display it only at lower zoom levels.I have followed necessary instructions given in the Mapviwer user guide and mapbuilder help.
    But I am not able to display particular theme based on Zoom levels.
    For example I have min/max scale 70,000/0 for Streets theme set using mapbuilder.This theme should be displayed only at that scale.But I am getting this theme displayed at all min/max scales (zoom levels).While creating the Map Cache Instance given the min/max scales 1000/25000000, the default values.Here the scale values look contradictory to the theme scale values given in mapbuilder.Is this where I am going wrong? or while setting scale for themes?
    I hope you understand my problem.Please help me about this.this is urgent.
    Thanks in advance!!

    My problem is solved now.I am able to display themes on zoom levels.The solution is, I set the min/max scale (zoom levels) in Map Cache Instance as "Ratio" and in theme i set it to "Screen-Inch".The scale of theme is not understood by the map cache instance.So finally i set both the scales to "Ratio" and it is working fine as i expected.
    Anyway thanks for yout interest in helping me.I will surely make a post here if i got stuck in further work.

  • Dozens of open tabs lost! Synced them, reinstalled Windows and Firefox, set up Sync, looked up "tabs on other devices" in history - Only a third or so listed.

    Dozens of open tabs lost! Synced them, reinstalled Windows and Firefox, set up Sync, looked up "tabs on other devices" in history -> Only a third or so listed.
    Usually, when I reinstall Windows, I manually backup my Firefox bookmarks and open tabs, but because Sync has worked perfectly for me in the past, I didn't do it this time. I backed up all my other files and settings and whatnot from the rest of my system, then in Firefox I hit the Sync button (put in on the GUI so I see if it's syncing or done) for the last time, waited until the green rotating dot was gone, closed Firefox, shut down the system, formatted the drive and reinstalled Windows and Firefox. After setting up Sync I waited a while to make sure everything is on my system.
    Then I wanted to have all the tabs and windows open as I had on the old system, so I went to the history and "tabs on other devices". I could already see from the small size of the list, that tabs were missing. I went through all of them, opened them and sorted them into windows.
    -> Maybe about two thirds of the tabs I had open on my old system are gone!
    Not just new tabs that might not have been synced (although the button showed sync was complete), but also old tabs (from weeks ago) that must have been synced before. Actually maybe especially or even only the old ones are lost. And the lost tabs are not just from one of the open windows, but from several.
    What can I do to recover my lost tabs?
    They contain important websites that I didn't bookmark yet, articles that I wanted to read, windows with dozens of tabs on a topic that I did some research for and stuff like that.
    What does the green circle mean? Does it indicate that the sync is complete (to the Firefox servers) or just that the changes have been saved locally and set up for some next scheduled sync with the Firefox servers?
    Further info:
    I always run the newest stable release of Firefox (v19 on both systems). Old system was Windows 8 Enterprise Evaluation, new system is Windows 8 Pro. My used Sync quota is about 10 MB. I had 4 Firefox windows open with different amount of tabs in each of them, from 10 to maybe 80 with an overall amount of 150-200. Most of them weren't loaded. Firefox start is set to "load last session" and tabs are set to "load when selected". Memory usage 500 MB - 1 GB.

    I have most of the items bookmarked. Having 200 - 300 tabs open saves time, since I don't have to go to the bookmarks, if the tabs are already open. One problem has been crashes, but as long as I can restore a previous session, I can still get to the data. I had quite a few tabs open when I was planning to purchase a new computer. I also follow the stock market, and the weather. I was also looking at various VIrtual Private Networking (VPN) sites. At one time, I probably had 20 - 50 tabs open, just for those. I did bookmark a few, but unfortunately lost the VPN tabs, when Firefox crashed. Even if I don`t go to a particular group of tabs very often, leaving it open is faster, especially since I will know where they are. I often put the computer in standby mode, rather than shutting it off, especially if I will remain in the same location.

  • How theme-based text search work?

    Hello all,
    I want to use the theme-based text search feature of interMedia. I am not too understand about how it works.
    Is that I need to build up my own threasrus that map a word to a concept. e.g. Concept 'Internet' include words such as 'Computer', 'Web', 'http'. And then when I use theme-based search for the word 'Internet', then it will give me all the records that contain the words 'Computer', 'Web' and 'http' ?
    If it is the case, do it mean that I have to build up many many theasrus by myself?
    Thanks for everyone's help in advance.

    I am trying to do the same thing. I am successful in adding these related terms to thesaurus but unsuccessful in updating the knowledge base. If you got some success, let me know
    Gagan
    [email protected]
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by fenton lui ([email protected]):
    Hello all,
    I want to use the theme-based text search feature of interMedia. I am not too understand about how it works.
    Is that I need to build up my own threasrus that map a word to a concept. e.g. Concept 'Internet' include words such as 'Computer', 'Web', 'http'. And then when I use theme-based search for the word 'Internet', then it will give me all the records that contain the words 'Computer', 'Web' and 'http' ?
    If it is the case, do it mean that I have to build up many many theasrus by myself?
    Thanks for everyone's help in advance.<HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • Multiperson video chat suddenly not working

    Hi, So I've been using multiperson chat for the past couple of weeks and have had no problem. Tonight, it doesn't seem to be working. The green video icon that is normally stacked is now just one video. When I checked Connection Doctor is says that I

  • Nano Skips Certain Songs

    Hello, is there a cure for my Nano? It skips certain songs. It will say play 3 minutes of a track then just move on? I have tried a resest, update, re-install - well I have tried everything I can think off! It keeps happening on the same songs - howe

  • FI Spend Data for SRM, Has any one Generated the DataSource from SPL?

    Hello Friends: I am planning to activate the standard BI Content forSpend Analysis. Specifically the infoCube: 0SR_FICO1 and the DSO 0SR_FIDS1.The online documentation recommends creating a Special Purpose Ledger in the source system and supplies a s

  • Capital PO Price

    Hi All, Please let me know from which std., report do i get capital PO Prive value. or from which table do i get these Capital PO pirce Value. Please let me know. Regards, Nagaraj S

  • Can apple change the backcover of my iphone. from black to white. and how much did this cost?

    Hey guys, the question stands there. please ask me if you had any questions. have a nice day FreshT