Click here to Skip to main content
15,892,737 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 Title

Google Map 

3 Apr 2014 by Codes DeCodes
this is my code to return address for providing latitude and langitude of a place.. public string GetLocation() { HttpWebRequest request = default(HttpWebRequest); HttpWebResponse response = null; StreamReader reader = default(StreamReader); string json = null; try...
3 Apr 2014 by Er. Puneet Goel
Hey Agustus JacksonI have just verified it, you code works very fine. And further verified the issue you are facing is due to longer time taken by request. This happen when you have slower Internet Connection or the Request server is busy. At this very moment it works perfectly fine.Try...
6 Apr 2014 by Codes DeCodes
this link helped me..http://www.free-map.org.uk/course/ewt/geoloc.xhtml[^]
11 Apr 2014 by nemezis2
Hello did you get any answer to your question? I have the same problem
2 Jan 2015 by Anil Vittal
I am posting here because I have thought that below link can be helpful to solve problems faced by other/new users related to this topic.Please put keen observation on comments/links in the mentioned link....
22 Oct 2013 by Sergey Alexandrovich Kryukov
Not a question, not enough information, so the post makes no sense, sorry.—SA
18 Jun 2011 by Amit Kumar Dutta
Discusses a technique to record current geographic location from mobile and display in web pages (with Location History Browsing)
24 Oct 2012 by krist_jin
I want to develope apps in windows-8 using VisualStudio2012. When I copy the basic google map code which is given by google to VS2012 in javascript project. It keeps telling me there are some errors.the code is here: Google Maps JavaScript API...
24 Oct 2012 by Member 9332883
replace google.maps.event.addDomListener(window, 'load', initialize);with following line of code..window.onload=initialize;
28 Oct 2012 by mprakash.precise
still we have getting same error.JavaScript runtime error: "google"undefinedif any one give solution that's should be great.
28 Oct 2012 by Santhosh Kumar Jayaraman
try thisvar map; function initialize() {map = new google.maps.Map(document.getElementById('map'), { zoom: intZoomLevel, center: new google.maps.LatLng(-34.397, 150.644), mapTypeId: google.maps.MapTypeId.ROADMAP });
14 Nov 2012 by eddonahue
Hey there,I just wrote a tutorial about using the Google Maps API with Windows 8, http://www.creepyed.com/2012/11/how-to-use-the-google-maps-api-on-windows-8/[^]. It has to do with how the script for Google Maps is called in the project and making sure you can get external content.I was...
14 Nov 2012 by Anshu BM
your source is wrong.This the correct one.It will help you.
12 Jul 2012 by Member 3892343
Hello,I am developing a website (for non-commercial use), I would like to add google maps in the website to show a specific point (the place that is website about). I found how to add the maps in the website, found how to get the coordinates but now I want some example on how to always show...
12 Jul 2012 by StianSandberg
https://developers.google.com/maps/documentation/javascript/examples/[^]http://gmaps-samples-v3.googlecode.com/svn/trunk/draggable-markers/draggable-markers.html[^]
15 Mar 2013 by AnouarDjerba
Hi there,I'm using google map api v3 directions services to display a route and the coordinates are loaded from database.Is it possible to add a new coordinate (destination ) and draw the new path without relaoding the map?
12 Jun 2013 by Manuel john
hiam using one google map plugin in my joomla3.0 project.how can i add two different location in one Google map plugin. please give solution for me Regardsmanuel john
13 Jun 2013 by Kislay Raj
use this function function showMap(lat, lng,div) { var latlng = new google.maps.LatLng(lat, lng); var mapOptions = { zoom: 15, maxZoom: 20, minZoom: 1, scrollwheel: 0, center: latlng, panControl:...
14 Mar 2013 by johngorman1
I have a Google maps api v2 incorporated into my app to provide an activity with a map fragment but I cant find relevant code to add a default location marker.For example when the activity is loaded it will be centered on a street with a marker,eg Old Trafford Stadium,Manchester.I have activated...
14 Mar 2013 by Yvan Rodrigues
Do you mean a default image for the marker, http://econym.org.uk/gmap/custom.htm[^]or the default place the marker should be?There's no such thing -- you have to manually add each one.
5 May 2013 by sagmali
I want to add search box and drawing tool on Google map in my application but I am not getting both the functionality in one map I mean either drawing tool is coming or search box is coming but both of them are not coming on single map.Please give me solution how to get both the...
17 Apr 2016 by Member 11536190
I have created an Android application 3.2 -> 23 and it uses Google Maps. The first layout is a login and then the user will move to the second layout which display the map.It works fine on my device 4.3 but the problem appear when the I try to run it on devices 5.0 and more than. If the user...
17 Apr 2016 by Dave Kreskowiak
A little Googling for the exception you got goes a long way. Read this[^].
23 Mar 2016 by Member 11536190
I tried to get the current location using android studio but always the variable currentLocation has null valueand the android studio draw red line under Location currentLocation= LocationServices.FusedLocationApi.getLastLocation(mLocationclient);and asked to check the...
20 Dec 2012 by Pajapati Narendra
i am doing Navigation app.In this app the select category like cafe it show all nearest cafe name and select any of one it show it address,phone no, and map button when click on map button it will show map and navigation to current position to destination. i not able do navigation show on...
21 Dec 2012 by Abhishek Pant
Android Google Map Navigation with GPS [^]Android Programming Tutorial: Geolocation (Android LocationManager)[^]and Google Maps Android API[^] will help you develop these maps.Integrating Google Maps in Android App[^]Google Video search results[^]
21 Dec 2012 by Varsha Bhatia
In myapp,it can navigate source to destination on map. i am face the problem to show navigation on map. i am fresher in android this my 1st app. guide me provide some sample code,demo,example.which can help to develop my app.
22 Dec 2012 by Abhishek Pant
have a look hereandroid : How to create Navigation on google map?[^]
21 Feb 2017 by Member 13015960
I'm going to develop an itinerary planner for tourists and I need a way to get the places like museums, hotels, secret places e.t.c when a user marks a starting and a ending points in the google map. User will only enter starting and the ending points so my task is to generate the places between...
21 Feb 2017 by Patrice T
Quote:Can I have a sample code for this task?No you have to create it if you don't find it on internet. the alternative is to hire someone to do it for you.As programmer, your job is to create algorithms that solve specific problems and you can't rely on someone else to eternally do it for...
3 Jul 2013 by Safak Tarazan
This article shows how to add google maps api v2 to in android projects.
17 Jun 2013 by malindu12
Hi,I have lat and lng values with name and image on my mysql database, I want to that multiple marker map on google maps v2 in android.when it marker click to popup info window with image and name.How do this using JSON Parser and Maps v2 ???Help me..Thanks
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....
1 Nov 2010 by Sherylee
ever hear of the google maps playground?http://code.google.com/apis/ajax/playground/[^]everything u ever want.
15 Dec 2011 by Member 3055661
Hello,I am trying to drop a server-side control onto a Google Map via an update panel (with viewstate enabled), and need it to behave like a map overlay (tied to coordinates on the map and pans with the map). Is that possible?So far, here is what I have:- Update panel on aspx page,...
15 Dec 2011 by Ganesan Senthilvel
Google API via JQuery is referred at http://www.sitepoint.com/google-maps-api-jquery/[^]
26 Jan 2011 by TheyCallMeMrJames
A quick walk-through of getting Google Maps running in MVC 3 with the Razor View Engine
11 Apr 2015 by Member 11598975
I am attempting to play a sound from a custom marker on Google Maps, I am pulling in the longitude, latitude and the audio file name from my database and I am trying to play the corresponding audio file from my directory when the marker is clicked, here is what I have so far.
27 Apr 2012 by prasanta kumar pradhan
Dear All, Have an issue on auto Navigation between Source Location to destination Location. plz go through my requirement. At any time & irrespective of any location the mobile device should display the push pin in Google map for the Current/ source location of mobile , by reading the...
19 Feb 2017 by sheldonreddy
Hey there, I am following this tutorial:https://developers.google.com/kml/articles/phpmysqlkml[^]it works beuatifully. I read in data from the database and generate an XML file and overlay it on google maps.The code is exactly like the tutorial. the problem now is i am...
19 Feb 2017 by Sandeep1003
Try This I am using setInterval Drifter
1 May 2014 by Raj Negi
I am using google maps in my asp.net website, i have two textboxes for find route between them. Everything working fine but i want autocomplete in my two textboxes, while typing it should give hints by google map. Hope you understand my need. var lat = ''; ...
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/[^]
7 May 2014 by Raj Negi
and add this for autocomplete: //autocomplete textbox 'from' var fromText = document.getElementById('from'); var fromAuto = new...
25 Feb 2013 by A. S. M. Abdur Rab
Please try this code: function Initialize() { var mapOptions = { center: new google.maps.LatLng(-33.8688,...
7 Apr 2016 by Haseeb4328
Dear Reader,I am using Google Maps for displaying Source and Destination. But I want to use AutoComplete so that it will ease user to search path easily. I am using built-in functionality of Google Maps for autocomplete. Kindly view the following function:...
12 Jun 2016 by Bernhard Hiller
View and edit your GPS track records on a nice GUI with online maps and aerial views.
28 Aug 2012 by hh_7
Hi I have this following code:function reverseGeocodeRequest() { createSearchManager(); var userData = { name: 'Maps Test User', id: 'XYZ' }; map.setView({ zoom: 10 }); var request = { location: new...
28 Aug 2012 by Shelby Robertson
function reverseGeocodeRequest() { var latitude = document.getElementById('txtLatitude').value; var longitude = document.getElementById('txtLongitude').value; createSearchManager(); var userData = { name: 'Maps Test User', id: 'XYZ' }; ...
23 Sep 2010 by samithaslk
Hi AllI am using google map in my asp.et applicaiton. Here the employe can draw a location on the map and he can save the selected location to the database (latitudes and longitudes for the location). I can draw a rectangle using javascript but can't access the points defined for the...
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...
23 Sep 2010 by samithaslk
I am trying to strore values (latitudes and longitudes) in a hidden field inside the javascript that draws the ploygon as I can't access those points directly in code behind. The valuses get stored in the hidden filed. As soon as I click the save button a postback call is generated and values...
25 Sep 2010 by MalikRizwan
I recommend you to use [ARTEM GOOGLE MAP CONTROL] for this.. you wouldn't need to use hidden fields and all that.. just drag control on your page and start using it.
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...
20 Jan 2014 by Member 10386871
Good day folks,I am presently working on a Windows form that displays markers on a google map by fetching geographical co ordinates from the database. However due to excessive number of markers, i would like to implement clustering of these markers. I have been stuck on this issue for...
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...
23 Oct 2010 by shakil0304003
You can see this linksClickClick
24 Oct 2010 by simon_parkas
Many thanks for your help shakil0304003. However, I already came across both articles previously in my search for a solution. Unfortunately, while the 1st reference talks about a .Net CompactFramework for PDAs and is complex in it's coding, the 2nd reference leaves the same question that...
30 Jul 2013 by zealSYS
Below is code, I am using in a project#Region "GoogleMap" Dim GoogleMapLocation As String = "" Private Sub LoadGoogleMap(ByVal Location As String) If GoogleMapLocation = Location Then Exit Sub GoogleMapLocation = Location Dim a As String = "" & vbCrLf &...
13 May 2014 by Raj Negi
I am trying to display total distance in the repeater label. I am using repeater to display my records from sql database. I have latitude, longitude column in the database. I want when my result page loads it will ask for user to share their current location, and when user accept it then...
21 Aug 2013 by ran_deep
I'm quite new to MVC and am not sure how to put this question forward.Basically, I have a view with couple of panels; one for gridview, another for google map.subpane.Panes.Add(mapPane =>{ mapPane.Name = "MapPane"; mapPane.PaneStyle.CssClass = "mapPane"; ...
10 Mar 2013 by Abhinav_007
Hey Guys,I am encountering a problem regarding how to call a javascript function using an ASP.NET button.My javascript is as follows:
10 Mar 2013 by pradiprenushe
Update your button clik as follows
4 Aug 2014 by WarEagle08
Trying to run the GeoCode function and call it from two different DIV IDs. It works fine with the first div (Where I'm calling it from US States drop-down list) but not with the second (Canada States drop-down list).Javascript Code looks like this:var geocoder;var map;function...
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
2 Sep 2011 by mhamad zarif
Hi all ,Today i was asked to reply if tooltips content in maps can be added dynamically from database.So my question is that can this be done or google and bing and any other map dont allow this ?Thanks in advance.
23 Jun 2011 by Ashy-G
HIIm wondering if it is possible to use the google api in a wpf desktop application?is it possible? if anyone has any clue or an alternative, please help. Thank you
23 Jun 2011 by Pete O'Hanlon
You can - basically, you need to use the WPF Browser control (which just wraps the standard browser control). This can be hosted inside your WPF app with no problem.As an alternative, why not create your application as a Silverlight application, and enable it to run Out Of Browser?
1 Feb 2012 by radioman.lt
forget javascript use sharp stuff http://greatmaps.codeplex.com/
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 ...
19 Apr 2011 by JF2015
Have you looked at this very extensive article?:Google Maps in HTML, ASP.NET, PHP, JSP etc. with ease[^]
16 Jun 2023 by Maisum Abbas
I am trying to create a polygon using Google APIs. Now, I know how to create a Polygon using Google Maps. The issue is with the points. What I have tried: Earlier I was using a third-party service: Smappen to get points for the isochrone...
2 Sep 2015 by Member 11367931
am trying to load google map by passing city name or address.1 ) Map not displaying2 ) How to load google map passing address or city name3 ) How to load different location on mouse-over() that pass dynamic address
18 Apr 2015 by hllwrld
I want to change the text size of a label which I have created by InfoBox in google maps. It is affecting the text but not text size. Here, what I have tried so far:function addLabel(text,a,fontSize){fontSz = fontSize + "pt"; var myOptions = { content: text...
18 Apr 2015 by Member 11618051
you Need to assign the size of the textbox
27 Jul 2012 by debo_india
Hi all,I have a single page with a datagrid (on the left hand side) and an iframe (on the right hand side). The datagrid is filled with all vehicles' data from database, while the iframe is filled with a Google map to plot these vehicles. The iframe actually loads another page to do the...
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...
18 Nov 2013 by nandakishoreroyal
ifrmMain.Attributes["src"] = "Your page name";
14 Feb 2013 by LokkiUA
Hi. How can I change z-index in in Google-maps Auto-complete or in Ajax ModalPopUp. There are a lot articles in Google, but it doesn't work. What can u suggest?Thanks
18 Apr 2013 by Abhinav_007
Hey GuysI wanted to know that is it possible to change the colors of the path displayed in the Google Maps APIv3 specially in the TRANSIT section where different using modes like BUS, RAIL and WALKING are used for displaying the result. Can I change the displayed color of these different...
27 Oct 2013 by Patrick McCurley, Rachel Davey
An Azure based software solution allowing users to discover events around them on a massive scale. Features ASP.net MVC4, Entity Framework and a large importing backend utilizing Azure virtual machines
4 Dec 2014 by 07405
Hi everyone,How can i clear drawing manager and allow user to draw one polygon at onceMy code goes here$(".PolygonAdd").click(function (e) { var drawingManager = new google.maps.drawing.DrawingManager({ drawingMode:...
2 Aug 2014 by ANJYR
http://stackoverflow.com/questions/24950528/combine-content-for-multiple-markers-in-one-infobox-in-google-maps-through-asp-n/25057604#25057604[^]
14 Apr 2011 by funniezatee
Hi,I am getting kind of confused as I was coding a simple input text box that takes ina zip code, which then displays a google map with its map api.I initially started out with ajax in mind, but as i was doing it, I foundthat i ended up with a javascript function that takes in the...
14 Apr 2011 by Mahendra.p25
try this LinkClickhere[^]
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...
16 Oct 2012 by ranju007
I need a MD5 finger print key i generate the key store and all but it generate only SHA1 key...how can i get a MD5 key.
16 Oct 2012 by Jaydeep Jadav
Getting the MD5 Fingerprint of Your Signing CertificateFor more information about using Keytool and Jarsigner to sign your application, see Signing Your Applications on the Android Developers site.To register for a Maps API Key, you need to provide an MD5 fingerprint of the certificate...
11 May 2012 by Denonth
I was posting similar post on some other site already. And I did get an answer in theory but I really need somone to help me.So I am using this EXAMPLE for testing my GPS. What I want to do is how to get standard decimal values like 56.322415 for latitude and longitude. Because now I am...
11 May 2012 by Maciej Los
Read this: http://msdn.microsoft.com/en-us/library/system.globalization.numberformatinfo.numberdecimalseparator.aspx[^]
12 May 2012 by Denonth
Here is the picture that is on the codeproject site : HEREAnd this is picture that I am getting when starting a program: HEREPlease help.
29 Oct 2013 by Chakri P
Hi,I am doing a web application in Asp.Net, to retrieve Near By Places.For getting this, i am using the below link,https://maps.google.com/?q=area&near=ameerpet&radius=1From the above link i am getting the places with in 5 kms having the output in the form of displaying locations...
30 Nov 2015 by Jurdo
I need to convert logical screen cordinates to latitude/longitude. I have image, which is return from google static api url. the size of returned image is 512x512 and this image is placed to the WPF Image control of size 300x200. When I move with the cursor through the image, I would like to...
18 Dec 2015 by magred123
Perhaps you can take a look at Bing Maps? This provides a real map and works with real coordinates.
12 Aug 2012 by mzkotku
string dosya_adres = @"C:\Users\...\Desktop\exam.xls"; OleDbConnection baglanti = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + dosya_adres + ";Extended Properties=Excel 8.0"); baglanti.Open(); string query = "select * from [Sayfa1$] "; ...