[Chameleon] Smooth panning

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Mon Mar 12 06:35:10 EST 2007


Hi Dejan,

loadWMC.php is called when you click on a map on the right side of the page
in the GUI.

As I said some things are specific to this application :-) so it is probably
not for general use.

How it works there is a MAP file with all CONNECTIONTYPE WMS layers which
defines the baselayers of the main map, and the layers to be used for the
keymap. I use the following METADATA for that:

-openlayers_baselayer: true/false
-openlayers_overviewmaplayer: true/false

This is how the application starts up. Then loadWMC.php can be called using
AJAX to add more layers/themes to the map, coming from a Web Map Context
document. For this specific application it passes in a filesystem location
to the WMC and uses this as an argument to loadWMC.php.

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl


--------- Oorspronkelijk bericht --------
Van: Gambin Dejan <Dejan.Gambin at pula.hr>
Naar: Bart van den Eijnden OSGIS <bartvde at osgis.nl>
Cc: chameleon at lists.maptools.org
Onderwerp: RE: [Chameleon] Smooth panning
Datum: 12/03/07 09:05

> I like it very much! Can you just tell me how to try the code I have
> downloaded from your site? I see loadWMC.php file. Where is it
&quot;called&quot;?
> Sorry I am not an expert...
> 
> best regards, dejan
> 
> &gt; -----Original Message-----
> &gt; From: Bart van den Eijnden (OSGIS) [mailto:bartvde at osgis.nl] 
> &gt; Sent: Monday, March 12, 2007 11:56 AM
> &gt; To: Gambin Dejan; Bart van den Eijnden OSGIS
> &gt; Cc: chameleon at lists.maptools.org
> &gt; Subject: RE: [Chameleon] Smooth panning
> &gt; 
> &gt; Indeed, that is still the case. My tactics were to use as 
> &gt; much OpenLayers controls as possible instead.
> &gt; 
> &gt; You can see a small demo here:
> &gt; 
> &gt; http://www.rijkswaterstaat.nl/apps/geoservices/kaartenonline/
> &gt; 
> &gt; Best regards,
> &gt; Bart
> &gt; 
> &gt; --
> &gt; Bart van den Eijnden
> &gt; OSGIS, Open Source GIS
> &gt; http://www.osgis.nl
> &gt; 
> &gt; 
> &gt; --------- Oorspronkelijk bericht --------
> &gt; Van: Gambin Dejan &lt;Dejan.Gambin at pula.hr&gt;
> &gt; Naar: Bart van den Eijnden OSGIS &lt;bartvde at osgis.nl&gt;
> &gt; Cc: chameleon at lists.maptools.org
> &gt; Onderwerp: RE: [Chameleon] Smooth panning
> &gt; Datum: 12/03/07 08:47
> &gt; 
> &gt; &gt; Thanks Bart, I'll give it a try. Can you tell me how does it (if
it
> &gt; &gt; does) coexist with the other widgets?  You said a lot of
chameleon 
> &gt; &gt; widgets won't work with this as they depend on 
> &gt; MapDHTML...is it still 
> &gt; &gt; so?
> &gt; &gt; 
> &gt; &gt; regards, dejan
> &gt; &gt; 
> &gt; &gt; &amp;gt; -----Original Message-----
> &gt; &gt; &amp;gt; From: Bart van den Eijnden (OSGIS) 
> &gt; [mailto:bartvde at osgis.nl] &amp;gt; 
> &gt; &gt; Sent: Monday, March 12, 2007 11:23 AM &amp;gt; To: Gambin Dejan;

> &gt; &gt; chameleon at lists.maptools.org &amp;gt; Subject: RE: [Chameleon]
Smooth 
> &gt; &gt; panning &amp;gt; &amp;gt; Hi Dejan, &amp;gt; &amp;gt; I've
created a set of widgets 
> &gt; &gt; which integrate OpenLayers with &amp;gt; Chameleon, although
there are 
> &gt; &gt; some things in it which can be &amp;gt; specific to our use 
> &gt; case, so you 
> &gt; &gt; might need to adapt a few &amp;gt; things. It is based on
OpenLayers 
> &gt; &gt; 2.3RC2 but with some &amp;gt; patches applied. The 
> &gt; OpenLayers.js file that 
> &gt; &gt; I used is in the &amp;gt; download.
> &gt; &gt; &amp;gt;
> &gt; &gt; &amp;gt; So use it at your own risk!
> &gt; &gt; &amp;gt;
> &gt; &gt; &amp;gt; http://www.osgis.nl/download/chameleon_openlayers.zip
> &gt; &gt; &amp;gt;
> &gt; &gt; &amp;gt; Feedback is always welcome.
> &gt; &gt; &amp;gt;
> &gt; &gt; &amp;gt; Best regards,
> &gt; &gt; &amp;gt; Bart
> &gt; &gt; &amp;gt;
> &gt; &gt; &amp;gt; --
> &gt; &gt; &amp;gt; Bart van den Eijnden
> &gt; &gt; &amp;gt; OSGIS, Open Source GIS
> &gt; &gt; &amp;gt; http://www.osgis.nl
> &gt; &gt; &amp;gt;
> &gt; &gt; &amp;gt;
> &gt; &gt; &amp;gt; --------- Oorspronkelijk bericht -------- &amp;gt; Van:

> &gt; Gambin Dejan 
> &gt; &gt; &amp;lt;Dejan.Gambin at pula.hr&amp;gt; &amp;gt; Naar:
chameleon at lists.maptools.org
> &gt; &amp;lt;chameleon at lists.maptools.org&amp;gt;
> &gt; &gt; &amp;gt; Onderwerp: RE: [Chameleon] Smooth panning &amp;gt;
Datum: 12/03/07 
> &gt; &gt; 08:03 &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; 
> &gt; &amp;gt; &amp;gt; &amp;gt; 
> &gt; &gt; Bart, can you share some experience on this?
> &gt; &gt; &amp;gt; &amp;gt; &amp;amp;nbsp;
> &gt; &gt; &amp;gt; &amp;gt; cheers
> &gt; &gt; &amp;gt; &amp;gt; &amp;amp;nbsp;
> &gt; &gt; &amp;gt; &amp;gt; dejan
> &gt; &gt; &amp;gt; &amp;gt;
> &gt; &gt; &amp;gt; &amp;gt;
> &gt; &gt; &amp;gt; &amp;gt;
> &gt; &gt; &amp;gt; &amp;gt; From: Paul Spencer
> &gt; &gt; &amp;gt; &amp;gt; [mailto:pagameba at gmail.com] Sent: Tuesday,
March 06, 2007 
> &gt; &gt; 1:04 &amp;gt; &amp;gt; AMTo: Gambin DejanSubject: Re:
[Chameleon] 
> &gt; Smooth &amp;gt; 
> &gt; &gt; &amp;gt; panning &amp;gt; &amp;gt;
> &gt; &gt; &amp;gt; &amp;gt;   Hi Gambin,Bart has done a first pass at
integrating 
> &gt; &gt; &amp;gt; &amp;gt;   OpenLayers into Chameleon with some success
I believe 
> &gt; &gt; &amp;gt; (although for WMS 
> &gt; &gt; &amp;gt; &amp;gt;   only).We are currently trying to figure out
a technical 
> &gt; &gt; &amp;gt; plan for a 
> &gt; &gt; &amp;gt; &amp;gt;   potential Chameleon 3.0 and the big feature
of 
> &gt; 3.0 would be a
> &gt; much
> &gt; &gt; &amp;gt; better AJAX 
> &gt; &gt; &amp;gt; &amp;gt;   mode.&amp;amp;nbsp; This could happen in a
number 
> &gt; of ways, but 
> &gt; &gt; &amp;gt; once we decide on
> &gt; &gt; &amp;gt; a 
> &gt; &gt; &amp;gt; &amp;gt;   technical direction and secure some funding,
I 
> &gt; expect it 
> &gt; &gt; &amp;gt; will happen
> &gt; &gt; &amp;gt; quite 
> &gt; &gt; &amp;gt; &amp;gt;   quickly.In the mean time, maybe Bart will
share his
> &gt; experience? 
> &gt; &gt; &amp;gt; &amp;gt;   CheersPaul
> &gt; &gt; &amp;gt; &amp;gt;   On 3/2/07, Gambin 
> &gt; &gt; &amp;gt; &amp;gt;   Dejan
&amp;amp;lt;Dejan.Gambin at pula.hr&amp;amp;gt; wrote:
> &gt; &gt; &amp;gt; &amp;gt;   Hi,As 
> &gt; &gt; &amp;gt; &amp;gt;     I am not such a skilled developer, I have
to ask the 
> &gt; &gt; &amp;gt; others - howmuch 
> &gt; &gt; &amp;gt; &amp;gt;     effort would it take to have a
&amp;quot;smooth 
> &gt; panning&amp;quot;
> &gt; feature 
> &gt; &gt; &amp;gt; as forexample 
> &gt; &gt; &amp;gt; &amp;gt;     ka-map or openlayers? Is it possible at
all? 
> &gt; I find it very 
> &gt; &gt; &amp;gt; &amp;gt;     nice/interesting and I would very much
like 
> &gt; to develop 
> &gt; &gt; &amp;gt; it, but I 
> &gt; &gt; &amp;gt; &amp;gt;     evendon't know where to start. So any 
> &gt; &gt; &amp;gt; information/advice on this topic
> &gt; &gt; &amp;gt; 
> &gt; &gt; &amp;gt; &amp;gt;     willbe very welcome.regards, 
> &gt; &gt; &amp;gt; &amp;gt;    
dejan_______________________________________________
> &gt; Chameleon 
> &gt; &gt; &amp;gt; &amp;gt;     mailing
> &gt; &gt; &amp;gt;
listChameleon at lists.maptools.orghttp://lists.maptools.org/mail
> &gt; &gt; &amp;gt; man/listinfo/chameleon
> &gt; &gt; &amp;gt; 
> &gt; &gt; &amp;gt; &amp;gt;     
> &gt; &gt; &amp;gt; &amp;gt;
> &gt; &gt; &amp;gt; &amp;gt;
> &gt; &gt; &amp;gt; &amp;gt;
> &gt; &gt; &amp;gt; &amp;gt;
> &gt; &gt; &amp;gt; &amp;gt;
> &gt; &gt; &amp;gt; &amp;gt;
_______________________________________________
> &gt; &gt; &amp;gt; &amp;gt; Chameleon mailing list
> &gt; &gt; &amp;gt; &amp;gt; Chameleon at lists.maptools.org &amp;gt; &amp;gt;

> &gt; &gt; http://lists.maptools.org/mailman/listinfo/chameleon
> &gt; &gt; &amp;gt; &amp;gt;
> &gt; &gt; &amp;gt;
> &gt; &gt; &amp;gt;
> &gt; &gt; &amp;gt;
> &gt; &gt; &amp;gt;
> &gt; &gt; 
> &gt; &gt; 
> &gt; 
> &gt; 
> &gt; 
> &gt; 
> 
> 





More information about the Chameleon mailing list