ckan / ckan/ckanext-spatial

Where to update the marker.png file path

Open
#300 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
XSLT
Stars
136
Forks
207
PR merge metrics
No merged PRs in 30d

Description

Currently, our CKAN URL needs to have /data as the root path to access CKAN Dataset.

As a result, the marker.png is not showing as it is still referencing to /img/marker.png. Is there anywhere I need to update to modify the path to /data/img/marker.png?

I have modified the path in ckanext/spatial/public/js/dataset_map.js but it is still not using the correct path.

![image](https://user-images.githubusercontent.com/62228988/200227952-26da3b2c-f9f5-4053-8d98-f3bc92ba4ec8.png)

Please advise

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading ckanext/spatial/public/js/dataset_map.js and trace where marker.png is referenced or resolved. Verify the generated URL under a CKAN installation rooted at /data, then confirm that the marker displays from /data/img/marker.png without breaking the map.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.