Reputation: 4004
What I have?
I have Set of multiple LAT-LONG
values in the Database.
Every LAT-LONG
value is associated with a STATUS
.
What I need?
I need to generate Bing Map, load the map with all available LAT-LONG
values and show them as PINPOINTS. Pinpoint color must be different based on the STATUS
for corresponding LAT-LONG
value.
And, the most important part is I need to generate everything on the fly (i.e. at runtime using Windows Service) and then save it as PDF somewhere.
Basically, the Windows Service will generate the PDF, save it somewhere and email it to relevant people.
So, basically, these are my 3 questions:
Technologies: .NET 4.0, C#
Thanks for your time.
Upvotes: 0
Views: 487
Reputation: 2952
Based on your description, I understand that you want to generate a static map in order to integrate it in a PDF file.
In order to do so, I will recommend to use the Bing Maps Imagery REST Service, see the MSDN for more information: http://msdn.microsoft.com/en-us/library/ff701724.aspx
Also, the service (like any Maps REST service) does not support custom pushpin so you will have to add our own logic after retrieving the image and draw the element using GDI and use the appropriate image depending on the values of the properties on your elements.
So, to bring answers to your questions:
Upvotes: 1