.NET news » Search results

Search results for query "Google Maps" (7):

Google Maps Control for ASP.Net - Part 1

Google has provided a very reach Google Maps API to use it in our own application. But we need some short of javascript knowledge in order to use it. I don't know about others, but for me it was a little difficult to use javascript along with google apis in ASP.Net pages, specifically if you want to use server side functions to draw google map dynamically. For example, in my case I wanted to pull latitude longitude information from a SQL Server database and then use them to insert pushpins on google map. If you are familiar with Ajax framework, you know the answer. You will have to call asp.net server side function from javascript and use retrieved data to draw a google map. How simple is that? :). Atleast not for me. So I have decided to write a user control which can take care of javascript part and allows me to concentrate on serverside functions.
2008-05-12 23:45:00   Source: Google Maps...   Tags: ASP.NET Ajax

ASP.NET, MVC 3, the Razor View Engine and Google Maps

A quick walk-through of getting Google Maps running in MVC 3 with the Razor View Engine

Google Maps Control for ASP.NET - Part 2

This is second part in two part series of my article Google Maps User Control for ASP.Net. In the first part I have explained how to use this control in your ASP.Net application. In this part, I am going to explain source code of this user control so that you can modify it for your own use.
2008-06-04 13:26:00   Source: Google Maps...   Tags: ASP.NET Ajax

WPF Map App: WPF meets Google Geocoding & Static Maps APIs

How to use the Google Geocoding and Static Maps APIs with a WPF application
2011-08-16 07:44:00   Source: WPF Map App: WPF meets Google...   Tags: WPF

GMap.NET - Great Maps for Windows Forms and Presentation

GMap.NET is a powerful, free, cross platform, Open Source .NET control. It enables the use of routing, geocoding, and maps from Google, Yahoo!, OpenStreet in Windows Forms and Presentation, and supports caching!
2010-06-03 14:23:00   Source: GMap.NET - Great Maps for Windows...   Tags: Components Web Services

Implementing the Store Locator Application Using ASP.NET MVC (Part 1)

Back in May 2010 I wrote a three-part article series titled Building a Store Locator ASP.NET Application Using Google Maps API, which showed how to build a simple store locator application using ASP.NET and the Google Maps API. The application consisted of two ASP.NET pages. In the first page, the user was prompted to enter an address, city, or postal code (screen shot). On postback, the user-entered address was fed into the Google Maps API's geocoding service to determine whether the address, as entered, corresponded to known latitude and longitude coordinates. If it did, the user was redirected to the second page with the address information passed through the querystring. This page then queried the database to find nearby stores and listed them in a grid and as markers on a map (screen shot).

Since the WebForms store locator application was published, several readers have emailed me to ask for an ASP.NET MVC version. I recently decided to port the existing WebForms application to ASP.NET MVC. This article, the first in a two-part series, walks through creating the ASP.NET MVC version of the store locator application and pinpoints some of the more interesting and challenging aspects. This article examines creating the ASP.NET MVC application and building the functionality for the user to enter an address from which to find nearby stores. Part 2 will examine how to show a grid and map of the nearby stores.

2010-08-17 19:00:00   Source: Implementing the Store Locator Application Using ASP.NET...   Tags: Build

Implementing the Store Locator Application Using ASP.NET MVC (Part 2)

Last week's article, Implementing the Store Locator Application Using ASP.NET MVC (Part 1), started a two-part article series that walked through converting my ASP.NET store locator application from WebForms to ASP.NET MVC. Last week's article stepped through the first tasks in porting the store locator application to ASP.NET MVC, including: creating the new project; copying over stylesheets, the database, scripts, and other shared content from the WebForms application; building the HomeController; and coding the Index and StoreLocator actions and views.

Recall that the StoreLocator action and view prompts the user to enter an address for which to find nearby stores. On form submission, the action interfaces with the Google Maps API's geocoding service to determine if the entered address corresponds to known latitude and longitude coordinates. If so, the user is redirected to the StoreLocatorResults action (which we create in this article) that displays the nearby stores in both a grid and as markers on a map. Unlike the StoreLocator action created in Part 1, the StoreLocatorResults action uses a more intricate model and a strongly-typed view.

1