This project is read-only.

NerdDinner change default location of Bing map

Jan 13, 2012 at 4:02 PM


I have gotten NerdDinner up and running. I'm trying to change the default location (us) of the Bing map, on the index.cshmtl. 

It's not that straightforward as I had imagined. I can see there is a getCurrentLocation() javascript method on index.cshtml, however it seem like this method has not been implemented. 

I would prefer if someone could point me in the right direction. 

In short: I would like to locate the location of the current user, if he is from Sweden then I would like to show a Swedish map, and if from Germany then a map of Germany and so forth.

Thanks for reading.