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

Google Map 

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...
7 Jun 2023 by Maisum Abbas
Hi, I am trying to calculate drivetime from the polygon. The scenario is this I generate a polygon based on specific location lat and LNG and drivetime. After that, the user is allowed to modify the polygon based on which drivetime should be...
31 Mar 2023 by István Balogh
I'm trying to display markers for each address i have in my database. I'm displaying a map, fetching the addresses, and trying to convert them into latitude and longitude to be able to display the markers. Unfortnately I'm getting the above...
31 Mar 2023 by Richard MacCutchan
See Geocoding Service �|� Maps JavaScript API �|� Google Developers[^].
28 Dec 2022 by rgnSayan
The Requirement -> When we search a place in google map it comes with a thin border around the searched place. I require that same thing in my angular app. Here is the script which I am using in the code:-...
24 Nov 2022 by Member 8840306
I am an new in map drawing.I want to generate data set.I have a county boundar lat long list by using it I generate the country borader using OpenGL. Counry borader data set is like this lat long 33.666 71.44 33.888 ...
24 Nov 2022 by Richard MacCutchan
As I suggested in your previous question on this subject at Download map at different zoom levels image fragment(suqare) for a scpecific country in image format (jpg) with lat long?[^], check the API documentation.
21 Nov 2022 by Member 8840306
I am new in drawing map country wise from scratch.Is it possbile to download the Image DataSet of map of a Spcecific Country in at different zoom levels image fragment(suqare) image format like jpg with lat long of each corner of square? I...
21 Nov 2022 by Richard Deeming
Have a look at OpenStreetMap[^], which has far less restrictive terms of use[^] than Google's maps.
21 Nov 2022 by Richard MacCutchan
See Google Maps Platform �|� Google Developers[^] for details of how to get map data.
12 Oct 2022 by Richard MacCutchan
This forum is for technical questions: https://www.codeproject.com/KB/FAQs/QuickAnswersFAQ.aspx[^]. If you want to know how Google products work then the place to ask is one of the Google forums.
10 Oct 2022 by OriginalGriff
Repost: Deleted. Please do not repost your question; use the Improve question widget to add information or reformat it, but posting it repeatedly just duplicates work, wastes time, and annoys people. I'll delete this one.
29 Oct 2021 by User 992674
Google Maps control for ASP.NET
3 May 2021 by Member 14654591
I have list of link https://maps.app.goo.gl/8M1SZEZHArjoGm8b7 and this https://goo.gl/maps/RuPSqVoP2L66XrYa6 Is there any way to get the latitude and longitude from this link above What I have tried: I tried to enter the link but it doesn't...
3 May 2021 by DerekT-P
Have you tried pasting those URLs into your browser, whilst inspecting the network traffic? You'll see that Google responds with an HTTP 302 redirect, with the full google.com/maps URL in the response header. That URL includes latitude and...
10 Oct 2019 by Member 14619265
Hi team, I have implementing live tracking app in which we have move the map via user marker tell me anyone how to move map? What I have tried: i have search on google but not found any solution
10 Oct 2019 by Afzaal Ahmad Zeeshan
What you need to use is some sort of a location tracking object that tracks and updates your app with the updated location. Since you are using Ionic, I believe there might be some limitations as native integrations won't be available, but you can get started here, Background Geolocation - Ionic...
29 Aug 2019 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..
25 May 2019 by chhiew
I have a base map using marker cluster feature and wanted to add another map with toggle buttons (KML layer). After hours of trying and changing the code here and there still unable to get it work. ie. base map is working, toggle layer button when clicked not working. I have appended below my...
10 Apr 2019 by Nirav Prabtani
1) Create one javascript function which will return current position in Latitude and Longitude. 2) Call this function on click of button 3) After getting position you can call the function getGeoLocation with position var map, infoWindow; infoWindow = new...
10 Apr 2019 by Janardhanam Julapalli
function getGeoLocation(){ var map; var latitude = 13.0547712; // I need to replace this with current...
22 Mar 2019 by brian_eckert
A simple web page that would allow the user to see all locations where their service could be found
11 Jan 2019 by Boris Kudryavtsev
Hello,I need help on writing a Windows Form Application in C++, which does the following:1. Use Google Maps (satellite view) to find 2 Latitude Longitude coordinates entered by the user and zoom in on the section of the map located between them. 2. Click in a series of consecutive...
18 Aug 2018 by Member 13953707
I have a google maps web application for a game where the user will click a google map marker, make a selection in the window that pops up and click submit. It uses AJAX to update the database with information selected by the user. The database is pre-populated with names of the markers and GPS...
3 Aug 2018 by DretenX
Hi ,I'm trying to use the code brow but i'm always getting the error 'The remote server returned an error: (403) Forbidden.' on the line ' Dim response As HttpWebResponse = request.GetResponse()'.I replaced [YOUR KEY GOES HERE] with my key (-> are the [ ] necessary?).anyone can...
3 Aug 2018 by Member 13929771
what is the charcount fnction??
10 May 2018 by Christian Graus
First google hit: Overview  |  Directions API  |  Google Developers[^]
24 Mar 2018 by Member 13744702
when I were implementing in my ionic 3 project I have been included google maps in it after I set all the steps were necessary for use maps correctly in ionic 3 (page : google maps with searching in search bar) my typescript code for mapping is : import { Component, ElementRef, ViewChild,...
17 Mar 2018 by Member 13732094
You can encode your path, then insert generated string into your database, and decode it in order to display your polyline again. Here are some links that helped me: Encoding methods[^] Geometry Library[^]
17 Mar 2018 by sagmali
I have created route using drawing tool now i want to save my map.What are the options available to save the map.
16 Jun 2017 by Member 13263248
Integrated Google maps in my iOS app 1. generated API key 2. defined key restriction for iOS app and app bundle ID 3. added pod 4. defined api key in my AppDelegate as func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey:...
16 Jun 2017 by Member 13263248
I forgot enable Google Maps iOS SDK in google developer console.
11 Jun 2017 by AivanF
Read how to add a dynamic table on Google map for your webpage
13 Mar 2017 by apis3445
You can show a map in your WPF application with the Google Maps API v3.
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...
19 Feb 2017 by Sandeep1003
Try This I am using setInterval Drifter
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...
3 Sep 2016 by Kaan Öztürk
var infowindow = new google.maps.InfoWindow(); var latLngSet= new google.maps.LatLng(%#Eval("lat"), %#Eval("lng");); var marker%# Container.ItemIndex%; = new google.maps.Marker({ // The below line is equivalent to writing: // position: new google.maps.LatLng(-34.397,...
10 Aug 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
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
12 Jun 2016 by Bernhard Hiller
View and edit your GPS track records on a nice GUI with online maps and aerial views.
11 Jun 2016 by KGBRS
Hi Im working google maps in asp.net application my taks i need to display multiple marks in Google Map with given input. I have Wire the code as given bellow. My code is executing with out showing any errors by Showing is not loading properly is showing in Gray color as given...
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[^].
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:...
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...
15 Mar 2016 by whitehaker
I am implementating some built in features of google map in my custom map such as direction service as followingvar menu =[{item:"Direction from Here",from:{},to:{},getDirection:function(){ var directionsDisplay; var directionsService =...
24 Jan 2016 by Member 11919288
i have db with data of places:restrunts,hotels etc.how can i get multy places automaticly from google maps?till now i got help from google guidebut i could get only 20 places...maby someone know how to get more than it?thanx!
31 Dec 2015 by Member 8920040
hello,I am working on a web application which is using google map api.The problem is that when the page will refresh than creating a new map object.So I want to store this map object in a cookie on first time page load.If cookie will be null then "setCookee" if cookie is not null...
18 Dec 2015 by magred123
Perhaps you can take a look at Bing Maps? This provides a real map and works with real coordinates.
2 Dec 2015 by Jurdo
But it doens't count with zoom.
2 Dec 2015 by George Jonsson
Maybe this is what you are looking forCovert latitude/longitude point to a pixels (x,y) on mercator projection[^]Or thisMercator projection: formula for latitude based on pixels?[^]
2 Dec 2015 by Jurdo
Hi, I've used web mercator formulas to convert lat/long to X,Y. when I add 50,50 I want to convert it back to lat/long. But I cant find any formula. I've used this formula:https://en.wikipedia.org/wiki/Web_Mercator#Formulas[^]
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...
3 Nov 2015 by Anil Sharma1983
You can done this way. Please check@{ decimal MyLat = 12347; decimal MyLong = 3494858; var script = string.Format("
2 Nov 2015 by E.F. Nijboer
Check out jquery getScript:https://api.jquery.com/jquery.getscript/[^]Or check out this:http://www.javascriptkit.com/javatutors/loadjavascriptcss.shtml[^]Good luck!
2 Nov 2015 by Member 11919288
decimal MyLat = ViewBag.MyLat;decimal MyLong = ViewBag.MyLong;Showing me the following error:"Uncaught SyntaxError: Unexpected...
28 Oct 2015 by UzairDhada
I am having UIView where i want to show the navigation to the location in the google maps in text format, please kindly help me out, that how can it?
4 Oct 2015 by Member 3153152
Hello All.......I am new in Asp.Net Web development..........I want to do ajax post call , in which I want to pass 18 parameters in c# method, can we use json object as a parameter to c# method or what should be the approach to pass these much parameters into c# method?Can anybody...
4 Oct 2015 by Member 12031462
I want to refresh location in google maps in javascript automatically if variables latitude and longitude present in the database changes.My code : It is working fine. But it shows a static map. I want to show current location in database and not a static location. I added a refresh button....
27 Sep 2015 by Member 3153152
Hello All.......I am new in Asp.Net Web development..........I am implementing Fusion Tables Layer Google Maps in Asp.Net(C#) web application.To initialize FusionTablesLayer object, the datapoints can be given in to form of an array or table id is compulsory, if table id is compulsory,...
25 Sep 2015 by Member 3153152
Hello All.......I am new in Asp.Net Web development..........How to get "from:" in "query" to implement Fusion Tables Layer Google Maps into Asp.Net(C#) web application?, can anybody provide a reference or sample application for the same?Can anybody help me out for solving this...
8 Sep 2015 by Moykn
First:This should not be inside the for loop:google.maps.event.addDomListener(window, 'load', initialize);Second:var infowindow = new google.maps.InfoWindow({Javascript doesn't have scope in blocks, so this declaration is inside a containing function. Take a look at this:...
8 Sep 2015 by moyna coder
for (i=0;i { xx=x[i].getElementsByTagName("Lat"); out1=xx[0].firstChild.nodeValue; xx=x[i].getElementsByTagName("long"); out2=xx[0].firstChild.nodeValue; xx=x[i].getElementsByTagName("Name"); ...
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
28 Aug 2015 by abhijeetgupta1988
Follow these links :http://www.wikihow.com/Geocode-an-Address-in-Google-Maps-Javascript[^]http://www.chautauquahomes.us/wikihow/geocode/default.aspx[^] Implementation :http://www.ceat.com/locator.aspx[^]Click on "Detect Location" button.You need to pass the address...
28 Aug 2015 by Member 11367931
Hi all,what am trying to do is, i have data in database for exampleDatabase tableName : Jack mob_number : 445452454 address : al saada street country : dubai In my view @item.Name@item.address@item.country
25 Aug 2015 by Mehdi Gholam
Try the lite mode : https://support.google.com/maps/answer/3031966?hl=en[^]
25 Aug 2015 by Kyudos
Using the Google Maps API, is it possible to turn off the 3D terrain in the Google Maps satellite view? I'd like to get the imagery without it being warped by the 3D surface.
23 Aug 2015 by Member 11929613
Hello,Suddenly Google Maps API stopped viewing. It was viewing until an hour ago. I saved my page but don't re-call changing anything but the zoom to '10'. Changing it back to '11' didn't help.I tried pasting the code but it went a bit crazy..Web page:...
22 Aug 2015 by Member 11829564
hi.i use the Eclipse and google map for a project.i want to scan Qr Lng and Lat to show me the point in map.i done the scan for Qr but i dont know how to set get point and show on the map.thanks.
22 Aug 2015 by Member 11367931
Hi, am trying to display multiple map in a single view but only one map displaying in view.My problem is I want search location by pass data from database table column.ExampleindiachinausaI want to load three different map with three different locations in a single...
17 Aug 2015 by Innopad Solution
I am using below google map api for converting my address to lat and long and it was working fine but suddenly it stop working don't know why is this happening. string urlAddress = "http://maps.googleapis.com/maps/api/geocode/xml?&address=" + HttpUtility.UrlEncode(address) + "&sensor=" +...
30 Jul 2015 by Er. Vikas Sangal
Hi,Currently i am working on Google Earth to plot some points, i have co-ordinates in excel file, i converted excel to .kml file and plot on Google earth. that's all fine till here.Now i jump to my question:Actually i draw all points but my requirement is to show transition(Lines)...
20 Jul 2015 by Yesudass Moses
In the OnClientClick of Button in my ASP.Net Application, I call this function to show a JQueryUI dialog with Google Map Inside. Everything works well for the first time. But, Second time, the map seems to be blank with gray background, But, every other controls inside map are shown. This is my...
15 Jul 2015 by Member 11639014
I want to export map generated from google maps api to pdf or image(format PNG). I am able to generate image but markers on map are not getting exported. Please help
14 Jul 2015 by Ramkesh Banwala
Hello Guys,I have used this library for Gmap clustering (too many markers) . https://github.com/googlemaps/android-maps-utils/blob/master/demo/src/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java[^]As i am using my own icons added in the map, but i have...
13 Jul 2015 by Gaurav.p810
I want to use Google map speech navigation in my app. But i am not able to find out anything regarding that. I checked out many thing in google but none provide me the thing i require. Is their anyway i can use google map speech navigation in iOS without Google map Application in device. I need...
8 Jun 2015 by Member 3153152
Hello All.......I am new in Asp.Net Web development.......... How to integrate Google Heat Maps into Asp.Net(C#) web application? Can anybody help me out for solving this issue?Thanks in advance.- Regards
25 May 2015 by vJay Yadav
you can make your div fullscreen by using the javascript screen object.try the following codeinclude jquery in your markup
25 May 2015 by Member 11573837
hi,i have div wich apear google map and i want to set size after full screen when i exit full screen this is my methode to make div full scree i have link (he's text full screen) and div when i click to this link the div aprear in full screen in the first time i set the width and height...
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...
28 Apr 2015 by yassine101
Hello I developed a tracking application with javascript and now i can play a trace of my cars using a animation function. Next I want to create a function that can pause the trace in any moment after click of the 'pause' button [pause the animation]. i tried something like : var doChange =...
18 Apr 2015 by Member 11618051
you Need to assign the size of the textbox
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...
13 Apr 2015 by Sid_Joshi
Code to find current Latitude and LongitudeStep 2 A from Solution 1GPSTracker gpsTracker = new GPSTracker(this); if (gpsTracker.canGetLocation()) { String stringLatitude = String.valueOf(gpsTracker.latitude); textview = (TextView)...
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.
9 Apr 2015 by ali_heidari_
Hello.I made an ajax server control that exposes google map api. I made all and work good except onething, It initialize 4 google map at end.All my server control event (PreRender,RenderContent,BeginRenderTag,EndRenderTag) raise once. but i don't know why it makes 4 copy of map with exact...
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?
9 Apr 2015 by Member 11593959
how can i get all the user location who are using the application ? i want to show all the user location real-time on the map . All user location will be shown to everyone who are using the application.
3 Apr 2015 by Arjun Deol
Hi,We are working on project where we need to plot some part of canada over google map. We can plot map on google with co-ordinates(lat/long) or geometry values. But our client provided us data in form ofMeridian, Range, Township, section, and LSD(legal sub division or quarter).Could...
31 Mar 2015 by Member 11563762
we just need to add the following code in the selectedIndexChange event of the DropDownList1 so that it will return the filtered records. DataTable dt = this.GetData("select [Name], [Latitude], [Longitude] from [MAIN AREA] WHERE [Name] ='" + DropDownList1.SelectedItem.Text+"'"); ...
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...
30 Mar 2015 by Suvendu Shekhar Giri
Here is a solution using few if..else.. and StringBuilder -Replace this sectionDataTable dt = this.GetData("select [Name], [Latitude], [Longitude] from [MAIN AREA]"); rptMarkers.DataSource = dt; rptMarkers.DataBind();with following-StringBuilder...
29 Mar 2015 by Member 11563762
i need to Filter and display Google Map Markers from database based on DropDownList selection. for that I need to pass the selected value of DropDownList to the query.What should i do in the following code to do the above task?using System;using System.Collections.Generic;using...