Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 20764

Wrap words in polygons in the maps of Reporting Services

$
0
0

I'm working in a Reporting Services Project in a map object in SQL 2012. I try to map words into Polygons.

I write it in the query of the Dataset.

DECLARE @g1 geometry ='POLYGON((-11.7605 -4.46777, -11.7605 4.46777, 11.7605 4.46777, 11.7605 -4.46777, -11.7605 -4.46777))';

SELECT @g1 Geom, 'Steins' text, 'http://www.microsoft.com' url, '10pt' FontSize, 'Verdana' FontType, 'Red' Color

and I assign the different properties to the different values and it works.

The problem is that I would like to wrap the words in the polygons. I mean, the polygons should have the same or at least a similar size as the words without margins of the word respect to the polygon. I have been trying to change the size of the polygon, for example:

DECLARE @g1 geometry ='POLYGON((-0.000588026 -0.000223389, -0.000588026 0.000223389, 0.000588026 0.000223389, 0.000588026 -0.000223389, -0.000588026 -0.000223389))';
SELECT @g1 Geom, 'Steins' Wort, 'http://www.stuttgart.de' url, '10pt' Schriftgrad, 'Verdana' SchriftArt, 'Red' Farbe

And it looks just the same. I have thought perhaps it could be related to the zoom. I have put Maximum and minimum zoom of the Polygon Layer to 50 and of the Map View Port to 55 maximum and 54 minimum.

Thanks,

Joan


Viewing all articles
Browse latest Browse all 20764


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>