Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geonode Mapstore Viewer Plugins #1656

Open
mahershala2k18 opened this issue Jan 10, 2024 · 1 comment
Open

Geonode Mapstore Viewer Plugins #1656

mahershala2k18 opened this issue Jan 10, 2024 · 1 comment

Comments

@mahershala2k18
Copy link

Describe the bug

Hi,
I have been trying to remove the "Print" plugin from the map_viewer page by overriding the
"localConfig.json" in the "_geonode_config.html" file.(See Attached)
After I remove it, a couple of print options remain in the map.
How can get rid of these print oprions checkboxes which apears in the map?

Expected Behavior

Print Button Not Being Displayed in the Map And Clean Mapviewer
Print Plugin Not available in the Map

Steps to Reproduce the Problem

1.install geonode-project using docker
2.add any dataset (shapefile) to geonode and try to visualize it.
3.Follow the geonode mapstore docs 'How to remove a plugin from a page'
4.Edit the file /src/my_geonode/templates/geonode-mapstore-client/_geonode_config.html
5. Rebuild the containers and head to Chrome http://localhost/catalogue/#/map/

Specifications

  • GeoNode client version: 4.0

  • Browser: Chrome

  • Installation type (geonode-project): geonode-project Docker

  • Additional details: I managed to remove other Plugins, and it went well with no problems.

  • Se attached files
    after removing the  Print plugin
    Before Removing the  Print plugin
    for details on the problem
    _geonode_config.pdf

@raiknan
Copy link

raiknan commented Nov 10, 2024

Error on printing: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /geoserver/pdf/create.json?access_token=a6N1XR5AXsKegr6UYttRak5GCYMRfU (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fde0c4ebcd0>: Failed to establish a new connection: [Errno 111] Connection refused'))

i'm using geonode on a remote server and when i try to print a map it refuses. can anyone help me?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants