Questions tagged [google-maps-api]
An application programming interface specific to Google Maps.
552
questions
2
votes
0
answers
107
views
What is the method for mapping 200k records on Google Maps API via MYSQL db?
I have a simple Google Maps api linked to MYSQL. I am trying to map a mysql table of 200k records. I have a default display of this data set as heatmap, so am not trying to map 200k markers. Even ...
2
votes
0
answers
728
views
Map gear's OL3-Google-Maps not showing the google layer even after adding google layer
I am using Map Gear's OL3-Google-Maps in order to load the google base map in OL3,
I am adding like this
//Before adding this i am removing the OSM base map tile layer and adding it.
var googleLayer =...
2
votes
0
answers
43
views
Accessing Layers Through an API?
So, I have reason to believe that this information is not available. Nonetheless, it involves using Android, and preferably the Google Maps API (though other maps may have APIs which supply this data, ...
2
votes
0
answers
772
views
Geocode area/neigborhood into polygon vertices
I have been successfully using the Google Maps API using the R package ggmap to find location coordinates for e.g. addresses or city names.
However, Google Maps now shows areas as well, indicating ...
2
votes
0
answers
227
views
Google Maps Licensing
Sorry if this isn't the right place to ask this, I've tried looking around for support forums and have found none.
I had a question regarding the ToS of Google Maps/Earth, it can be found here: https:...
2
votes
0
answers
27k
views
Display google map with boundary lines for each address
I am working on Google MAP API integration and I have tried to display the map with boundary lines for each address, such as Zillow.com.
Eg: http://www.zillow.com/homes/for_sale/priced_sort/25.945776,...
2
votes
0
answers
392
views
How to get indoor directions by using Google API
I have a problem using Google Direction API to get the route between two points(One point is outside the building and the other is inside the building).
When I use API to get the directions, only the ...
2
votes
1
answer
626
views
Reading terrain data from Google?
Am I missing something or is it not possible to read terrain data (such as forests, roads, rivers, lakes, etc) through google?
I'm trying to create an app where you can walk in a scene dynamically ...
2
votes
0
answers
5k
views
Finding and selecting locations in database near 10 km distance from path
In the Google Maps API, I have this Javascript. It is finding and showing user the shorter path between two cities.
<!--////// \\\\\\\-->
<style>
#panel {
position: ...
2
votes
0
answers
242
views
What can I use to calculate drive times /with/ traffic considered?
I am looking to obtain drive times for a large list of addresses and want the results to take traffic conditions into consideration. For example, drive times from a distribution centre to a store at ...
2
votes
1
answer
2k
views
How to add multiple locations to google map?
Well I am not a js developer, and I want to build a google map with multiple locations.
I have a styled google map which looks like this, and I like to add some locations.
After some research I found ...
2
votes
0
answers
824
views
Overlapping Polygons
I have a project that requires us to plot floods in a certain area, the example below shows the flood areas. What I would like to know is how would I be able to shows these polygons in a better ...
2
votes
0
answers
2k
views
How to check if a point is within bounded rectangle from Java
I make an AJAX request to retrieve data from a mysql database. I add the data to google.maps.Data layer as geojson. I would only like to load the data based on the viewport. To obtain the viewport ...
2
votes
0
answers
1k
views
Formatting Google Places API GeoJSON and Import to QGIS?
I'm trying to export JSON or XML data to my desktop and import it to QGIS.
This is the URL I'm using but it appears to be incorrectly formatted:
https://maps.googleapis.com/maps/api/place/...
2
votes
0
answers
4k
views
How to overlay a flat image onto google maps with two points of reference?
The Android API allows for images to be superimposed onto a map. To do so, the developer specifies a set of lat/long coordinates for an "anchor point" within the image, the width (or height) of the ...
2
votes
0
answers
463
views
Is there any way of knowing what Travel Modes are available for directions between two places in Google Maps v3?
Is there any way of knowing what Travel Modes are available for directions between two places in Google Maps v3?
Of course, requesting directions for each travel mode and checking which ones return ...
2
votes
0
answers
994
views
Is it possible to cluster markers based on city name in Google Maps API
I have a requirement to display all the customers in map. Since the customer list is too large it looks messy when I place markers.
I have tried the marker cluster functionality but it groups based ...
2
votes
0
answers
2k
views
How to get Google Street View panoramas on the same street as the requested address?
The Google Maps API geocodes an address to a point. I can use that point to find the nearest panorama (street view) image. I can then determine the heading based on the two points and show the ...
2
votes
0
answers
510
views
How to identify each circles in Google Maps API?
By the Google Maps Drawing API, I can create lot of circle and other shapes. addListner method helps to get the radius, latitude and longitude of the circle. Now I want to identify each circle for ...
2
votes
0
answers
882
views
egeoxml vs geoxml
What is the difference between egeoxml and geoxml?
What i know is both are client-side parsers and both allow me to edit the kml files on the run.
I guess egeoxml is an initiative by google itself ...
2
votes
0
answers
2k
views
How draw a route in Google Maps as i goes on clicking on Google map?
I wanted to get route in Google map whenever I click on the road map of Google. What I mean by click is that when I can click one place then other and so on, but route to each click must be generated ...
2
votes
0
answers
2k
views
Dynamic Contour generation and project on google maps [closed]
Is it possible to generate contour map layer at runtime and overlap or project on google maps.
I am using google map api v3 and want to generate contour map layer using data from sql server and ...
2
votes
0
answers
834
views
directions (path find) given kml supplied bounds
Im trying to generate directions using google.maps.DirectionsService
and I really need those directions bounded by the paths defined from
within a pre-made kml file. I have reviewed the API docs for ...
2
votes
1
answer
2k
views
How do I embed a KML map using the "new" Google Maps?
I have a KML link that I can use to generate an embedded Google Map using "old" Google Maps and would like to use it instead to create a "new" Google Map embedding.
To generate the an "old" embedding,...
2
votes
1
answer
749
views
Reverse geocode through Google Maps API inaccurate?
I have placed around a 1000 markers in my area through Google My Maps, transformed the KML file to CSV, and now want to transform the coordinates to addresses. I am just testing with the first 5 to ...
1
vote
2
answers
2k
views
Using Google API within Python and applying to ArcMap?
I am currently doing a practical project at university (MSc in GIS).
I have to develop a python script and the functionality of this script has been left very open other than we have to use Python ...
1
vote
1
answer
1k
views
Why does size of circle object drawn in Google Maps increase when moving it away from Equator
I'm building a web app that allows the user to search the database based on his Google Maps location and a customizable search area around the location. I've noticed that when I keep the radius of the ...
1
vote
1
answer
75k
views
display latitude and longitude on googlemaps on click
I am trying to retrieve latitude and longitude values. When the user clicks on the google map, latitude and longitude values should be displayed in the text boxes.
My code is:
<%@ Page Language="...
1
vote
1
answer
3k
views
Fetching Google Map tile without using Google Maps API
Is there any way to fetch Google map tiles without using the Google Maps API?
Microsoft Bing Map provides a REST API.
1
vote
3
answers
9k
views
Generate KML file/url from Google Maps
I created kml file from ArcMap and imported into my Google maps, it works. Not sure if you can open this URL:
https://www.google.com/maps/d/edit?mid=13TuHmGuW9nnE-8TACTfGLdDDf6o&ll=38....
1
vote
1
answer
3k
views
googlemutant and leaflet problem view data
I just create a new map with leaflet and GoogleMutan with this three CDN libriaries:
1) maps.googleapis.com/maps/api/js?key=MYKEY" async defer
2) unpkg.com/[email protected]/dist/leaflet-src.js
3) ...
1
vote
3
answers
3k
views
Calling layers from Google Maps API without success?
I'm following the examples of a free on OpenLayers, in the code below I am calling various layers of google maps api. Have checked with the code book and is correct but nothing appears on the browser.
...
1
vote
1
answer
429
views
Making sense of why and when polyline matches what is shown in Google Maps
By making Google Maps API call, I received a response JSON which contained this polyline1:
ezdvBcps}Lt@W@F@BVKl@UK]Wc@}@kAOKBEzA{BdA}Ab@s@LBf@RjARZBv@?rAAfBIX?f@FLBf@^b@hATbAF~@BvB?hALjBHpCLjAVdAd@...
1
vote
1
answer
1k
views
Getting phone number of store from Google Maps
I want to extract some data from Google Maps, I tried before with OSM but the result doesn't satisfy me enough.
What I need exactly, is there any way to take the data description from a feature on ...
1
vote
1
answer
3k
views
Simulation in a Google map
I try to make something like this site but I don't know how. I have found Google API for animation but how do I combine the animation site because I don't have the coordinates of the routing of this ...
1
vote
2
answers
2k
views
Can privacy be achieved when using Bing Maps API for local authority use case?
We have recently won a contract to provide a website for project run for a local authority. As part of the website, there should be a page with a simple map showing the project's locations, when you ...
1
vote
1
answer
13k
views
Keep marker constant on Google Maps Javascript
I want to be able to keep a marker constantly in the center of Google Maps on my mobile application.
I have tried using bindTo functionality of Google Maps, which binds the marker to the center of ...
1
vote
2
answers
498
views
How to use Google Maps for more than just an overlay
I'm using ArcGIS Desktop 10.1 SP1 and I have defined the annual risk of accidents for each segment of a city road network.
I would like to know if anyone tried to do more than overlay on Google Maps ...
1
vote
1
answer
3k
views
Google Maps - Use fitBounds on KML polygon fusion table layer
I have seen example here how to use map.fitBounds on fusiontablelayer
here and here , but I think it works with markers table only. Its impossible to parse the lat and long when the vertex coordinates ...
1
vote
3
answers
16k
views
How upload KML from your local disk using Google Maps API?
I am trying to get load my KML from my local disk with given below code :
<script type="text/javascript">
function initialize() {
var mapOptions = {
center: new google.maps....
1
vote
1
answer
1k
views
Use Google Direction API result to display route in OpenLayers
I need to show route between 2 points in OpenLayers. I have received the route details from Google Directions API. The API has given start location / end location, Steps and overlay_polyline (encoded) ...
1
vote
1
answer
5k
views
How to add marker in Leaflet base on Google Maps layer?
I have tried many way to add marker base on Google Maps but it doesn't work at all, but if I changed my base map to such as open street map which provide by Ersi or Leaflet, it does work.
Why is it ...
1
vote
2
answers
5k
views
How to calculate multiple travel times using gmapsdistance?
I am trying to use gmapsdistance on R to calculate multiple transit times from Google Maps.
I have a Google API key and can generate transit travel times for one origin and one destination with the ...
1
vote
2
answers
2k
views
Google Maps API v3 base map visibility
Is it possible to change visibility or opacity of google base map ?
I am adding it like in simple example, and adding data layer as overlay and want to see only vector markers. Is it possible?
var ...
1
vote
1
answer
1k
views
Is the data supplied to Google Maps or leaflet.js javascript rest API is private
I have a dataset which has to be used for internal/intranet web application. Is the data supplied to google map javascript api to draw map as well as to show meta information through markers is ...
1
vote
3
answers
2k
views
Coordinate System Google Maps API
I am making an application in java using GMaps4JSF where the person will enter the address on the map I'll take this coordinate and consult on my postgis base regions in which region this point is ...
1
vote
1
answer
1k
views
Using Google Maps layers with setCenter and transform in OpenLayers
I have been doing everything in just OpenLayers and has been going great. I have been using markers, vectors, bringing in JSON data via php, and some ajax.
Everything has been in one layer in regards ...
1
vote
3
answers
3k
views
Visualizing Google Fusion Table Map using JavaScript?
When you create a google Fusion Map with geographic data, Google provides you with an iframe link to display the Map on your website. But I need to display that information through Javascript for ...
1
vote
2
answers
5k
views
Google geocoding v3 stopped working
I've been using Google geocoding v3 for about 6 months but all of a sudden it's stopped working (I get a 610 error). It's only stopped in the last week or so.
Then I came across this (see the pink ...
1
vote
1
answer
1k
views
Google Maps API: Can't load GeoJSON when inside a function
I use the sample provided on the Google Maps API page (https://developers.google.com/maps/documentation/javascript/datalayer).
I put the sample inside a function like following
function ...