This is a migrated thread and some comments may be shown as answers.

Reporting on Map

1 Answer 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Helen
Top achievements
Rank 1
Helen asked on 12 Jul 2014, 12:49 AM
I am trying to create a report with a Map . Something similar to the Sales By Region example supplied . Except my data has a zipcode instead of state . 

How do I use the zip code to display my points on the map . 

Setting the geoLocationMapGroup to the zipcode field does not seem to do it . 

Can you please help. 

1 Answer, 1 is accepted

Sort by
0
Ivan Hristov
Telerik team
answered on 15 Jul 2014, 07:44 AM
Hi Helen,

If you are using the Map Wizard, it should be enough just to drag the ZipCode field to the Categories (location) box on the Arrange map fields page. This will create a GeoLocationGroup with grouping on Fields.ZipCode and pass the grouping expression to the location provider you choose. In case the location provider cannot determine the location by the supplied zip code, you can add an additional information in the grouping expression like, for example, a country name, as shown below:

    ='USA,'+Fields.ZipCode


Please take a look at the attached report which shows how a simple map report using a ZipCode field can be done. Please note that you should set your location provider key in the ClientToken field to make it work.

If you have further questions please let us know.

Regards,
Ivan Hristov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Helen
Top achievements
Rank 1
Answers by
Ivan Hristov
Telerik team
Share this question
or