Search the web
Sign In
New User? Sign Up
sw-gis · Smallworld Developers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Click here for the latest updates on Groups Message search

Messages

  Messages Help
Advanced
Refresh SIAS client side image   Message List  
Reply Message #20172 of 20464 |
Re: Refresh SIAS client side image

Did you tried to put this line "this.getCore().fireEvent("map-data-changed");"
after the line "wrapper.request();" on your delegate code?

--- In sw-gis@yahoogroups.com, "kitti_kadam" <kitti_kadam@...> wrote:
>
>
>
> Hi..
>
> thanks 4 d reply...
>
> The following lines of code myt help u understanding my problem...
>
> request method in Bean class is
>
> request()
> {
> this.startMainRequest("HighlightObjects");
> delegate.request();
> this.endMainRequest("HighlightObjects");
> }
>
> request method in Delegate class
>
> request()
> {
> wrapper.request();
> return;
> }
>
> public void request()
> {
>
> Hashtable<String, Object> params = new Hashtable<String, Object>();
> ArrayList<String> objects=new ArrayList<String>();
> objects.add("
swrefVrecordVdatasetZgisVcollectionZpub_restVkeysZThe$0020J5aebraQMaids$0020Caus\
eway ");
>
> params.put("map_update","zoom");
> params.put("map_name","Main-Map");
> params.put("colour","green");
> params.put("objects",objects);
> params.put("name","testmap");
>
> try
> {
> Response response = request("ejb/HighlightLocal", "highlightObjects",
params);
> }
> catch(Exception e)
> {
> }
>
> return;
> }
>
> On executing these above LOC, an image is generated with pub being highlighted
in green color and is stored in a temp folder.
> how can i refresh SIAS client image with this new image??
> what myt b missing in my code???pls help me out...
>





Mon Nov 16, 2009 7:26 pm

rodrigo.aguerre
Offline Offline
Send Email Send Email

Message #20172 of 20464 |
Expand Messages Author Sort by Date

When we call map method of map service from client side, an image is generated and stored in default folder. How can i refresh Client side image with this...
kitti_kadam
Offline Send Email
Nov 11, 2009
5:31 pm

Hi, I'm not sure I understand what your problem is. You generate a new image to display on the map but the it doesn't refresh it?. If that's the case, I had...
rodrigo.aguerre
Offline Send Email
Nov 12, 2009
7:19 pm

Hi.. thanks 4 d reply... The following lines of code myt help u understanding my problem... request method in Bean class is request() { ...
kitti_kadam
Offline Send Email
Nov 16, 2009
5:21 pm

Did you tried to put this line "this.getCore().fireEvent("map-data-changed");" after the line "wrapper.request();" on your delegate code?...
rodrigo.aguerre
Offline Send Email
Nov 16, 2009
7:26 pm

Hi.. Adding the line this.getCore().fireEvent("map-data-changed");" to the code didnot make any difference..there z no change in the map... I think, event...
kitti_kadam
Offline Send Email
Nov 17, 2009
4:43 pm

When I was trying to develop a module in which I loaded a new image to display on the map some time ago, I had a similar problem, I generated the image but the...
rodrigo.aguerre
Offline Send Email
Nov 17, 2009
6:57 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help