Zoom in on SSRS 2008 R2 Spatial Map
Is it possible to zoom in on a map which has already been generated in SSRS 2008 R2?
I can see how to set the zoom level at design time, but not at run time
T开发者_高级运维hanks in advance,
Jim
What you can do is set the zoom level to a parameter with values of different zoom levels. It doesn't let you zoom anywhere on the map, but it typically will zoom in on the point. Personally, I have been a little disappointed with the lack of interactivity with the mapping in SSRS 2008.
It looks like this is a "no".
All the examples I've seen talk about links on the map (e.g. on a point) which when clicked basically show another report, which happens to be at a different zoom level.
create a Parameter @Zoom,
then you can replace value of tag
<MapCustomView>
<CenterX>34.6386680603027</CenterX>
<CenterY>42.2658576965332</CenterY>
<Zoom>229.739669799805</Zoom>
with =Parameters!Zoom.Value in code file.
<MapCustomView>
<CenterX>34.6386680603027</CenterX>
<CenterY>42.2658576965332</CenterY>
<Zoom>=Parameters!Zoom.Value</Zoom>
now use a filter to enter the amount manually.
精彩评论