AnsweredAssumed Answered

basemapGallery dropdown display issue

Question asked by geonetadmin on Jan 17, 2013
Latest reply on Mar 14, 2013 by iggz
Original User: amouton

I have spend many hours with this issue.  If I navigate to my page, the basemapGallery (gallery_error.jpg) will display the gallery outside the button that is also missing.  It almost seems the digit is not loading properly.  If I do a page refresh, everything will then loads properly (gallery_good.jpg).  Has anyone experienced this?

I am using multiple technologies.  The application is fed through Oracle Apex which calls a javascript function that uses ExtJS (Sencha).  The ExtJS creates the div tags with a tag:
region: 'center',
     border:false, 
     style: 'padding-left:15px;',
         html:  '<div data-dojo-type="dijit.layout.BorderContainer" ' +
         'data-dojo-props="design:\'headline\', gutters:false" ' +
         'style="width:100%;height:100%;margin:0;">' +
    '<div id="map" ' +
         'data-dojo-type="dijit.layout.ContentPane" ' +
         'data-dojo-props="region:\'center\'">' +
      '<div style="position:absolute; right:20px; top:10px; z-Index:999;">' +
        '<div data-dojo-type="dijit.TitlePane" ' +
             'data-dojo-props="title:\'Switch Basemap\', closable:false, open:false">' +
          '<div data-dojo-type="dijit.layout.ContentPane" style="width:380px; height:280px; overflow:auto;">' +
            '<div id="basemapGallery"></div>' +
          '</div>' +
        '</div>' +
      '</div>' +
    '</div>' +
    '</div>',

Then at the end of that function, the:
dojo.ready(mapInit);

is called which is your standard map and gallery setup from the sample codes.  Any ideas would be greatly appreciated.  Thanks.

Attachments

Outcomes