google-maps

load a google map from this information in iphone?

hello guys i have a UITableCell which has some details like this "550 Ashbury St., San Francisco, CA, 94117".the details are coming from database.now i want that when i click on the cell a new view should be loaded with google map with this address. any idea how to achieve this??? ...

unzip strings in javascript

anyone knows a simple JS library implementing the UNZIP algorithm? No disk-file access, only zip and unzip a string of values. there are ActiveX, using WinZIP and other client dependent software for ZIP, written in JS. but no pure algorithm implementation, is it really difficult or non-functional? i would use it for displaying KMZ fil...

Ruby on rails gem for google map integration

Hi there, I would like to ask which is the best solution for integrating google maps into ruby on rails apps. Is a specific gem worth it or should we write our own views for it? Thanks for any input. ...

How to find out when all addresses have been geocoded

In the Google Maps API, multiple calls to google.maps.ClientGeocoder.getLatLng(address, callback) are not guaranteed to finish in any order. What is an elegant way to determine all addresses have been geocoded, given an array of addresses? Should I just count down based on the length of the array and execute code in the callback only i...

Javascript and Actionscript 3 [Setting a variable woes]

Okay, so I'm trying to set a variable via a javascript method call. However this is not working. I googled and ended ip going back and trying swLiveConnect, but that's outdated and it turns out my way is now the way to do it. So here's my javascript function and actionscript. I have no idea what's going on, I bow before the more skilled ...

Google Map Search with City/state or Zip

i would like to make a search with city/state or Zip within a 'X' distance . The corresponding results will be viewed in google map. is there any help regarding this?? i need it very urgent. Please help!!!! ...

google maps : put markers all over visible section on Google map display.

I want to show limited numbers of markers(let's take 50 or so...) at all zoom level and in a manner that markers covers all entire Google map display. So, If I am viewing whole world in map, it will show markers all over the world not to exceed a certain number, and the if I zoomed to USA it will only show previous number of markers on...

Google Maps: Why does MarkerClusterer not work?

Hello! At first I want to say: I couldn't find a support forum for this library so I would like to try it here. I hope such questions are allowed here and the link to my page needn't be removed. The link is only for seeing how it works and which parts don't work. Please don't remove it. Now to the question :) I want to use the library...

iphone maps help needed ...

Hi all, I need you help. I saw one application myhomes for iphones. link for that app is from myhomes.com. they are using map in which markers are there when you click on marker one button is displayed(that is really a thaught for me how to disply a button in objective c when we click on marker in webview because there we might using jav...

Problem using GIcon() for google maps

When I do not use GIcon(), the location point is displayed correctly. However, when i use GIcon(), the location is displayed at an incorrect place. Here is my code: <script language="javascript"> var Icon = new GIcon(); Icon.image = "images/myicon.png"; Icon.iconSize = new GSize(10, 10); Icon.iconAnchor = new GPoint(5, 34); Ic...

What is the most efficient way to work with distances between two coordinates?

I have 2063 locations stored in a mysql table. In one of my processes I need to exclude certain results based on how far away they are from a given point of origin. The problem is, I will need to filter a couple of hundred, maybe a couple of thousand results at a time. So what would be the best way to do the distance math. Should I do i...

Using google maps API with varied domains

Ok, so I have a site that uses the google maps API, and I want to serve it from more domains. The fact that the API key is tied to a domain greatly hinders my efforts on this front. Is there any solution more elegant than getting a key for every domain? ...

Problem with Gmaps in usercontrol

Hi, I am having a problem with google traffic maps in a usercontrol.I have a usercontrol which has google traffic map with a Zip Code textbox, Search and Clear link buttons. The problem with this usercontrol it displays map with the traffic for on page load(with default zip) but when I try to search for a zip and click search link butto...

How might I divide a Google Maps display into an equal number of parts?

I want to divide the map display area into a number of equal parts. For example: 10 parts horizontally and 15 parts vertically, resulting in 150 equal parts. I do not know if Google Maps support such a thing... map.getBounds() return the total visible area; so , var bounds = map.getBounds(); alert("main: "+bounds.isEmpty()); var...

How to set Google map's marker's infowindow max height?

If the contents of the info window of marker is too long, it won't fit into the window, it will overflow at the bottom. How can I fix this? ...

How come this function always returns 'undefined'

function getLongLat(address) { geocoder = new GClientGeocoder(); if (geocoder) { geocoder.getLatLng(address, function(point) { if (!point) { return "null"; } else { return point; } } ); } } If I put alert(point) in I get the longitute ...

Zend Framework won't let me include Google Maps API

Hi! I'm experiencing this problem: I want to add the Google Maps API to my Zend Framework application using the HeadScript Helper in the bootstrap: $view->headScript() ->appendFile('/static/js/jquery-1.3.2.min.js') ->appendFile('/static/js/jquery-ui-1.7.1.min.js') ->appendFile("http://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;...

google maps : How to find if any markers inside map.

I have divided the my google map display in to numbers of parts, Now I want of find it out if any markers are positioned inside a/any particulate cell. Any Help ? Farther Explained : I have got the map bounds by map.getBounds(); method and then farther divide it into numbers of sub-bounds. also I have putted markers as map....

Why don't I get a 'same origin policy' warning when using the Google Maps API?

I'm making a RESTful web service call in my JavaScript page and get the following warning: "This page is accessing information that is not under its control. This poses a security risk. Do you want to continue?" Now I've read up on this and am aware of the cross-domain, same origin policy. However, I don't get such warnings when I c...

How does GGeoXML access cross-domain XML files?

Google Maps's API object GGeoXML is able to access cross-domain XML files (usually KML or GeoRSS). It does not use XmlHttpRequest because it throws the "Access to restricted URI denied" exception (as it's supposed to). Also, it does not use Google's GXmlHttp wrapper because I've tried and it throws the same URI denied exception. So, GGe...