}); var geocoder; var map; function initialize() { geocoder = new google.maps.Geocoder(); var latlng = new google.maps.LatLng(39.232253, -101.704103); var mapOptions = { zoom: 15, center: latlng, mapTypeId: google.maps.MapTypeId.ROADMAP
} map = new google.maps.Map(document.getElementById("map_canvas"), mapOptions); codeAddress(); }
function codeAddress() { var address = '@TempData["ProviderAddress"]'; geocoder.geocode({ 'address': address }, function (results, status) { if (status == google.maps.GeocoderStatus.OK) { map.setCenter(results[0].geometry.location); var marker = new google.maps.Marker({ map: map, position: results[0].geometry.location }); } else { alert("Geocode was not successful for the following reason: " + status); } }); }
http://csharpdotnetfreak.blogspot.com/2009/08/handle-gridview-eval-null-itemtemplate.html
ReplyDeletehttp://blog.bobcravens.com/2009/11/ajax-calls-to-asp-net-mvc-action-methods-using-jquery/
ReplyDeletehttp://www.dotnet-tricks.com/Tutorial/mvc/9KHW190712-ViewData-vs-ViewBag-vs-TempData-objects-in-mvc3-razor.html
http://www.codeproject.com/Articles/476967/WhatplusisplusViewData-2cplusViewBagplusandplusTem
http://geekswithblogs.net/michelotti/archive/2008/06/28/mvc-json---jsonresult-and-jquery.aspx
msdn.microsoft.com/en-us/library/gg508808(v=vs.98).aspx
http://yassershaikh.com/how-to-upload-and-display-an-image-using-html-beginform-in-razor-view-mvc-3/
http://msdn.microsoft.com/en-us/vs2010trainingcourse_aspnetmvc3formsandvalidation_topic3.aspx
http://dineshkumara.blogspot.in/2011/06/mvc-3-razor-editor-template.html
http://stackoverflow.com/questions/1982517/execution-flow-in-mvc
http://www.dotnetcurry.com/ShowArticle.aspx?ID=814
ReplyDelete@* *@
$(document).ready(function () {
initialize();
});
var geocoder;
var map;
function initialize() {
geocoder = new google.maps.Geocoder();
var latlng = new google.maps.LatLng(39.232253, -101.704103);
var mapOptions = {
zoom: 15,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
map = new google.maps.Map(document.getElementById("map_canvas"), mapOptions);
codeAddress();
}
function codeAddress() {
var address = '@TempData["ProviderAddress"]';
geocoder.geocode({ 'address': address }, function (results, status) {
if (status == google.maps.GeocoderStatus.OK) {
map.setCenter(results[0].geometry.location);
var marker = new google.maps.Marker({
map: map,
position: results[0].geometry.location
});
} else {
alert("Geocode was not successful for the following reason: " + status);
}
});
}
http://www.codeproject.com/Articles/148949/ASP-NET-MVC-3-the-Razor-View-Engine-and-Google-Map
ReplyDeletehttp://stackoverflow.com/questions/3896871/google-map-driving-direction-source-code-for-their-example
ReplyDeletehttps://google-developers.appspot.com/maps/documentation/javascript/examples/directions-simple
ReplyDelete