pmapper-users Mailing List for p.mapper (Page 10)
Brought to you by:
arminburger
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(41) |
Nov
(124) |
Dec
(80) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(56) |
Feb
(51) |
Mar
(155) |
Apr
(58) |
May
(67) |
Jun
(83) |
Jul
(76) |
Aug
(32) |
Sep
(58) |
Oct
(113) |
Nov
(63) |
Dec
(83) |
2008 |
Jan
(31) |
Feb
(34) |
Mar
(69) |
Apr
(30) |
May
(87) |
Jun
(64) |
Jul
(47) |
Aug
(18) |
Sep
(35) |
Oct
(53) |
Nov
(37) |
Dec
(31) |
2009 |
Jan
(23) |
Feb
(40) |
Mar
(65) |
Apr
(54) |
May
(92) |
Jun
(55) |
Jul
(87) |
Aug
(27) |
Sep
(81) |
Oct
(32) |
Nov
(77) |
Dec
(51) |
2010 |
Jan
(44) |
Feb
(59) |
Mar
(77) |
Apr
(54) |
May
(36) |
Jun
(36) |
Jul
(52) |
Aug
(62) |
Sep
(68) |
Oct
(58) |
Nov
(72) |
Dec
(27) |
2011 |
Jan
(15) |
Feb
(42) |
Mar
(37) |
Apr
(55) |
May
(84) |
Jun
(27) |
Jul
(27) |
Aug
(42) |
Sep
(42) |
Oct
(18) |
Nov
(83) |
Dec
(71) |
2012 |
Jan
(50) |
Feb
(75) |
Mar
(79) |
Apr
(43) |
May
(18) |
Jun
(22) |
Jul
(20) |
Aug
(13) |
Sep
(26) |
Oct
(30) |
Nov
(21) |
Dec
(30) |
2013 |
Jan
(57) |
Feb
(63) |
Mar
(53) |
Apr
(40) |
May
(39) |
Jun
(16) |
Jul
(43) |
Aug
(16) |
Sep
(37) |
Oct
(64) |
Nov
(31) |
Dec
(7) |
2014 |
Jan
(14) |
Feb
(6) |
Mar
(2) |
Apr
(9) |
May
(1) |
Jun
(18) |
Jul
(95) |
Aug
(6) |
Sep
(25) |
Oct
(33) |
Nov
(29) |
Dec
(30) |
2015 |
Jan
(16) |
Feb
(3) |
Mar
(4) |
Apr
(9) |
May
(19) |
Jun
|
Jul
(11) |
Aug
(3) |
Sep
(9) |
Oct
(11) |
Nov
(4) |
Dec
(9) |
2016 |
Jan
(21) |
Feb
(9) |
Mar
(6) |
Apr
(13) |
May
(21) |
Jun
(4) |
Jul
(3) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2017 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2018 |
Jan
(3) |
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: gioza <al...@al...> - 2014-12-02 11:58:16
|
I seems to produce effect if I reload the webgis service but not in the live session. (both php file with "1" as value) -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-refresh-a-layer-tp4025689p4025697.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: gioza <al...@al...> - 2014-12-02 11:52:28
|
it's due to tiling. The only solution I have found is to set themeType="PMap" or better I omit themType. Labeling has the same problem even if you can "force" it. -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/tile-edge-problem-tp4025695p4025696.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: Suman <an...@ya...> - 2014-12-02 10:38:07
|
i am facing the following problem. <http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025695/snap.png> As in given image the symbol of point are incomplete. i think that the edge of the tile is making this type of symbol. So, how can i solve this problem? Any suggestion please. Thanx in advance. Suman -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/tile-edge-problem-tp4025695.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: Armin B. <arm...@gm...> - 2014-12-02 10:02:07
|
make sure that you emptied the browser cache before since tiles loaded before that change have still the old expiration time. If it doesn't help either try to set in [1]lib/[2]map/[3]pmtile/[4]index.php line 4 to session_cache_expire(1); armin Gesendet: Dienstag, 02. Dezember 2014 um 09:28 Uhr Von: gioza <al...@al...> An: pma...@li... Betreff: Re: [pmapper-users] Pmapper5: refresh a layer Hi Armin, i tried with a shapefile (modify in qgis and show in pmapper) but with no success. I modified also theindex.php file . I am going to have more tries I let you khow. Thanks, Giovanni -- View this message in context: [5]http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pma pper5-refresh-a-layer-tp4025689p4025693.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE [6]http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clk trk _______________________________________________ pmapper-users mailing list pma...@li... [7]https://lists.sourceforge.net/lists/listinfo/pmapper-users References 1. http://svn.pmapper.net/trac/browser/trunk/pmapper5/lib 2. http://svn.pmapper.net/trac/browser/trunk/pmapper5/lib/map 3. http://svn.pmapper.net/trac/browser/trunk/pmapper5/lib/map/pmtile 4. http://svn.pmapper.net/trac/browser/trunk/pmapper5/lib/map/pmtile/index.php 5. http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-refresh-a-layer-tp4025689p4025693.html 6. http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk 7. https://lists.sourceforge.net/lists/listinfo/pmapper-users |
From: gioza <al...@al...> - 2014-12-02 08:28:34
|
Hi Armin, i tried with a shapefile (modify in qgis and show in pmapper) but with no success. I modified also theindex.php file . I am going to have more tries I let you khow. Thanks, Giovanni -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-refresh-a-layer-tp4025689p4025693.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: Armin B. <arm...@gm...> - 2014-12-01 21:31:04
|
could you give it a try and change in lib/map/pmtile/maptile.php line 55 to $offset = 1; I'm not sure if it's this value or the one from the index.php file for "session_cache_expire" that defines effectively the cache expiration. In the case the offset value works I will add some small modifications to allow setting default global values via the config or for single layers individually. armin On 12/01/2014 10:17 AM, gioza wrote: > Pmapper5 has a great property which is the client-side caching so users can > browse very fast in the map! > Sometimes it is useful to refresh a layer (after editing or because a layer > contents are changed for any reason). > I tried with a new control function in this way: > > map.layers[4].redraw(true ); > map.layers[5].redraw(true ); > > but with no results. The layers just flashed but remain the same. > Any idea? > > > > > -- > View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-refresh-a-layer-tp4025689.html > Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > pmapper-users mailing list > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users > |
From: Armin B. <arm...@gm...> - 2014-12-01 18:28:38
|
tiled layers are cached by the browser (which is the main advantage towards non-tiled ones...). In case of changes to the data or map file (symbols etc) you need to empty the browser cache. I have to check iof there is a config setting for defining the cache policy (expiration time of tiles) for testing. Alternatively don't use layer/theme type PMTile but PMap which will always refresh the map image for this layer/theme. armin On 12/01/2014 10:17 AM, gioza wrote: > Pmapper5 has a great property which is the client-side caching so users can > browse very fast in the map! > Sometimes it is useful to refresh a layer (after editing or because a layer > contents are changed for any reason). > I tried with a new control function in this way: > > map.layers[4].redraw(true ); > map.layers[5].redraw(true ); > > but with no results. The layers just flashed but remain the same. > Any idea? > > > > > -- > View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-refresh-a-layer-tp4025689.html > Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > pmapper-users mailing list > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users > |
From: gioza <al...@al...> - 2014-12-01 18:00:09
|
As I mentioned in another post the "PanZoomBarContainer" doesn't work with OL 2.12 code. I realised that removing from line 73 of index.phtml "pmPanZoomBarContainer" it works $(document).ready(function () { $('#map').pmAppendElement('div', {'id': 'pmPanZoomBarContainer'}); PM.Init.main(); <?php echo $jsInitFunctions ?> }); obviously we haven't the 'container' and the layout isn't so good! I let you khow if I get it better -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-PanZoomBarContainer-problem-with-ol-2-12-implementation-tp4025690.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: gioza <al...@al...> - 2014-12-01 09:18:00
|
Pmapper5 has a great property which is the client-side caching so users can browse very fast in the map! Sometimes it is useful to refresh a layer (after editing or because a layer contents are changed for any reason). I tried with a new control function in this way: map.layers[4].redraw(true ); map.layers[5].redraw(true ); but with no results. The layers just flashed but remain the same. Any idea? -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-refresh-a-layer-tp4025689.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: gioza <al...@al...> - 2014-11-27 07:37:46
|
Example for OSM Transportation: $.extend(PM.OL.Theme.olNativeThemes, { create: function() { this.themeList['vmapLayerWms2'] = this.createVmapWmsLayer2(); }, createVmapWmsLayer2: function() { var vmapLayerWms2 = new OpenLayers.Layer.OSM.TransportMap(); return vmapLayerWms2; } }); -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Tilcache-in-pmapper5-tp4025488p4025688.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: gioza <al...@al...> - 2014-11-26 09:59:58
|
This solution works also for Bing Maps, Google Maps, OSM Cycle e Transportation... I think it could work with other map types with a correct ol syntax -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Tilcache-in-pmapper5-tp4025488p4025687.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: Armin B. <arm...@gm...> - 2014-11-25 19:48:33
|
this bug was introduced with changeset 1361 to correct wrong mime type. New fix should solve it http://svn.pmapper.net/trac/changeset/1362 armin On 11/25/2014 11:13 AM, Raffaele Morelli wrote: > With a fresh install from svn (rev 1361), the map in the viewport is showed with a > div element - the highlight layer/theme - stacked on top with opacity set to 0.3 > The result is this grey "veil" over the map. > > Commenting line #47 in > http://svn.pmapper.net/trac/browser/trunk/pmapper5/js/src/pm.ol.theme.js removes > the highlight layer but I guess this is not the right fix for that. > > Any idea? > > /Raffaele > > |
From: Raffaele M. <raf...@gm...> - 2014-11-25 10:13:57
|
With a fresh install from svn (rev 1361), the map in the viewport is showed with a div element - the highlight layer/theme - stacked on top with opacity set to 0.3 The result is this grey "veil" over the map. Commenting line #47 in http://svn.pmapper.net/trac/browser/trunk/pmapper5/js/src/pm.ol.theme.js removes the highlight layer but I guess this is not the right fix for that. Any idea? /Raffaele -- My mama said to get things done You'd better not mess with Major Tom |
From: Raffaele M. <raf...@gm...> - 2014-11-19 06:52:30
|
On 18/11/14 at 06:44pm, Armin Burger wrote: > Raffaele > > thanks already for extending the wiki. I will try to add a few changes > towards p.mapper 4 config that I still remember. Working on DocManuallayoutFive today ;-) > > On 11/18/2014 01:55 PM, Raffaele Morelli wrote: > > On 18/11/14 at 01:25pm, Armin Burger wrote: > >> I would just roughly guess you have a definition of a group in the XML > >> file under <categories> that is then not defined under <olThemes>. > >> You could try to use the console logging in PM.Control.PMToc.js wher > >> line 500 seems to give this error. > >> Uncomment the line 497 and change it to > >> console.log(grpName, grp); > >> and see for which group name it returns a null object for grp. > > > > "solved", I commented the raster layer in the mapfile buf forgot to comment out > > the xml. > > as I said, a few more checks are needed to catch errors. I will have a > look these days. I would like to dig in the code and hopefully do something on the commit side. > > > > BTW this still occurs > > > > PM.config default js_session.php:148 > > Resource interpreted as Image but transferred with MIME type image/: > > "http://localhost/pm5/lib/map/pmhighlight/?&width=1917&height=1372&bbox=-568…6,-19319204.430107,20928457.127271&crs=EPSG%3A900913×tamp=14163151369". > > (index):1 > > Resource interpreted as Image but transferred with MIME type image/: > > "http://localhost/pm5/lib/map/pmhighlight/?&width=1486&height=1200&bbox=-125…89,16543826.243852,19240727.542969&crs=EPSG%3A900913×tamp=14163151378". > > > > should now be fixed, see > http://svn.pmapper.net/trac/changeset/1361 Yes, it's gone. -- « Nunc est bibendum, nunc pede libero pulsanda tellus » |
From: Armin B. <arm...@gm...> - 2014-11-18 17:45:04
|
Raffaele thanks already for extending the wiki. I will try to add a few changes towards p.mapper 4 config that I still remember. On 11/18/2014 01:55 PM, Raffaele Morelli wrote: > On 18/11/14 at 01:25pm, Armin Burger wrote: >> I would just roughly guess you have a definition of a group in the XML >> file under <categories> that is then not defined under <olThemes>. >> You could try to use the console logging in PM.Control.PMToc.js wher >> line 500 seems to give this error. >> Uncomment the line 497 and change it to >> console.log(grpName, grp); >> and see for which group name it returns a null object for grp. > > "solved", I commented the raster layer in the mapfile buf forgot to comment out > the xml. as I said, a few more checks are needed to catch errors. I will have a look these days. > BTW this still occurs > > PM.config default js_session.php:148 > Resource interpreted as Image but transferred with MIME type image/: > "http://localhost/pm5/lib/map/pmhighlight/?&width=1917&height=1372&bbox=-568…6,-19319204.430107,20928457.127271&crs=EPSG%3A900913×tamp=14163151369". > (index):1 > Resource interpreted as Image but transferred with MIME type image/: > "http://localhost/pm5/lib/map/pmhighlight/?&width=1486&height=1200&bbox=-125…89,16543826.243852,19240727.542969&crs=EPSG%3A900913×tamp=14163151378". > should now be fixed, see http://svn.pmapper.net/trac/changeset/1361 |
From: Raffaele M. <raf...@gm...> - 2014-11-18 12:55:53
|
On 18/11/14 at 01:25pm, Armin Burger wrote: > I would just roughly guess you have a definition of a group in the XML > file under <categories> that is then not defined under <olThemes>. > You could try to use the console logging in PM.Control.PMToc.js wher > line 500 seems to give this error. > Uncomment the line 497 and change it to > console.log(grpName, grp); > and see for which group name it returns a null object for grp. "solved", I commented the raster layer in the mapfile buf forgot to comment out the xml. BTW this still occurs PM.config default js_session.php:148 Resource interpreted as Image but transferred with MIME type image/: "http://localhost/pm5/lib/map/pmhighlight/?&width=1917&height=1372&bbox=-568…6,-19319204.430107,20928457.127271&crs=EPSG%3A900913×tamp=14163151369". (index):1 Resource interpreted as Image but transferred with MIME type image/: "http://localhost/pm5/lib/map/pmhighlight/?&width=1486&height=1200&bbox=-125…89,16543826.243852,19240727.542969&crs=EPSG%3A900913×tamp=14163151378". -- « Nunc est bibendum, nunc pede libero pulsanda tellus » |
From: Armin B. <arm...@gm...> - 2014-11-18 12:25:45
|
I would just roughly guess you have a definition of a group in the XML file under <categories> that is then not defined under <olThemes>. You could try to use the console logging in PM.Control.PMToc.js wher line 500 seems to give this error. Uncomment the line 497 and change it to console.log(grpName, grp); and see for which group name it returns a null object for grp. The error might also be related to a PHP error that occurred before, but in this case it's less likely. The various definitions in the XML need still a bit more of consistency checks to make the configuration a more robust against wrong or incomplete definitions. On Tue, Nov 18, 2014 at 12:24 PM, Raffaele Morelli <raf...@gm...> wrote: > Got this errors in inspector on fresh installation from svn > > > PM.config default js_session.php:148 > Uncaught TypeError: Cannot read property 'hasOwnProperty' of null > PM.Control.PMToc.js:500(anonymous function) PM.Control.PMToc.js:500o.extend.each > jquery-2.1.0.min.js:2OpenLayers.Control.PMToc.OpenLayers.Class.updateToScale > PM.Control.PMToc.js:490OpenLayers.Events.OpenLayers.Class.triggerEvent > OpenLayers.js:135OpenLayers.Map.OpenLayers.Class.moveTo > OpenLayers.js:200OpenLayers.Map.OpenLayers.Class.setCenter > OpenLayers.js:193OpenLayers.Map.OpenLayers.Class.updateSize > OpenLayers.js:189$.extend.updateMapSize pm.map.js:88(anonymous function) > VM1981:1 > Resource interpreted as Image but transferred with MIME type image/: > "http://localhost/pm5/lib/map/pmhighlight/?&width=1917&height=1372&bbox=-568…6,-19319204.430107,20928457.127271&crs=EPSG%3A900913×tamp=14163096403". > (index):1 > Resource interpreted as Image but transferred with MIME type image/: > "http://localhost/pm5/lib/map/pmhighlight/?&width=1486&height=1200&bbox=-125…89,16543826.243852,19240727.542969&crs=EPSG%3A900913×tamp=14163096406". > > > Any idea? > > -- > « Nunc est bibendum, nunc pede libero pulsanda tellus » > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > pmapper-users mailing list > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users |
From: Raffaele M. <raf...@gm...> - 2014-11-18 11:24:56
|
Got this errors in inspector on fresh installation from svn PM.config default js_session.php:148 Uncaught TypeError: Cannot read property 'hasOwnProperty' of null PM.Control.PMToc.js:500(anonymous function) PM.Control.PMToc.js:500o.extend.each jquery-2.1.0.min.js:2OpenLayers.Control.PMToc.OpenLayers.Class.updateToScale PM.Control.PMToc.js:490OpenLayers.Events.OpenLayers.Class.triggerEvent OpenLayers.js:135OpenLayers.Map.OpenLayers.Class.moveTo OpenLayers.js:200OpenLayers.Map.OpenLayers.Class.setCenter OpenLayers.js:193OpenLayers.Map.OpenLayers.Class.updateSize OpenLayers.js:189$.extend.updateMapSize pm.map.js:88(anonymous function) VM1981:1 Resource interpreted as Image but transferred with MIME type image/: "http://localhost/pm5/lib/map/pmhighlight/?&width=1917&height=1372&bbox=-568…6,-19319204.430107,20928457.127271&crs=EPSG%3A900913×tamp=14163096403". (index):1 Resource interpreted as Image but transferred with MIME type image/: "http://localhost/pm5/lib/map/pmhighlight/?&width=1486&height=1200&bbox=-125…89,16543826.243852,19240727.542969&crs=EPSG%3A900913×tamp=14163096406". Any idea? -- « Nunc est bibendum, nunc pede libero pulsanda tellus » |
From: gioza <al...@al...> - 2014-11-18 10:27:03
|
Hi Raffaele, ok! I start writing my "solutions" or "tips" with pmapper5, I will let you khow. Giovanni -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Tilcache-in-pmapper5-tp4025488p4025679.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: gioza <al...@al...> - 2014-11-18 09:45:57
|
sorry, above I posted the wrong solution (I do a lot of tests...), this is the right one: $.extend(PM.OL.Theme.olNativeThemes, { create: function() { this.themeList['vmapLayerWms2'] = this.createVmapWmsLayer2(); this.themeList['vmapLayerWms'] = this.createVmapWmsLayer(); }, createVmapWmsLayer2: function() { var vmapLayerWms2 = new OpenLayers.Layer.WMS( "Openlayers WMS", "http://localhost:8080/cgi-bin/tilecache211/tilecache.cgi?", { LAYERS : "TEST3"}, { sphericalMercator: true, projection: "EPSG:900913"} ); return vmapLayerWms2; }, createVmapWmsLayer: function() { var vmapLayerWms = new OpenLayers.Layer.WMS( "Openlayers WMS2", "http://localhost:8080/cgi-bin/tilecache211/tilecache.cgi?", { LAYERS : "google-tiles"}, { sphericalMercator: true, projection: "EPSG:900913"} ); return vmapLayerWms; } }); -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Tilcache-in-pmapper5-tp4025488p4025678.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: Raffaele M. <raf...@gm...> - 2014-11-18 07:21:21
|
On 18/11/14 at 12:08am, gioza wrote: > According to Armin indications I tested the "custom.js" for multiple OL WMS > in this way and it works: > > $.extend(PM.OL.Theme.olNativeThemes, > { > create: function() { > this.themeList['vmapLayerWms2'] = this.createVmapWmsLayer(); > this.themeList['vmapLayerWms'] = this.createVmapWmsLayer(); > }, > > createVmapWmsLayer: function() { [snipped code] > As far as wiki page is concerned I wil try to help in developing it, even if > my my english isn't so good to take part in writing a technical/howto guide I started working on the wiki and I would suggest you to start writing something because surely your time will come (unless you want to be involved directly). Not a mother language here but we can get it ;-) -- « Nunc est bibendum, nunc pede libero pulsanda tellus » |
From: gioza <al...@al...> - 2014-11-18 07:09:06
|
According to Armin indications I tested the "custom.js" for multiple OL WMS in this way and it works: $.extend(PM.OL.Theme.olNativeThemes, { create: function() { this.themeList['vmapLayerWms2'] = this.createVmapWmsLayer(); this.themeList['vmapLayerWms'] = this.createVmapWmsLayer(); }, createVmapWmsLayer: function() { var vmapLayerWms2 = new OpenLayers.Layer.WMS( "Openlayers WMS", "http://localhost:8080/cgi-bin/tilecache211/tilecache.cgi?", { LAYERS : "TEST3"}, { sphericalMercator: true, projection: "EPSG:900913"} ); var vmapLayerWms = new OpenLayers.Layer.WMS( "Openlayers WMS2", "http://localhost:8080/cgi-bin/tilecache211/tilecache.cgi?", { LAYERS : "TEST2"}, { sphericalMercator: true, projection: "EPSG:900913"} ); return vmapLayerWms; return vmapLayerWms2; } }); As far as wiki page is concerned I wil try to help in developing it, even if my my english isn't so good to take part in writing a technical/howto guide -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Tilcache-in-pmapper5-tp4025488p4025676.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: Raffaele M. <raf...@gm...> - 2014-11-17 09:55:17
|
On 12/11/14 at 11:32pm, Armin Burger wrote: > I added a basic support for native OL layer types. See changeset > http://svn.pmapper.net/trac/changeset/1359 > > should work when called the application with "?config=dev" since all of > that new type is defined in the "dev" configuration. > > The custom.js needs to create and reference the native layers inside the > block > $.extend(PM.OL.Theme.olNativeThemes, > { > > }); > > check also the dev XML config file for "vmapLayerWms", layer type needs > to be specified as "olnative". Currently it uses a WMS, I tested it also > with an XYZ layer, TMS & WMTS should work as well. > > Note however that some cross checks are still missing, so all > definitions in XML and the custom.js must be consistent and congruent, > otherwise you will get some Javascript errors. > > In addition, all those definitions should be described in the wiki, but > so far nobody wanted to update and extend it for p.mapper 5... Armin, as a long time user of pmapper4 I am recently digging into pmapper5 willing to jump in the wiki and give it a "kick". So, feel free to write me off list in order to set up an account with editing privileges (I don't see any registration form around). /raffaele > > armin -- « Nunc est bibendum, nunc pede libero pulsanda tellus » |
From: Armin B. <arm...@gm...> - 2014-11-16 18:48:09
|
you're right, OL 2.13 seems to have some strange performance issues, or "sticky" behaviours... Deactivating a layer for example took several seconds with 2.13.1 which I noticed just recently, and didn't know why... on 2.12 it was fine again and happened immediately as was with 2.11. So I changed OL on svn trunk from 2.13.1. back to 2.12. The + and - buttons I've seen, I'm not sure if it can be related to the usage inside p.mapper, with transparent bg, etc I cannot say anything for IE11 though since I don't have it... does it appear also with OL 2.13? On 11/16/2014 07:04 PM, gioza wrote: > You are right, but in my tests I had bad experience with OL 2.13.1. > I realised poor performance of Zoom function/rendering with vector features > on google base layer. > I think this is a OL 2.13.1 issue > (http://osgeo-org.1560.x6.nabble.com/HELP-OL-2-13-Google-v3-and-other-layers-not-zooming-quot-together-quot-td5060658.html). > > OL 2.12 work well with tilecache (tilecache.org), 2.11 not. With OL 2.12 and > 2.13 in pmapper5 the +/- and nav buttons of olcontrol (the one on the left > side) don't work. > > With OL 2.12 in pmapper5 I verified that if the default layer is in tiles > mode, in IE11 some tiles are missed and become visible only zooming. > > > > > > > > > > > > -- > View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Tilcache-in-pmapper5-tp4025488p4025673.html > Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk > _______________________________________________ > pmapper-users mailing list > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users > |
From: gioza <al...@al...> - 2014-11-16 18:05:03
|
You are right, but in my tests I had bad experience with OL 2.13.1. I realised poor performance of Zoom function/rendering with vector features on google base layer. I think this is a OL 2.13.1 issue (http://osgeo-org.1560.x6.nabble.com/HELP-OL-2-13-Google-v3-and-other-layers-not-zooming-quot-together-quot-td5060658.html). OL 2.12 work well with tilecache (tilecache.org), 2.11 not. With OL 2.12 and 2.13 in pmapper5 the +/- and nav buttons of olcontrol (the one on the left side) don't work. With OL 2.12 in pmapper5 I verified that if the default layer is in tiles mode, in IE11 some tiles are missed and become visible only zooming. -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Tilcache-in-pmapper5-tp4025488p4025673.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |