1 Reply Latest reply: Sep 19, 2012 8:49 AM by Jpaiva-Oracle RSS

    GeoRaster Theme is rendered behind all geometry themes

    781338
      I have a very simple map but my georaster theme is being rendered underneath all the my geometry themes.

      Here is my map definition

      <?xml version="1.0" standalone="yes"?>
      <map_definition>
      <theme name="STREETS_S15"/>
      <theme name="AREA_LAND_S15"/>
      <theme name="SAT_MAP"/>
      </map_definition>

      and my theme definition

      <?xml version="1.0" standalone="yes"?>
      <styling_rules theme_type="georaster" raster_id="1" transparent_nodata="true">
      </styling_rules>

      Have I found a bug in the renderer?
        • 1. Re: GeoRaster Theme is rendered behind all geometry themes
          Jpaiva-Oracle
          Hi Mark,
          by default MapViewer renders the image themes first. But you can set on map request a parameter "keepthemesorder" to honor the themes order. For example:
          <?xml version="1.0" standalone="yes"?>
          <map_request
            title="Map test"
            datasource="mvdemo"
           keepthemesorder="true"
            width="640"
            height="480"
            bgcolor="#a6caf0"
            antialiase="true"
            format="PNG_URL"
          >
          ...
          </map_request>
          In MapBuilder, if you want to preview your basemap keeping the themes order, got to Options menu (top right of preview panel) and set the menu item related to this.

          Joao