ckan / ckan/ckanext-spatial

change button of spatial query map

Open
#211 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

Hello,
I try to change the html for the map buttons of the spatial query map.

in spatial_query.js there is an option for the html code of the map buttons used:
`template: {
buttons: [
'

',
'Cancel ',
'Apply',
'
'
].join('')
},`

Is there a way of changing this html via passing an option?

thanks in advance

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in spatial_query.js at the template.buttons option shown in the issue and trace how the spatial query map builds its buttons. Determine whether an option can override that HTML without changing the default, then verify that the requested customization works while the existing Cancel and Apply behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.