Hi Darren, I'd recommend to use the new code based on OpenLayers; it does do GeoRSS and autoresize so you only need to add auto refresh ;) The new code is available in trunk. There's a shiptracks demo based on openlayers available there as well.
Steven Graham, Darren F wrote: > Hi, > > I'm trying to combine all three eventually but I've started with just GeoRSS > and AutoResize. GeoRSS - based on the ShipTracks Demo works fine on its own. > AutoResize based on (http://www.sarvision.nl/vision2/autoresizetest.html) > again works fine on it's own as you'd expect ;-). But I'm having trouble > getting them to work together by pasting the relevant resizing code into the > Shiptracks demo (styles, config etc). The horizontal resizing works but not > the vertical - it seems to be stuck. At initial loading the GeoRSS stuff is > way out of position, off to the right and the general aspect ratio is not > correct. If I initiate an update by panning or zooming then it is correct. > Can this be behaviour be fixed. > > Is there a way to get them to work together instance? > > There are to problems with the resize demo: > If the map is at full extent -180,90,-90,180 etc. the resizing in the demo > doesn't resize to the full window size, but does if you zoom in. > > Has anywork been done on auto-refreshing specific layers? > > Any help is much appreciated. > > cheers > > Darren Graham > Information Analyst > EDS > 1-3 Bartley Way > Bartley Way Industrial Park > Hook, RG279XA > UK > > Phone: +44 01256 74 2579 > > + mailto: [EMAIL PROTECTED] > > > This email contains information which is confidential and may be privileged. > Unless you are the intended addressee (or authorised to receive for the > addressee) you may not use, forward, copy or disclose to anyone this email or > any information contained in this email. If you have received this email in > error, please advise the sender by reply email immediately and delete this > email. > > EDS Defence Ltd > Registered Office: 4 Roundwood Avenue, Stockley Park, Uxbridge, Middlesex, > UB11 1BQ. > Registered in England no: 936751 > VAT number: 432 99 5915 > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Adair > Sent: 05 July 2007 20:39 > To: Grégory Babusiaux > Cc: [EMAIL PROTECTED] > Subject: Re: [Mapbuilder-users] calling OWSContext.js > > > It's been a while since I worked on that, but the best way to figure out > how to do this is follow what was done in the Legend widget. Look in > the legend.xsl file for the calls to setHidden() that are the result of > a mouse click. setHidden takes 2 parameters: the layer name and a > boolean to hide the layer or not. > > Mike > > > > > Grégory Babusiaux wrote: > >> HI >> >> I have a question, specially to Mike Adair who wrote OwsContext.js >> >> I'm currently using Gml Viewer. I got a separate div with some data. >> >> I would like to add an "onClick" option to this data and call the >> setHidden function defined in lib/model/OWSContext.js >> >> Is this possible? how would this be done? Do I have to pass the >> context as argument? >> >> Thanks, >> Greg >> >> >> >> >> >> >> ---------------------------------------------------------------------- >> -- >> >> ---------------------------------------------------------------------- >> --- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Mapbuilder-users mailing list [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users >> >> > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take control of > your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Mapbuilder-users mailing list [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/mapbuilder-users > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > mapbuilder-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ mapbuilder-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel
