officelive and Virtual Earth
Hi,
Is it possible to store latitude and longitude for an asset in a list - say asset name, lattitude, longitude and pass the latitude/longitude to Virtual Earth for plotting the positions of these assets.
If the answer is yes, then how to do it?
thanks.
[287 byte] By [
ANIKSOL] at [2008-2-17]
Hello ANIKSOL,
This is an great question and an excellent scenario to leverage the power a multitude of Live services working together! To store the latitude adn longitude information for an asset, you can either create new columns in the Company Assets list (under Company Administration...Company Assets) by choosing Settings...Create Column.
After having stored the latitude-longitude information in the list, you can use Office Live web services to retrieve that data and pass it on to Virtual Earth APIs for plotting positions. We have a code sample that shows exactly how this can be done: http://msdn2.microsoft.com/en-us/library/bb229687.aspx. I would strongly recommend installing that sample and walking through the code to see how it can be done. In particular, the sample code shows in great details how the data can be retrieved through the GetListItems web service call (http://msdn2.microsoft.com/en-us/library/lists.lists.getlistitems.aspx) and pass the data retrieved to the AddPushpin() call in the Virtual Earth API (http://msdn2.microsoft.com/en-us/library/aa973061.aspx).
Good luck with this!
Albert
Albert,
Thanks.
We are currently on ISV empower, but one of our customer has asked us to evaluate Office Live as well as Google Apps and come with a solution for quiet a complex requirement. Ofcourse, if it was an ASP.net 2.0 development, we were quite confident about it.
But officelive is totally different from our current development environment.
Once again, thanks.
regards
Shirsat