Click here to Skip to main content
15,886,362 members
Everything / Google Map

Google Map

Google-Maps

Great Reads

by Christoph Buenger
Describes PHP application development with the free Scavix Web Development Framework (Scavix-WDF).
by Avelino Ferreira
"Don't care about Google Maps/Routing/StreetView programming. This Control gives your WinForms applications the power of Google Maps API v3". - my previous article. Unfortunately, since Dec.2015, Google Maps JavaScript API applications requires authentication and the program stopped working properly
by joseacl79
Create a Google maps app and add markers on it
by saboor awan
Google Directions API Polyline Points Decoder in C#

Latest Articles

by User 992674
Google Maps control for ASP.NET
by Christian Specht
Once a year, I need to create a printable map with markers.. The map is for Sindorf trödelt, a website which I built for an annual garage sale in my hometown.. Users can register with their addresses, and I use Google Maps to show them on this map on the website..
by brian_eckert
A simple web page that would allow the user to see all locations where their service could be found
by AivanF
Read how to add a dynamic table on Google map for your webpage

All Articles

Sort by Score

Google Map 

31 Oct 2014 by Christoph Buenger
Describes PHP application development with the free Scavix Web Development Framework (Scavix-WDF).
4 Jul 2016 by Avelino Ferreira
"Don't care about Google Maps/Routing/StreetView programming. This Control gives your WinForms applications the power of Google Maps API v3". - my previous article. Unfortunately, since Dec.2015, Google Maps JavaScript API applications requires authentication and the program stopped working properly
23 Dec 2014 by joseacl79
Create a Google maps app and add markers on it
9 Jan 2012 by saboor awan
Google Directions API Polyline Points Decoder in C#
8 Aug 2012 by irriss
How the Amazon Cloud solutions help tackle huge load and how much it may cost
15 Jul 2013 by Sergey Alexandrovich Kryukov
Probably the simplest approach would be this: you can just work around this problem is you embed a Web browser in your Form.See, for example: http://www.daniweb.com/software-development/vbnet/code/385622/google-map-control-vb.net[^].Sorry, the code sample is in VB.NET, but it should be...
4 Nov 2013 by Erick Garcia
i found the solution using the google places api, and installing on the project solution the nugget package of httpClient, you can do this on the next link.https://www.nuget.org/packages/Microsoft.Net.HttpAnd the final code is in here -HttpClient client = new HttpClient();string...
26 Mar 2014 by Code Help 2014
The reason of the issue "$ is not defined" is that your html is not completely valid. The first is not closed properly. It should be . The opening tag occurs twice i.e. you have two times instead of and . Also the tags inside ...
27 Apr 2014 by Sampath Lokuge
Your code snippet had lots of issues.So I have fixed them all and now it's working. :)The only thing what you have to do is complete the functionality of the auto complete text box. Except that all are working fine.Please check that.
20 Apr 2010 by DaveAuld
I don't know much about the Maps API (I had a play for a few hours one day....thats the stretch of it), but your createMarker function is creating a new map everytime it is called. The map should be only created when the page is initially loaded.Doesn't look right to me.nishi2010...
23 Sep 2010 by Sandeep Mewara
during postbakc the values stored in the hidden variables get cleared This would not happen automatically. You have written some code and the way it is written clears the data. Use DEBUGGER, look into it why and when it gets cleared. It is not a normal behavior where a workaround is...
19 Nov 2011 by Richard MacCutchan
You cannot do this, as has been explained before. If your clients do not have internet access then they cannot use Google maps.
16 Jan 2012 by Ravi Sant
You can put Google Maps on my site without using the Google Maps APIs.Check here[^] for same.
27 Jul 2012 by _Amy
Hi,Try this:protected void Page_Load(object sender, EventArgs e){ string Url = "TXT/business applications_en.htm"; //iFrame1.Attributes["src"] = Url; System.Web.UI.AttributeCollection aCol...
5 Aug 2012 by Meshack Musundi
To complement Kenneth's answer, here's how you'd do it in C#;string url = @"http://maps.googleapis.com/maps/api/staticmap?center=Berkeley,CA&zoom=14&size=400x400&sensor=false";BitmapImage bmpImage = new BitmapImage();bmpImage.BeginInit();bmpImage.UriSource = new...
4 Sep 2012 by D-Kishore
Hi dear,Try this links, it may help for youLat Lays Flat - Part 1 : A Google Maps .NET Control[^]Google Maps Control for ASP.NET - Part 2[^]http://www.c-sharpcorner.com/uploadfile/shabdarghata/google-maps-control-for-asp-net-part-i/[^]
19 Jan 2010 by Christian Graus
Weird. I did a google[^] and found tons of info. Did you make the mistake of using Bing instead ?
21 Apr 2010 by The Manoj Kumar
You can visit for Google Maps API Tutorial Google Maps API Tutorial[^]. I hope that you will get some ideas from here.
17 Mar 2011 by Rutvik Dave
If you want full control use Google Maps API using Flash[^], once you get the data using this control, store it on your custom database and use it.For a quick ready-made control GMap.NET - Great Maps for Windows Forms and Presentation[^] - This supports offline mode alsobut in both the...
23 Mar 2011 by Member 7776549
Hello,I'd like to click on my google map and get the adress (reverse geocoding), especially the name of the place. Basically this is possible with the class "inverseGeocoding" but this class returns the districts of the selected place. For instance: London consists of Kensinghton,...
8 Apr 2011 by OriginalGriff
This is money. Real money.Do not ask this on a public forum, and if you do, do not listen to any replies.Talk instead to the people providing the service: Element Payment Services[^]1) They will be used to this, and will know the procedure well.2) If they don't, use someone else as...
14 Apr 2011 by Pong D. Panda
The document.getElementById is a javascript. Ajax is used if you want a service call accessed on your page without leaving that page (no-postback). That ajax (server side coding) call is still handled by javascript(client side...
14 Apr 2011 by Sandeep Mewara
document.getEl...
19 Apr 2011 by JF2015
Have you looked at this very extensive article?:Google Maps in HTML, ASP.NET, PHP, JSP etc. with ease[^]
23 Jun 2011 by Peter_in_2780
According to the online docco here[^], infoWindow.setContent takes any HTML. So, use instead of '\n'.PeterIf this answers your question, mark it accepted. Vote anyway.
14 Jul 2011 by chrizbahr
So here is the problem im having. I have a google earth map with a line segment from LA to Dallas. I am pulling data from a database that hold the number of miles a person has traveled along that path.The line segment draw correctly but when i calculate the point where the person is, the...
27 Jul 2011 by Christoph Keller
Hi,For your information, the assembly App_Web_xxxxxx is the dynamically compiled assembly from your not-compiled ASP.NET Code. This assembly will be generated when you use the "New Website" command in VisualStudio rather than "New Project" => "ASP.NET Web Application".This seems to be an...
14 Jan 2012 by thatraja
Use getZoom() & setZoom(zoom:number)From Google Maps Javascript API V3 Reference[^]
16 Jan 2012 by sinaone
Hi everyoneI have a problem regarding Google-Maps API keyI want to create a Google-Maps WPF Application, but without Google Maps API KeyI do not have a web application, nor do I wish to run it inside browser, rather its a Desktop Application. Please guide me, how could I run my project...
1 Feb 2012 by radioman.lt
check http://greatmaps.codeplex.com/
1 Feb 2012 by Simon_Whale
WPF Map Control - free to MSDN[^]
4 Mar 2012 by thatraja
Check these articlesGoogle Maps in HTML, ASP.NET, PHP, JSP etc. with ease[^]Google Maps API V3 for ASP.NET[^]Show Your Data on Google Map using C# and JavaScript[^]
2 Jul 2012 by Arjun YK
I've co for generating a map where i need to enter the latitude and longitude manually. Is there a way to generate the google map dynamically on the area entered by the user.Thanks in advanceThe code i've used is
22 Aug 2012 by Dylan Morley
Yes, you need to convert the address to a GeoCode that you then use to place on the map. Google maps uses a LatLng [^] object to initialise marker objects on the map.Further reading here...https://developers.google.com/maps/documentation/javascript/geocoding[^]So, the steps are...
18 Oct 2012 by Ambesha
Use Bing Map API, it respond you with the xml/json data, pares and use as you want :http://www.microsoft.com/maps/developers/web.aspx[^]http://www.microsoft.com/maps/[^]http://www.bing.com/developers/[^]Thanks,Ambesha
6 Nov 2012 by radioman.lt
subscribe to MouseClick event and use map.FromLocalToLatLng
14 Nov 2012 by anglo0072
hi expertScenario: "Get all the cities from sql server then fatch it in javascrtip in order to pass the cities name into geocoder method for taking the makers on google map"what i did: i fatched the cities names from Sql server from webservice and then passed it into javascrtipweb...
27 Feb 2013 by bbirajdar
Quote:If I can write a mobile application that give me information about the people whose I have their mobiles numbers stored in my mobile, the application should give exactly where and how far they are from my position or the distance between me and them and the direction.This application...
10 Mar 2013 by pradiprenushe
Update your button clik as follows
12 Mar 2013 by AnouarDjerba
I'm trying to get route using google map directions serviceUri uri = new Uri("http://maps.googleapis.com/maps/api/directions/xml?origin=adrori&destination=adrdest&waypoints=adr1|adr2|....|adr8&sensor=false"); HttpWebRequest httpRequest =...
23 Sep 2013 by Eduard Keilholz
Good luck!https://developers.google.com/maps/documentation/javascript/[^]
30 Sep 2013 by Azee
Hey there,Your Button is getting a PostBack right now, that could be a problem. So add return false; inside your calcRoute function in the end.and you might wanna debug the JavaScript code to see if it is being called, you could use alerts from line to line.Hope it helpsAzee...
1 Nov 2013 by Ranjan.D
If you are looking for US HealthCare Providers then you can have a look intohttp://www.factual.com/products/healthcare[^]
18 Nov 2013 by nandakishoreroyal
ifrmMain.Attributes["src"] = "Your page name";
2 May 2014 by SRKarn
hey raj i know what you want,for auto fill you use ajax,j-query etc. but you have first data for this. so that you pick data when you type any word, they pick all data related to that word..for reference you check this link....http://jqueryui.com/autocomplete/[^]
3 May 2014 by Msysteme2
hello, sorry for asking too many questions but I am blocked and the clock is ticking meI have a google map inserted in a asp.net page, I filled a dropdownlist, I select an item from the list, I locate on the map, I put a marker, I displays an info window on the mapI need your help to...
5 Aug 2014 by danigeraleddin
I am also a beginner, but I hope to help, You can use something like:ASP Code: Select Alabama Alaska
18 Aug 2014 by SteveyJDay
You can't use '' in javascript. This is asp mark up.document.getElementById('').value = marker.position.lat()document.getElementById('').value = marker.position.lng();Change function codeAddress()function...
19 Aug 2014 by SteveyJDay
Here is a working example. The big change was having one button to perform the javascript actions with google and the other button to do the postback(btnSendValuesToCodeBehind). You will most likely want to hide btnSendValuesToCodeBehind don't set visible=false use style="display:none;"ASPX...
30 Dec 2014 by Richard MacCutchan
See Peter Leow's suggestions at Android client server application[^]
30 Mar 2015 by Richard Deeming
Never use string concatenation to pass parameters to SQL - you'll leave your code vulnerable to SQL Injection[^].Instead, pass the parameters using the command's Parameters collection[^]. For example:private DataTable GetData(string query, params object[] queryParameters){ using...
9 Apr 2015 by Mehdi Gholam
1) It is only possible for your own applications2) Your app needs to send it's "location" to a global server.3) You query the global server for users locations.4) You show the list of locations on a map.What have you done so far?
28 Apr 2015 by Sergey Alexandrovich Kryukov
"Pause in the function" is possible (some blocking call, whatever it is), but it won't help you. Such "pause" is just a wrong idea.Animation is the sequence of the calls to window.requestAnimationFrame, optionally, with some data needed for frame rendering and, typically, time stamp to be...
17 Apr 2016 by Dave Kreskowiak
A little Googling for the exception you got goes a long way. Read this[^].
10 May 2018 by Christian Graus
First google hit: Overview  |  Directions API  |  Google Developers[^]
31 Jan 2010 by Member 3895657
hi all, I used a gif picture in google map as the icon of a marker, and it works in FF, ie8, but not in ie6, it shows "this.G is null or not a object", here is the code
20 Apr 2010 by nishi2010
i m designing a website in which i am using Google map api for showing map and multiple markers of different locations on map . The latitude and longitude are save in my database and in a for loop i m calling a javascript function in which markers are created.The main problem is that the...
9 Jun 2010 by jkesterson
I downloaded this project: Store Locator: Help customers find you with Google Maps[^]However, I need to add phone numbers to the Info Windows and haven't been able to figure it out - can anyone help?Thanks
9 Jun 2010 by Sandeep Mewara
jkesterson wrote:http://www.codeproject.com/KB/MCMS/StoreLocator.aspx?msg=2114048#xx2114048xxSince you are asking a question based on one of the code project artiles, I would suggest you to please use the forum present at the end of the article in order to reach author and get quick...
11 Jun 2010 by parboy
I've been looking for a way to show locations on a world map with zip codes. Your technique used IPs; is it also possible with zip codes and Google?Thank you.
11 Jun 2010 by Sandeep Mewara
It looks like you want to ask this question to an author related to his/her article. I would suggest you to please use the forum present at the end of the article in order to reach author and get quick response. Rarely you will find authors reading this forum. Please post the same at the...
1 Feb 2012 by king402
Hi AllI am working on Google Tile Server. I have written one WCF Service (C#) which fetches tile from Google server using http URL :- http://mt1.google.com/vt/lyrs=m@129&hl=en&x=1&y=0&z=1&s=GalileoAs you know, Google Tile requires three variable parameters x, y and z in it's URL to...
28 Jul 2010 by Bhavin Jagad
I have embedded Google Maps within my web application.I want to implement a feature for Reverse geocoding (getting the address from the latitude and longitude). I have already done it on Map click. You may check the following link...Reverse Geocode on Map click[^]Whenever you click...
31 Aug 2010 by BillW33
You really need to do some research to get basic knowledge on what you are trying to do. Then ask some more specific questions. That said, here is a nice little article CodeProject article to get you started: Mapping with a GPS and C#[^] Here is a tutorial with some more detailed info on...
4 Sep 2010 by Graham Breach
If you are seeing PHP code sent from the server instead of the script output then your server is not configured correctly.See http://www.php.net/manual/install.php[^] for installation instructions.Edit: There are three options I can think of to get this working:1. Install a server on...
12 Sep 2010 by Robert Adamo
Hello all I have posted this question before and even thou someone gave me a great article to read. I must admit it was way over my head. To simplify and if someone can just assist me with his issue it would be greatly appreciated. Here is my problem. I have a JavaScript code in google map...
27 Sep 2010 by samithaslk
Even though ARTEM GOOGLE MAP CONTROL provies more options I'm still having problems with it. It generates a serialization error when i try to store the location details. Can anybody suggest me any solution for this?
27 Sep 2010 by MalikRizwan
Which class of Artem are you using to serialize? tell me name
29 Sep 2010 by samithaslk
My simple requirement is to draw a rectangle or circle on the map by marking points on the map and save teh lattitude/longitude details for the rectangle in the database. When I am trying to store the current location details on map click rhe GoogleLocation class generates the serialization...
15 Oct 2010 by Gibb3h
Is this for the marker that you just created? If so you can store the address details in an array and use them to populate the infowindow in the markers click event.If not you could do some thing like this :- google.maps.event.addListener(Marker, "click",function() { ...
23 Oct 2010 by simon_parkas
How can Google Maps be used in a simple C# Windows Forms Application utilising a WebBrowser control? As I understand Google Maps API v3 no longer requires a key = I won't need an external dedicated web site & key from Google.The example given here...
1 Nov 2010 by saikrishna_kollipara
HI All, I am newer to Google Map API. I want to some help regarding for that.i have the latitude and longitude table in my database. in the server side i want to pass that latlongs values to the javascript function . By using that values how can we draw the route between that points....
18 Nov 2010 by Farah Siraj
Hi,Please can anyone tell me why this code is not running although it was running before very well.Even debugger is also showing nothing although script debugging is enabled in internet options,in left bottom of browser "done" is showing.Please help me
18 Nov 2010 by Richard MacCutchan
if (GBrowserIsCompatible()){This block is not closed properly, I think you should have a closing brace beforefunction createMarker(point)
18 Nov 2010 by Sandeep Mewara
Please don't repost (http://www.codeproject.com/Questions/128912/Code-not-running-in-no-one-browser.aspx). Follow your question at one place. You can use 'Improve Question' button to edit/update your question at any point of time.
28 Nov 2010 by Not Active
If the address is valid you can form a http request to have the location appear in a Google Map. You can find the available API for Google Maps here.http://code.google.com/apis/maps/index.html[^]
3 Dec 2010 by SarethDark
Sorry for my English.I have already read this post , but I can't understand how to do the same in my case. I'm new in Javascript and it is my first job.function addpolygon(n11,n12,n21,n22,n31,n32,n41,n42,n51,n52,info){ var Coords = [ new google.maps.LatLng(n11,n12), new...
6 Dec 2010 by darora85
Hello friends,I am very new for google maps. I am creating an application using google map. I want to show my custom map over it. So I used image overlay and set it's bounds. Image is showing ok. but problem is this I want to show only my custom map, but not area other that custom map. means...
7 Dec 2010 by TheyCallMeMrJames
Unless the area that you're trying to lay an image over maps to the same size as the tiles for the zoom level you're at, you're out of luck. You might be able to use a PNG image as a frame and place it with CSS to 'mask' out the areas you don't like (but I'm not fully sure if this is in...
14 Dec 2010 by Newby101
Hello - I am a beginner at programming and was wondering if someone can help me. I need to be able to display 2 images within my flash website taken from Google Maps. My website is a real estate marketing website so location and wurroundings of an address is important for obvious reasons....
14 Dec 2010 by JOAT-MON
This[^] tutorial looks like just what you need.
17 Mar 2011 by hamid_mohammadi
Hi,I want to create a map viewer.In this map viewer I want to create a large map with tiled images from Google maps in offline mode. The size of the final image is more than 300mb. I want to load and create images of where the user is in the map and search the map like Google maps on the...
6 Apr 2011 by KORCARI
Hi.I need to create a small web application with Google API.The main role of this application is to show the map of one city and by placing the cursor over the map of this city at some points I need to show data extracted from an Excel DB.Can you please give me some directions on where to...
6 Apr 2011 by shakil0304003
Please, see this linkClick
11 Apr 2011 by techsandi
Hi all,i want to create static scrolling map in google
14 Apr 2011 by obhasha07
Hi, I want to create a function to calculate the driving distance between one location to another location. I'm hoping to achieve that by passing the lat/long coordinates rather than the address in text. Is this possible with google maps? If yes, can anyone give me a code sample in VB.NET. I've...
14 Apr 2011 by bitsmax
My application has a graphic window which is used for graphical representation of a component which is to display in a tree. Some times the components are very large in numbers so the graph size is also huge.In this situation it is difficult for me to see a particular component so I want to...
19 Apr 2011 by Anirudha24.d
HiI am using Google map in my application.I am adding marker on Google map by using LAT/LONG of the point as shown below var marker = new google.maps.Marker({ position: new google.maps.LatLng(LatValue,LongValue), map: map, title: MyTitle, icon:MyIcon });But it is found that in my case ...
29 Apr 2011 by Steven.Pinto2000
Steven.Pinto - 1 hr agoCreate a new google map api key from here http://code.google.com/apis/maps/signup.html n the change the sensor=true n add the whole script block on the page n then check
25 May 2011 by awais abbasi009
hi, every one i am working on project related to Google map. i have two textbox when i enter name of places in the text boxes it will show a complete path to me but i want to get full coordinates of poly-line so how can i do this is there any one who help me,kindly
25 May 2011 by thatraja
Here you goPolylines in Google Maps [Part 1][^]C# Google Maps Polyline encoder[^]Google Maps Polyline Encoder and Drawing Tool[^]
1 Jun 2011 by calvin.echols
Where I work we have a website that just launched. In the site there is a school sorter function that uses Google Maps API to find schools in a given radius based on the zip code and search distance that worked initially. It is a stored procedure that references a function that defined in a C#...
1 Jun 2011 by Ruard
It sounds to me that the assembly is compiled for 32 bit (x86) platform and therefor cannot be used by the 64bit Sql Server.Open the solution that contains the C# CLR assembly and right-click with your mouse on the solution. Select 'Configuration Manager'.Here you'll see what platform is...