google maps - Can't translate some Javascript code I need for my C# App -
i'm trying build simple app locates restaurants nearby kinda lost since can't find how translate piece of code google guide c# , implement app since cannot find placesservice way try.
var request = { location: pyrmont, radius: '500', types: ['store'] }; service = new google.maps.places.placesservice(map); service.nearbysearch(request, callback); function callback(results, status) { if (status == google.maps.places.placesservicestatus.ok) { (var = 0; < results.length; i++) { var place = results[i]; createmarker(results[i]); } } }
chat conversation end
try one: googlemapsapi nuget package
it's 'google maps web services api wrapper .net'
here github page can find examples, library pretty documented.
Comments
Post a Comment