cga-harvard / geonode

Harvard WorldMap is a heavily modified fork of GeoNode 1.4 which has recently been migrated to GeoNode 2.10. WorldMap is being made available by Harvard's Center for Geographic Analysis to lower the barrier for scholars and others who wish to explore, visualize, edit, collaborate with, and publish geospatial information.
http://cga.harvard.edu
GNU General Public License v3.0
96 stars 29 forks source link

New basemap cannot be displayed in the layer details page #302

Closed lannio closed 5 years ago

lannio commented 6 years ago

I added the base map of the Tianditu. In the map details page and create map page, it is used normally, but it cannot be loaded in the layer details page. I found that the map details page and create map page use the code in the worldmap_client (I modified the code of the geonode_client and then compressed it into worldmap_client). But the layer details page refers to the code in python_env. Should it be modified to use the code in the worldmap_client as well? My modification is as follows: https://github.com/camp-zju/geonode/commit/b89000646f0df86b7d570a53025f08b8d970d220 Example is as follows: http://amap.zju.edu.cn/layers/geonode:qing_dai_qu_jia

1

capooti commented 6 years ago

Yes, it should use the same geoexplorer version of the map composer. I am fixing this.

capooti commented 5 years ago

This is done.