[GeoMoose-users] Overwrite resultsTitle from mapbook in select tool

Christopher Hughes chughes at co.lincoln.or.us
Thu Sep 12 10:58:19 PDT 2024


I'm curious if anyone knows if it's possible to overwrite the default results title from the mapbook.xml (similar to how setting a layer title in the map-source changes what's displayed for the layer in the drop-down list for the select tool).  I know you can override it for a service via the resultsTitle parameter in the app.js, but I'm trying to set it individually for specific layers, rather than globally for all layers for a particular service.

I'm trying add a button to the results that allows you to return to the previous tool (i.e. click a button in the results to return to the parcel search, rather than finding the parcel search in the Search drop-down menu). I've mostly figured out how to do this by embedding it in the search/select headers, but my main issue is that I'm already using that header for the select tool to state which dataset the results are from, which makes it look a bit clunky. Being able to customize the resultsTitle based on the map-source would free up that header location.

[cid:df8d7e42-4a80-4d0a-845f-a61368916166]

Any feedback would be appreciated,

Chris

--
Chris Hughes

GIS Analyst
Lincoln County GIS Department
880 NE 7th St. l Newport, OR 97365
Tel: (541) 574 1283

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20240912/f920beb8/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 13425 bytes
Desc: image.png
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20240912/f920beb8/attachment-0001.png>


More information about the GeoMoose-users mailing list