error in loading2

3 messages Options
Embed this post
Permalink
Ignacio Talavera

error in loading2

Reply Threaded More More options
Print post
Permalink
Hi, I put in my config.xml
<Loading2 id="loadingApp">
      <mapContainerId>mainMapPane</mapContainerId>
      <textMessage>MESSAGE</textMessage>
    </Loading2>

But it doesn't work the message neither the Loading.gif doesn't dissapeard when the map is properly loaded :(,
Could you help me?
thanks
Nacho

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mapbuilder-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
Andreas Hocevar

Re: error in loading2

Reply Threaded More More options
Print post
Permalink
Hi,

On Mon, Jun 30, 2008 at 10:37 PM, Ignacio Talavera
<[hidden email]> wrote:
> Hi, I put in my config.xml
> <Loading2 id="loadingApp">
>       <mapContainerId>mainMapPane</mapContainerId>
>       <textMessage>MESSAGE</textMessage>
>     </Loading2>
>
> But it doesn't work the message neither the Loading.gif doesn't dissapeard
> when the map is properly loaded :(,

Make sure you define your Loading2 as sub-element of your context
model, under <widgets>.

Regards,
Andreas.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Mapbuilder-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
Ignacio Talavera

Re: error in loading2

Reply Threaded More More options
Print post
Permalink
Hi, this is my config.xml

<MapbuilderConfig version="0.2.1" id="simpleTemplate" xmlns="http://mapbuilder.sourceforge.net/mapbuilder" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mapbuilder.sourceforge.net/mapbuilder WEB-INF/lib/schemas/config.xsd
">
  <models>
    <Context id="mainMap">
      <defaultModelUrl>data/context/cartografiaBasica.xml</defaultModelUrl>
      <widgets>
        <MapPaneOL id="mainMapWidget">
          <htmlTagId>mainMapPane</htmlTagId>
          <maxResolution>156.89629239790293</maxResolution>
          <fixedSize>true</fixedSize>
          <displayOutsideMaxExtent>true</displayOutsideMaxExtent>
        </MapPaneOL>
          <PanZoomBar id="panZoomBar"/>
         <LayerSwitcher id="layerSwitcher"/>
        <CursorTrack id="cursorTrack">
          <precision>5</precision>
        </CursorTrack>
        <LayerControl id="contextLegend">
          <htmlTagId>workspace</htmlTagId>
          <outputNodeId>workspaceCanvas</outputNodeId>
          <legendImageEnable>/images/LegendEnable.png</legendImageEnable>
          <legendImageDisable>/images/LegendDisable.png</legendImageDisable>
          <moveUpImage>/images/LayerMoveUpDisable.png</moveUpImage>
          <moveDownImage>/images/LayerMoveDownDisable.png</moveDownImage>
          <deleteImage>/images/LayerRemoveDisable.png</deleteImage>
        </LayerControl>
        <MapScaleText id="scaleText"/>
        <Loading2 id="loading2">
          <htmlTagId>mainMapPane</htmlTagId>
          <imageSrc>/images/16_cycle_one_24.gif</imageSrc>
          <textMessage>Cargando</textMessage>
        </Loading2>

      </widgets>
      <tools>
        <History id="extentHistory"/>
      </tools>
    </Context>
  </models>
  <widgets>
    .............
  </widgets>
  <skinDir>../../mapbuilder/lib/skin/default</skinDir>
</MapbuilderConfig>

The new gif appears at the bottom of the MapPane and dissapears when all layers are loaded properly but not display the correct message, but . However the Default Loading Icon  (Loading.gif ) still appear at the top of the MapPane (where I expected the loading2 did it) and never ends :(. How can I solve it?


On Wed, Jul 2, 2008 at 4:01 AM, Andreas Hocevar <[hidden email]> wrote:
Hi,

On Mon, Jun 30, 2008 at 10:37 PM, Ignacio Talavera
<[hidden email]> wrote:
> Hi, I put in my config.xml
> <Loading2 id="loadingApp">
>       <mapContainerId>mainMapPane</mapContainerId>
>       <textMessage>MESSAGE</textMessage>
>     </Loading2>
>
> But it doesn't work the message neither the Loading.gif doesn't dissapeard
> when the map is properly loaded :(,

Make sure you define your Loading2 as sub-element of your context
model, under <widgets>.

Regards,
Andreas.


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Mapbuilder-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users