google-maps

twitter geocode to google maps

Hi Im trying to make this tutorial to work but Im having some difficulties. http://woorkup.com/2009/12/26/how-to-play-with-google-maps-and-twitter-api/ When I run the loadFromTwitter function I get a javascript error. It says "invalid label". The code so far is: loadFromTwitter = function(lat,lng,r) { var url = 'http://search....

Hiding the Info Window of a business result in an iframe embedded Google Map

I am attempting to embed a google map into a page of a website using google maps' iframe capabilities (so that I can avoid having to add things within the head and inside the body tag of the page) When I create the iframe code, everything is fine except for the fact that the info window associated with the pin is opening by default when...

Need help understanding boundCenterBottom()

Hey all, Trying to replicate the behavior of ItemizedOverlay.boundCenterBottom(), inside of one of my Overlay classes. I am fairly certain that I can do this using setBounds(), but I am utterly lost as to what setBounds() is actually doing. Thanks, Hamy ...

Put several Google Maps on page using Symfony and sfEasyGMapPlugin

I'm using Symfony 1.2.9 and sfEasyGMapPlugin 3.0.0 I need to put two gmaps on one page. I've made custom ma name and DIV's id for each map. But I still can't make it work. Only second map is shown. The first one is not created. Does anybody knows how to make them work using sfEasyGMapPlugin? ...

PHP loop inside Javascript at header - is this code valid at all?

Hello Dear StackOverflowers, I am new to web programming and finding the server-client mixture confusing. I have written very simple code which accepts a PHP 2D array [index][keys] (from a query) to just draw markers on a Google map (JavaScript). It works. But it doesn't look right to me! Is this indeed the correct way to pass the val...

Converting a class from Mootools to jQuery or classic javascript

Following Mootools class helps developer to draw a circle overlay on Google Map using Google Maps API v3. I'm using jQuery in my projects and entry-level knowledge in Object-oriented javascript. In Google Maps API v2, this is very easy but API v3 currently haven't built-in methods for drawing circles on map. Plus, in API documentation, ...

How can I have a smooth animated move between 2 Google Maps locations?

When clicking from one marker to another in Google Maps, the map screen animates the move smoothly if both markers are within them initial map view but jumps if one of the markers is off screen. I'm trying to set up a map which has several locations within the main map area but has one which is 'off screen'. I have a signpost icon to th...

Zip codes in Radius Google Map

Hope someone can advise, I would like to be able to use google map API to find all Zip codes/cities with x Miles of a point. Has anyone done such a thing with google map or maybe some other type of service. Would love to know if so how you have achieved it ! Thank you if you can advise. ...

default load of a single location

Hello, I want to load always a single location in google-maps using javascript and html. thanks v.srinath ...

iPhone - Native App GeoLocation VS Web App GeoLocation

Here's my situation; I've built a very simple web app that looks up a users location and plots it on a Google map. Here's my code: http://pastebin.com/d3a185efd When I test it, my location is detected as being >= 500 meters from where I actually stand. BUT When I open up Google Maps or Gowalla my location is correct to within <20 me...

Google Maps based benchmark for browsers?

Anyone knows if there is any benchmark done to browsers in a "google maps" test suite? Google Maps with lots of markers and data can really get slow so maybe this was an interesting "real world" benchmark that stresses javascript / DOM management in browsers :) ...

How can I center google map based on countrycode?

According to the documentation, I found out this : geocoder.setBaseCountryCode(countrycode); However this did not work even if I hard codded the country code ( both cases :small-capital). Any help? ...

What should be the sspn value for 1mile X 1mile square on map for google local search api

What should be the sspn value for 1mile X 1mile square on map for google local search api? I tried out sspn value to be 0.01,0.01 but not very sure about this. I need to search from google local search for businesses within 1 mile radius of the current user's position. ...

Overlay Google Maps Normal tiles in the Google Earth Api

I'm not sure if this is possible, but I would like to overlay the Normal Google Map Tiles(type: G_NORMAL_MAP) inside of the Google Earth Web Api. The satellite maps have too inconsistent of contrast for the layers I want to display. Any help would be appreciated on if this is possible, and if it is a direction on how to do it. Thank...

Interacting with a verified location? - Google Maps

Ok so there are loads of Businesses marked on Google Maps these days. But I cannot interact with these in any way. This is the information I have: venue name: Ministry of Sound address: 103 Gaunt Street London, SE1 6DP Google's Geolocation only gives me Coordinates (lat, long) Formatted Address I want an application ...

Google-maps? Or something else?

I need something like Google-maps, usable on a commercial project. Can I use GoogleMaps? What if they should change the terms of service? Would I be better with somethin elike Open Street Map? I need full coverage for North America, but also for Europe and Asia. Which might be best? Thanks ...

Should I code for browser or PC? (fleet management)

I have to architect a commercial vehicle fleet tracking system. Each vehicle (a few 100, max a few 1,000) will have a GPS and satellite transmitter and will periodically report its position. Positions will be stored in a database and used to create a Google Map. There will of course be other functionalities. Security, log in, etc and ...

How to draw a route between two geopoints on the Android

I have two OverlayItem's on a MapView. How can I draw a route between the two geopoints? ...

Prevent two google maps polylines overlapping

I'm making a google maps app that displays GPX tracks. Some of the tracks do overlap for a distance. They do not have identical points, but the polylines seems identical when they are drawn. This makes one of them disapear behind the other one. The solution would be to draw overlapping tracks next to each other, like subway maps do. How ...

doctype error with googlemaps

Hello, I am having an error when I try to display googlemaps If I load the googlemaps javascript source I get this error in firebug syntax error [Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML...3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\nmaps?fil...sor=false (regel 1) I have this to load the file <?php if (isset($gmap...