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

Centring SSRS 2012 Map on a specific point

$
0
0

We are upgrading from SSRS 2008 to SSRS 2014 and I'm doing a proof of concept report using the Map control now available to us using SQL server data tools in VS 2012.  The process to build a map isn't terribly well documented and I'm really struggling with how to centre it in a specific location so hoping for some help please!

My example report has two datasets:

1) "Spatial"  this returns a varchar column with a list of UK Postcodes and a geometric column containing polygon outlines for each post code area.

2) "Sales" - this returns a varchar column with a list of post codes and a set of float columns with sales totals in that postcode for a given time period.  

 I've built a map which does the following:

  • Selected "spatial" as my source for spatial data
  • Added a bing maps layer
  • Set visualisation to Colour Analytical map
  • Choses "Sales" as the analytical dataset
  • Defined that the "PostCode" column in the "spatial" dataset matches to the "PostCode" column in the "sales" dataset

This produces a lovely map of the UK with all the post code areas colour coded according to sales value.  However, I need to zoom the map in AND centre it on a specific post code, say this is postcode ABC1 1DE for example.  When I open up "view port properties" I've tried selecting the "Center and Zoom" tab, then selecting "center map to show an embedded map element".  I then chose layer = PolygonLayer1 (my spatial data layer) and I've set a condition "Centre on the map element matching this condition"  "Name" = "ABC1 1DE".  

However, this doesn't work and the map remains centered on the middle of the UK.  The post code I'm trying definitely exists in both datasets so I'm a bit stumped.  Anyone got any ideas please?


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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