Hi, I am trying to make a background color using a custom TMS file with the map service originating from GeoServer.
I added the map-styles tag which I copied from Tableau's default TMS file signifying a black background of #000000. However it does work.
Can anyone help?
<?xml version='1.0' encoding='utf-8' ?> <!-- build 10400.17.0915.2112 --> <mapsource inline='true' source-platform='win' version='10.4' xmlns:user='http://www.tableausoftware.com/xml/user'> <connection class='OGC-WMS' description='http://localhost:8080/geoserver/singapore/wms?' full-url='http://localhost:8080/geoserver/singapore/wms?' inline='true' offline='' port='8080' server='localhost' service='http' tileset='US\normal' url='/geoserver/singapore/wms?' use-tiled-maps='true' /> <languages /> <properties /> <map-styles> <map-style display-name="Dark" name="tableau-z-black" wait-tile-color="#141414"> <map-layer-style name="background_color" request-string="#000000"/> </map-style> </map-styles> <mapsource-defaults version='10.4'> <style> <style-rule element='map-layer'> <format attr='enabled' id='spearfish' value='true' /> </style-rule> </style> </mapsource-defaults> </mapsource>
Hello,
I was able to change the background color by modifying a map source (tms) file, and then selecting that tms as the background. It looks like you may be editing the workbook (twb)?
Jim
Tableau Mapping Team