<layer> <name>LayerName</name> <fields>field1,field2</fields> <linkfield>linkField</linkfield> <linkprefix>http://webserverurl/index.php?linkField=</linkprefix> <linksuffix></linksuffix> <iconefield>otherField</iconefield> <iconeprefix>http://pictureWebserver/index.php?otherField=</iconeprefix> <iconesuffix>suffixValue(jpg)</iconesuffix> <imagefield>otherField</imagefield> <imageprefix>http://pictureWebserver/index.php?otherField=</imageprefix> <imagesuffix>suffixValue(jpg)</imagesuffix> <zoomscale>5000</zoomscale> </layer>
Thank you for this inescapable Widget !
In previous version (1.3) i've tweaked it because we needed prefix and suffix configuration for the link field. We also needed to purpose picture and hyperLink in the same info popup and Icon could be different for a layer or regarding field value. In previous version i think zoomscale could be different regarding the layer.
And then, the cherry on the cake (like is said in my country) would be that icon for the hyperlink could be configurable for the widget.
Could this modifications be integrated in your widget ? I hope this could interest other users.
Regards.
Erwan
My configuration for a layer looked like :<layer> <name>LayerName</name> <fields>field1,field2</fields> <linkfield>linkField</linkfield> <linkprefix>http://webserverurl/index.php?linkField=</linkprefix> <linksuffix></linksuffix> <iconefield>otherField</iconefield> <iconeprefix>http://pictureWebserver/index.php?otherField=</iconeprefix> <iconesuffix>suffixValue(jpg)</iconesuffix> <imagefield>otherField</imagefield> <imageprefix>http://pictureWebserver/index.php?otherField=</imageprefix> <imagesuffix>suffixValue(jpg)</imagesuffix> <zoomscale>5000</zoomscale> </layer>