Polymer Google Map - Drawing shapes

I've been working with Polymer's Google Map for a while now and have been very happy with the results. Recently I've come across a few use cases where it would be useful to draw lines and shapes between map markers on the map. Google's documentation

Get the Google Maps API time for Javascript

I am trying to get travel time with traffic between two locations. I have followed the documentation guide with all details, but I always get a fixed traveltime between two points regardless to trafficmodel: (best_guess, pessimistic or optimistic). A

How to add custom Gmap markers

I'm looking how to add specific markers to my gmap. This is the code: LatLng coord1 = new LatLng (y, x); advancedModel.addOverlay(new Marker(coord1, "test", "orange.png", "http://maps.google.com/mapfiles/ms/micons/blue-dot.png&quo

Delete the polygon in second click

When the user clicks on the marker the first time I want a polygon to appear. The second time they click the polygon should disappear. This code works fine for the appearing part but it does not remove the polygon from the map. Every odd click just m

Why the JQuery speaker does not need an API key

This question already has an answer here: What's the API Key for in Google Maps API V3? 5 answers I frequently use this JQuery Locationpicker plugin, and I am wondering about why it seems like it doesn't need a Google API key to work, as it looks lik

Google Maps mangling KML

I've created KML files of some world regions for display using the Google Maps API. This has been working fine, but one region has recently started displaying as if the data's corrupt. You can see what I mean here: https://drive.google.com/file/d/0B9

get the zip code with the full API

How to get zip code with auto complete api of google in iOS? I have already tried google place api but it not return zip code So, please any one have solution give me some ideaUsing Google Maps iOS SDK Swift: @IBAction func googleMapsiOSSDKReverseGeo

Google Maps V3: Update Markers

I have some issues with Google maps api v3. I managed to create a map where new markers are displayed when the user drag the map. However, it do not delete the past markers. I have read many tutorials and thread (especially this one: Google Maps V3:

Google Geocoder - Add coordinates to fields

I am trying to find some minamilistic google geocoding script. The ones I have found are very large and complicated, but this one is very simple. The only thing it doesnt do is actually put the co-ordinates in two input boxes like the others. Here is

Google map showing as a gray box

I'm developing this application for a drupal site. Using examples from the api site, I got the map to work fine with hardwired html with javascript fixed in it. But I really need to use ajax and the ajax function with the same data is showing only th

Delete a polygon / circle around a marker?

I hope you can help. I have a two pronged problem but I'm pretty new to javascript and the google maps API (v3) so please be gentle. What i'm trying to do is add a marker to a map based on an address eg. Geocoding, then wherever that marker is, draw

want to get the infobubble content of a marker?

I am using gmap v3. I am facing a problem. The problem is that I am creating dynamically marker and at similar time I am creating the infowindow of that marker. Now I want to add some contents in any infowindow of a marker. But don't know how i can g

Calculation of short distances between lat / long points

I have a MySQL table with Spatial Points, and need to calculate distances. I found lots of material on doing this using the Haversine formula, however all of these assume a large distance between points. In my case, I only care about short distances

Google Map V3 API does not work in localhost

I copied following javascript code from google maps documentation, but it doesn't work, it only shows a white blank page, nothing loads. <!DOCTYPE html> <html> <head> <title>Google Maps JavaScript API v3 Example: Map Geolocation<

iPhone: Using Google to get directions

In order to get directions, Google provides this nice URL: Sample here... How can I use the information that Google provides to get the same direction line on a MKMapView in an app?You will have to either use a web view with a Google map, or draw on

Best way to transfer data to and from a MySQL database

I wonder whether someone may be able to help me please. For a while now I've been working on the Javascript and HTML elements of the Google Maps V3 api. I now want to look at how I'm going to transfer the data to and from MySQL database. I've read qu

Recording Google Draggable Instructions Directions API v3

I'm making an app with the Directions API to create biking directions. The user needs to be able to start from a custom point, add custom stopping points along the route, and actually drag the directions. Once they're done, I need to save the new rou

Gmaps v3 Change the style of MapTypeControlStyle DROPDOWN_MENU

Can someone help me to change the style of MapTypeControl DROPDOWN_MENU without needing to build a complete new one. I searching to preserve localisations using the Default dropdown in place to build my own not localised when load. Thanks.You can use