mapbox / geojson.io

A quick, simple tool for creating, viewing, and sharing spatial data
http://geojson.io/
ISC License
1.87k stars 560 forks source link

Add WMS overlays #854

Open anders86755 opened 1 year ago

anders86755 commented 1 year ago

Is it possible to add user-defined overlay layers that can be superimposed on top of the base map layer, with adjustable transparency? I made this modification using an old version. I was wondering if you could add this feature to the new version and make it an official function? It would be very valuable. just like this: 微信截图_20230614092621a 微信截图_20230614092621

chriswhong commented 1 year ago

How would you use this feature? Would you just want to have a reference layer on the map when editing geojson? I think this is similar to allowing users to bring their own raster tileset, which geojson.io already does.

A workaround in the meantime could be to just add whatever features you would want in this overlay and use simplestyle to style them.

anders86755 commented 1 year ago

Yes, there is indeed a similar functionality available in GeoJSON. However, the provided overlay is in the format of XYZ.png, while there is another format that also very common, which is the WMS (Web Map Service) approach. It would be perfect if official release could include WMS. I am using WMS. Thank you for your response.