question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Leaflet timeDimension WMS

See original GitHub issue

We are using Leaflet timeDimension for TimestampedGeoJson plugin, but we could also add the WMS functionality:

var testWMS = "http://thredds.socib.es/thredds/wms/observational/hf_radar/hf_radar_ibiza-scb_codarssproc001_aggregation/dep0001_hf-radar-ibiza_scb-codarssproc001_L1_agg.nc"
var testLayer = L.nonTiledLayer.wms(testWMS, {
    layers: 'sea_water_velocity',
    format: 'image/png',
    transparent: true,
    styles: 'prettyvec/rainbow',
    markerscale: 15,
    markerspacing: 20,
    abovemaxcolor: "extend",
    belowmincolor: "extend",
    colorscalerange: "0,0.4",
    attribution: 'SOCIB HF RADAR | sea_water_velocity'
});
var testTimeLayer = L.timeDimension.layer.wms(testLayer);
testTimeLayer.addTo(map);

I am just not sure if we should overload the standard WMS functionality with these options or create a separate plugin.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
acrosbycommented, Jun 30, 2017

I’ll take a look at it. On Fri, Jun 30, 2017 at 7:48 AM Filipe notifications@github.com wrote:

Indeed those are nice ideas @acrosby https://github.com/acrosby. Are you up for a PR 😉

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/python-visualization/folium/issues/328#issuecomment-312247215, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0zvAUNdVxmaiukbUVELCQbe1LYYU7cks5sJOCUgaJpZM4HFSDL .

0reactions
ocefpafcommented, Aug 24, 2017

Implemented in #644

Read more comments on GitHub >

github_iconTop Results From Across the Web

socib/Leaflet.TimeDimension: Add time dimension ... - GitHub
Implements a TimeDimension Layer for a given WMS layer, which can be a L.TileLayer.WMS or a L.NonTiledLayer.WMS. This component synchronizes the WMS with...
Read more >
Leaflet TimeDimension - Socib Apps Server
Implements a TimeDimension Layer for a given WMS layer, which can be a L.TileLayer.WMS or a L.NonTiledLayer.WMS. This component synchronizes the WMS with...
Read more >
WMS layer not displaying in Leaflet Time Dimension
I have a postgis table which is uploaded in Geoserver as WMS. The table is of a road ,has timestamp ...
Read more >
leaflet/overlay/timedimension/leaflet.timedimension.layer.wms.js
// Hack to hide the layer when added to the map. // It will be shown when timeload event is fired from the...
Read more >
How can I adapt Timedimension to the L.control.layers function?
I have a series of layers under L.control.layers and I need to add a WMS layer with timedimension plugin (https://github.com/socib/Leaflet.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found