You can send me the code and example data if you want I have a look on it.
Le 23/05/2011 12:07, Andreas Douvalis a écrit : > > Thank you very much. > I really appreciate your help. > I have already started working on it. > > > > > ------------------------------------------------------------------------ > *Απο:* Thomas RAFFIN <traf...@sirap.fr> > *Προς:* pmapper-users@lists.sourceforge.net > *Στάλθηκε:* 12:59 μ.μ. Δευτέρα, 23 Μαΐου 2011 > *Θεμα:* Re: [pmapper-users] Add raster layer with clientdynamiclayers > > Hi, > > Clientdynamiclayers is only the base for pmapper community to develop > its own functionalities. It only modifies the map object that represents > your mapfile by adding layers dynamically. > > So you can easily develop: > - plugins that manage dynamic data (like drawing or measure2): > http://svn.pmapper.net/trac/wiki/PluginsDynamicData > - use different data sources. For now only GeoJSON is implemented. > > I think it could be very simple to add other data types if you have PHP > skills. > > 1) The JSON you send should be like that (in js): > var myLayer = [{"def": {"type": "json", "layername": "myWmsLayer", > "jsondef": {"name": "myWmsLayer", > ... > }} , "datatype": "DynWMS", "data": "somethingThatDifineYourWMSData"}]; > > PM.Map.ClientDynamicLayers.addOrReplaceLayers(myLayer); > > 2) And in PHP write the "clientDynamicLayer_DynWMS" class like > "clientDynamicLayer_GeoJson". > > Thomas > > Le 21/05/2011 11:50, Andreas Douvalis a écrit : > > Sorry for > > my bad English. > > My question > > again: > > How can I use > > clientdynamiclayers plugin in relation of adding raster layers? > > > ------------------------------------------------------------------------------ > > What Every C/C++ and Fortran developer Should Know! > > Read this article and learn how Intel has extended the reach of its > > next-generation tools to help Windows* and Linux* C/C++ and Fortran > > developers boost performance applications - including clusters. > > http://p.sf.net/sfu/intel-dev2devmay > > _______________________________________________ > > pmapper-users mailing list > > pmapper-users@lists.sourceforge.net > <mailto:pmapper-users@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > > > > > > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > <mailto:pmapper-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users