Quantcast
Viewing all articles
Browse latest Browse all 2791

MAP how to force/keep zoom to 50 miles?

SSRS 2008R2 mapping zoom level never the same,We want to return a map showing the location of the nearest customers to a post code.I have a parameter of a post code and a table of customers with post codes, and a table of post codes with their Lat/Lng co-ordinates.I then create new geography field, using this geography::STPointFromText('POINT(' + CAST(lng AS VARCHAR(20)) + ' ' + CAST(lat AS VARCHAR(20)) + ')',4326) AS Geog so I can uses for the push pins on the map.I have added 'zoom level' as a parameter and sometimes when it runs with a zoom level of 10000 it shows all of uk, other times it is a street level, it seems inconsistent, but maybe due to the 'goeg' values returned in the query however, I am only returning data within 50 miles.How can I fix the zoom level to show 50 miles worth of data.Also, next to the push pin I want to display the name of the customer and that works fine, but if 2 customers are close to each other then the names overlap which does not look good, how can this be handled?I do not have a UK ESRI file, I am just adding the Bing Maps layer.Thanks in advance.

Viewing all articles
Browse latest Browse all 2791

Trending Articles