google-maps

google geocoding limit

there is a limit of 2400 geocoding request for google service. even if each request is cached and not duplicated its possible to exceed this limit if the request is being made from a rails app. short of purchasing the premium package(which i dont know the cost of), what else can one do? thanks ...

Good way to load multiple lat/long points from a database into google map markers?

I have a table containing multiple addresses, including their Lat/Long coordinates, and I want to place many of these markers onto a google map at once, using asp.net webforms and Google Maps Javascript API V3. The tutorials show how to add one marker: http://code.google.com/apis/maps/documentation/javascript/overlays.html#Markers var...

How to remove default A B markers on google maps route direction

var directionsService = new google.maps.DirectionsService(); var directionsDisplay = new google.maps.DirectionsRenderer(); var startMarker = new google.maps.Marker({ position: start, map: map, icon: 'start.png' }); var stopMarker = new google.maps.Marker({ position: stop, map: map, icon: 'stop.png' }); directionsDisplay.setMap(map); v...

JQuery interface for finding location in google map.

Can anyone please suggest any jquery script for capturing google map location from the user? To be more specific... I want website user to locate their addresses online using Google map so that I can store address' location in the db. It should be very simple approach with following steps.. User provides the address in the address fie...

Google maps V3 GSize has changed

I am switching google maps from v2 to v3 and I am running into a problem with finding the conversion from GSize. Does anyone know how to make the change. opts = { 'labelText': infoname, 'labelClass': 'citymarkers', 'labelOffset': new GSize(-35, -40) }; var marker = new LabeledMarker( new google.maps.LatLng(this.lat, th...

Adding click listener to Google Maps v3 Compass (navigation control)

I am trying to figure out how i can attach a click event to a google maps v3 compass. I have created a function that re-draws markers on a map and want this to be fired when the user click on the compass (arrows top left) of the google map. I am working with google maps v3 and cant seem to find any way of doing this through the documen...

What is openInfoWindowHtml and GPolygon in google maps V3

var polygon = new GPolygon(polylines[0],"#FFFFFF", 1, 1.0, color,opacity); polygon.hid = this.id; polygon.heat = this.heat; google.maps.event.addListener(polygon, 'click', function(point) { HoodsUnselect(active_hood_id); active_hood_id = polygon.hid; polygon.setOptions({fillColor: '#2948e4', fillOpacity: 0.50 }); /...

Is there any easy way to duplicate the search functionality of the Google Maps app on iPhone?

I'd like to be able to search and have the results pop up as annotations just like the Maps app on the iPhone. How do I go about doing it, and how difficult is it? ...

How to integrate Google Maps in a web application?

I have a web application. I want to integrate the Google Maps to show the map of a location where user types in the search location. Any help? ...

Problem of multiple marker on same position in Google Map API

I am using google map in my application. I have thousands of markers on my map. I can display them well on map. I am using MySQL as my database in php. But I have a problem when there are more than one location on the same position. It displays only one marker for all the locations(for same position). In API, there is no solution for...

How can I make infowindows resize for tweets in Google Maps v3 with Javascript

Hi, I'm trying to add a few tweets to an infowindow in Google Maps. I get the tweets to display in a div that is the content of my infowindow, but it's the wrong size. I thought by calling 'content_changed' when the marker is clicked, the infowindow would resize - it doesn't. I'm sure this is pretty straightforward, can someone help m...

Need help with making personalized maps in google map..

Hi all, I am trying to get something very simple done since a long time with Google Maps, and just can't get it done. This is so confusing and counter-intuitive unlike many Google products. I am not sure if I should be putting this question on superuser.com , but I am putting it here, as this is far more active. Say, I am in a new town...

Snap to Roads Android

I'm writing an Android app and I need the ability to take a lat/long value and find the lat/long value of the nearest road to it. I've read the article at http://econym.org.uk/gmap/snap.htm, and tried to implement this, but I've had to use the Google Maps Webservices rather than javascript (since it's an android app). When I make a reque...

Can the v2 and v3 Google Maps API coexist on the same page?

Hey there, I have an issues/bug when trying to have a v3 and v2 google maps on the page at the same time. The core of our application uses v2 of the API and adding some new functionality we decided to use v3 of the api since v2 is deprecated. So I'm dynamically loading the v3 version of the api in another "tab" on the application. The...

google maps problem

hi all, i am doing online food ordering project. the restaurants register and create zones, these shows that how much long this restaurant delivery food items, my problem is how to create zones in google map. and when company emplyee open his company it must shows the near restaurant (based on zones). is it possible. can anyone have plea...

Google Map iframe in jquery-ui tabs changes view.

So, i've included a simple google map in a Jquery UI tab - but when the tab is opened, the map is centered in the wrong place (not too far off, but too much to be acceptable). Whith the tabs-functinality turned off there is no such problem. Ii this a known problem? SHould I be using the google maps API instead of including an iframe? E...

Googlemap highlighing specific country on map.

Hello, Is there a way to draw lines around the countries and onmouseover changing the background-color of that country on map. Thanks. ...

Android: Auto Refresh Google Maps

Hi all, I want to ask about how to auto refresh the Google Maps? So i have an activity with radio button inside that user can choose about the interval of the auto refresh. Then I create a class with a map view with class that extends the CountDownTimer. The problem is MyCountDownTimer has a constructor that display it own interface. H...

Google Maps API integration - Click function for map markers, causing headache

Hello, So, as the title suggests I am 'trying' to get the markers on my Google Maps to activate and display some information when clicked. Problem is that somewhere along the way my markers have disappeared (or at least aren't being plotted) and I'm getting some weird warnings about code coming from Google when I examine for breakpoint...

Google Maps algorithm

Hello, how can I implement algorithms such as Dijkstra or backtracking on Google Maps integrated in Android ? For example I want to compute a route from city A to city B such that I pay the lowest price for gas. ...