Srikanth
Srikanth

Reputation: 147

Creating a dynamic map from set of Lat longs c#.net

I am doing a c#.net application in which i want to show a map(poly line) with dynamically fetched lat longs from database, I tried Google's reverse geocoding but i am stuck here to work it out,can any one please help me to find a right solution for my scenario

Upvotes: 0

Views: 1114

Answers (1)

Shiridish
Shiridish

Reputation: 4962

You dont need reverse geocoding for this. Since you have a set of latlng's that will fetched form the database, this is the scene that should be followed--

Suppose you have a Asp server button, in onClick event, load the latlng values from the database and store them in an array in code behind.

Then pass this array to a javascript function that will perform placing this markers on the map. You can have a look at "this" code where I have already provided the code. Hope it will help you out in moving forward.

Upvotes: 1

Related Questions