google-maps

Google Maps, SQL, XML, Ajax oh my!

Hi All, Quick question regarding Google Maps, AJAX and some back end data. How would I go about creating google map that updates in "real time" with information I have stored in the database? The way I see it working in my head is. Database collects geo tagged entries from users. A script (probably php) retrieves the latest record. ...

My google map marker doesn't appear in the website

I have tried this code on my own appserv localhost. It works well (both the map and the marker). However, when I uploaded it into remote server, the marker doesn't show up. I have no idea what's wrong since I don't even modify the google example code. Any suggestions would be appreciated. ps. phpsqlajax_genxml2.php works well on the ser...

Google maps set zoom from hidden input value

I have a form with a hidden input that saves user's current zoom level <input type="hidden" name="zoom" value="15" id="zoom" /> <!-- default value="" --> However, when I try to use the zoom value from the input after I submit my form it doesn't use the input's value var zoom = $("#zoom").val(); var point; var gmap = new GMap2(docume...

Javascript event handling

Hello all. I am using google maps + javascript + php in my application. I want to know two things: In google maps, does moveend event ALWAYS gets fired AFTER zoomend/dragend (whichever of two) event occurs. When I click zoom icon on google map or scroll the mouse wheel to zoom, the zoomend event gets fired more than once. If I zoom in...

GMAP & Location - Coordinates show but cannot show node information

I set up a view with a type of gmap. If I change it to grid, all of the field values output fine. When I switch to gmap, the coordinates show up on the map but I can't get any info on the coordinates/markers. I am very very stuck. I have gone at this several different ways. You can see the example here: http://speakitnow.com/immersi...

About Geolocation in HTML 5

Google Maps can now pinpoint my location with street precision with the help of Firefox. I understand this is a new feature of HTML 5 compatible browsers and that the location is fetched by using some sort of feature of the connected WiFi network (I hope I'm not making any silly assumptions). What I intend to know is how this whole pro...

How can you tell when an Android device has a Geocoder backend service?

According to the Geocoder documentation, the class provides methods into a backend service which may or may not exist on the device. If the geocoder doesn't exist on the device, theoretically a geocode request will return no results. However, how can one differentiate between no results due to there being no backend geocoder service vs...

Context problem in Android example "Google Map View"

I've tried to implement the Google Map View tutorial on the Android developer site, but I keep running into a problem when trying to display an AlertDialog when I click on the overlay image. The problem is that mContext is null when calling AlertDialog.Builder dialog = new AlertDialog.Builder(mContext); in HelloItemizedOverlay's onTa...

How does Google Maps secure their API Key? How to make something similar?

Currently Google requires you to create an API Key that is specific to the domain of where the map will be served from. How does Google enforce this? I want to do the same thing. I expose an API for my service but want to allow clients to embed calls to the API via javascript and not just from the server. I could secure it with just a r...

google map gecoding address parser

i want to parse the addresses from google gecoding api and store it as: address city state zipcode country some places has full address from google map and some just half, how can i know which part of the address is city, state or country? or just zipcode? it would be helpful if some expert pointed out some help here. ...

Google Maps: Geolocation assistance

For some reason, the following Google Maps v3 same does not geolocate my IP http://gmaps-samples-v3.googlecode.com/svn/trunk/commonloader/clientlocation.html But the following link that using Google Maps v3 + Google Gears can geolocate me: gmaps-samples-v3.googlecode.com/svn/trunk/geolocate/geolocate.html Question: Any ideas why ...

Google maps cluster manager

Hello all I am using google maps in my application. I have to show 100 markers on map. First I prepared a markers array from these markers. When markers are added using addOverlay from markers array, it takes some time and they are being added in some animated way (in sequence). I want all of them to get added to map in a single shot...

Google map concept

Hi, I am trying to understand how developing applications with Google map works. I have skimmed a number of tutorials but all of them seem to jump to the code from the beginning. What I am looking for is an explanation, or a set of diagrams, to depict which distinct data sources there are. And who handles events and how? I am not sure ...

Problem with google maps on IE + pop up layer

Hi, I'm using a jQuery plug-in "Boxy" (http://onehackoranother.com/projects/jquery/boxy/) to open a pop-up layer and show a map on it. It works perfectly on all browsers except IE (7 & 8). Some elements like shadow of the marker & infoWindow are transparent, so that you can see background of the page. Here's the test page: http://ko...

google local search or maybe some other api!

im trying to implement local search api, to retreive data for shops and other things from local search, but on demo it shows me 4 pages of result only and for more, it shows a link to result page, which goes to google website, i was wondering if i can pull more data as well or only limited to 4 pages only? http://code.google.com/apis/aj...

getting google map searched location review and information

i am wondering if there is any way we can pull the reviews and information of a location/store/shop/building from google map info, check following url please. http://maps.google.com/maps?cid=16753855001018446220 http://maps.google.com/places/us/california/san-francisco/24th-st/2884/-la-palma-mexicatessen ...

Web-based UI element for selecting a geographical location

I'd like to create / use a UI element for a web-site that provides a world map, on which the user can draw a circle to indicate an area of interest. I'd like information on the coordinates of the area covered by the circle to be available to me via Javascript for sending back to the server over Ajax. Does such a control exist, and if no...

X Y Conversion to lat lng

Hi all, i have places location in the database by x ,y and shape How can I convert this location points to latitude and longitude pairs? Is there a tool or a formula? for example x =220162.636213404 y = 762057.914609313 it should be something like lat = 34.55667500000000000 lng = 31.68173300000000000 Thanks! ...

query check if its latitude or just text on map

on search i want to check if query is latitude and longitude or just text search with php. $query = '-122.0307642, 37.3316930'; latitude and longitude can have '-' in them also. what preg_match pattern it will be for this? ...

Zooming on android dev - google maps becomes slower

I've developed a GPS app in which i record the user routes and show it on the map. But panning around on the map when reviewing my route is painfully slow, it takes at least 4 or 5 seconds for the map to respond the finger swipes. I've overridden the onDraw() method and drawing the lines to show the routes whenever we zoom on the map, ...