google-maps

Retrieve co-ordinates of points from a saved google map

My client has saved a public Google Map with several points of interest marked on it. I need to somehow lift those co-ordinates and put them in an iPhone Google Map. How would I get the longitude & latitude of each of these points? ...

Read KMZ with JavaScript

How I can read the content in a KMZ (not KML) with JavaScript? ...

get city name by parsing in iphone sdk

From this url: http://ws.geonames.org/findNearbyPostalCodes?lat=19.0176560&lng=72.8561780 I want is city name that is mumbai can somebody help me? ...

Finding location by zip and object name

I wanted to create app that will longitude, latitude by zip and name of object (for example mcdonalds). I tried to do that via google maps geocoder but my idea was wrong because geocoder returned weird results. Maybe someone know a service or strategy of getting location by zip/name please let me know. ...

How to draw a filled triangle in android canvas?

So I'm drawing this triangle in android maps using the code below in my draw method: paint.setARGB(255, 153, 29, 29); paint.setStyle(Paint.Style.FILL_AND_STROKE); paint.setAntiAlias(true); Path path = new Path(); path.moveTo(point1_returned.x, point1_returned.y); path.lineTo(point2_return...

GPS and Compass reading

I'm trying to do the following: Take a GPS reading (lat/long) and a compass reading and place a second point on a map 100 meters from the GPS reading in the compass direction. (using Google Maps) How could this be accomplished? Ideas? :) ...

Loading google maps markers faster dynamically

I'm trying to generate a Google Map based off of results from a database. I can get the addresses geocoded and put out on the map, but I'm not able to do it very quickly. I have a setTimeout function to help with loading the markers; if i do not include it then not all of the markers will load. Is there any way for me to push out the m...

Google Maps map.getBounds() immediately after a call to map.fitBounds

I'm calling getBounds() directly after a call to fitBounds(), and I thought I'd get a valid bound back as the map recenters and zooms to fit the bounds. Unfortunately, getBounds() is returning nil. The code to reproduce this is as follows: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-...

How does one implement the Google Maps 3D API (or similar) for Flex with a local map cache?

I am writing a Flex application for use on a private intranet with no external Internet access. I want to use Google's 3D Maps Flex API, but it must be connected to the internet to download map tiles on demand. Is there a way to locally cache the 3D map tiles and data so that I can run this app without an internet connection? And if no...

MySQL dB of POI, drop down with varius radiuses, results ajaxed onto a google map??

I have a MySQL database of addresses (my custom points of interest - not Googles) and their associated Lat/Long. What would be the simplest way for a user to my site (their lat/long is also stored in their user profile) to be shown a: google map with their own lat/long as a starting (center) point default radius of 10 Miles all Points...

Worldwide location (country, region, city) select plugin for Rails, jQuery or Google Maps API?

Is there any plugin which will help to create a dropdown menus for countries, regions and cities? At first user chooses country, then he has his region dropdown menu updated according to which country he has chosen, he chooses region and after that from 3rd menu a city. Plugin can be either for Ruby on Rails, jQuery or maybe javascript ...

Google Maps Geocoder requests

I'm currently creating an estate agents website with a search which returns a set of properties stored in the database. Now I know that google has a limit on how many requests it has per day so I'm trying to think of the best way to do this process. Basically at the moment, step one of the search is to input a town or postcode with whi...

Variation on Travelling salesman problem - pick a good subroute from many nodes based on constraints

TLDR version: Most important issue is, that in a TSP problem, instead of finding the shortest Hamiltonian cycle, what are good ways to find the best path (I suppose the one that visits the most nodes) which is at most X length, with a fixed starting point. Full version: I'm interested in some ideas for a problem that involves TSP. Fir...

How to get a GeoPosition of a clicked position on the map?

Hi all. I'm doing some maths calculations in android map activity and I need to find a position of a GeoPoint which user has clicked on the map. I understand that I need to use onTouch event handler. This is how it looks like at the moment: @Override public boolean onTouch(View v, MotionEvent event) { int action = event.getAction()...

Display retailers in google maps

I have a list of retailers and their logos and what I wanted to do was display them on a google map. I suppose the purpose of it is to demonstrate the extend of our market reach. What I want to do is be able to add the markers, however when I click on them, I would want to replace the text in the speech bubble to my own text, and also i...

Moveable Marker Position - Refresh Marker position (GMaps4JSF 1.1.3-u3)

I'm using GMaps4JSF 1.1.3-u3 in a JavaEE 6 Application with JSF 2.0, Facelets, Mojarra 2.0.2 and Primefaces 2.1 on a Glassfish v3 app server. On a xhtml page i want to show some Markers and a moveable Marker (the current selected "station"). Its longitude and latitude positions are stored in some variables with the help of the valueChang...

Adding points to google map API

I am putting a google map on my web site and I wanted to add points to the map but I am not sure how to do it. I have tried a few different things but they did not work. Here is what I have so far: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://ww...

google map subgurim + jquery: pan to center and change icon when click on a marker

Hi, It is a question regarding to http://en.googlemaps.subgurim.net/ google map wrapper in asp.net. I would like to know if I can do this from a client side: Click on a button then a using jquery to pan a marker to center and change its icon (image). Would it be possible? Thanks in advance. ...

Set embedded google map to be zoomed out on page load

Hi! I have a customised google map embedded into my website. Here is the code for it: <iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?ie=UTF8&amp;amp;hl=en&amp;amp;msa=0&amp;amp;msid=115531006415676945149.00048e1de39f5afb920b0&amp;amp;ll=9.226911,-100....

Google Maps API v3 BrowserIsCompatible

I'm updating some older code that used the v2 API for Google Maps. On domready, it would use a statement like if(google.maps.BrowserIsCompatible()){ // load the map } Now that I'm loading the v3 API, I get an error google.maps.BrowserIsCompatible is not a function I've read a ton of threads in the Google v3 api groups, but haven't...