rsignell-usgs / karen_work

Karen's USGS volunteer issues, code, progress
0 stars 0 forks source link

Add layer switch (front-end) #8

Open k-rns opened 6 years ago

k-rns commented 6 years ago

Hi @rsignell-usgs,

I would like to add a layer switch into the Melown browser. I'm trying to put the sampling locations on there, but I don't really see it. So I think with that switch it will already be good for me to see if I do it well or not. I'm trying to follow this tutorial: http://vtsdocs.melown.com/en/latest/tutorials/landuse-frontend.html

Ok, I just did a liiiitle bit more research, there is a step by step approach on the melown website that I didn`t see. But sty tuned for more html questions :), exciting to learn something new (again!)

Thanks

k-rns commented 6 years ago

Hi @rsignell-usgs , @ladislavhorky and @DavidLevinsky ,

After setting up a dem, orhophoto and vector layer on our own machine (This is my workflow), I would like to add a switch in the browser so I can check that vector layer on and off. I`m following some frontend tutorials, the basic one and the layerswitch one. I do however have a couple of starter questions:

Thanks a lot Karen

davidmtech commented 6 years ago

Hi Keren,

I will be glad to answer your questions.

k-rns commented 6 years ago

Hi @DavidLevinsky,

The mapConfig.json URL doesn't work: http://jetstream.signell.us:8070/mapproxy/melown2015/surface/sandwich/sandwich_dem_resampling/mapConfig.json. The link without the mapConfig.json does work, so I don't know what's wrong or how to solve that issue.

Any ideas?

davidmtech commented 6 years ago

I have tested your link and it works very well. In which way it does not work? Hints for diagnostic: