Just like you visit maps.google.com.tw or maps.google.co.kr or maps.google.co.jp, you can see their own language shown on every country. Is there any property that I can use in Google Maps API to dynamically set google maps using specific language to display?
...
What do I need to use to get a search listing
using the google maps API?
I can get one address
or lat/long but I want to search for say "bars 84070"
and get a list of addresses and lat/long.
...
I realise there are a couple of examples such as Maoki's Add Your Own Custom Map and Mike Williams' [link text][Google Maps API Tutorial] however I have looked at these and still end up with a Grey box.
The API will not call my "getTileUrl" callback function. This is the javascript I am using
var map = new GMap2(document.getElementBy...
Hi guys,
I have written this code that loops through an array of lat/long coordinates and places a marker at each of the coordinate. Everything forks fine, exempt the info window won't appear once the marker is clicked.
var ExpTowerIcon = new GIcon();
ExpTowerIcon.image = "tower.png";
ExpTowerIcon.iconSize = new GSize(75, 75);
...
Hi Friends,
I have one query in which I really stuck at that. I have port database with waypoints and also routing points which I need to use in distance calculation between two ports. I have done lots of R&D to find formula which gives me distance between two points. I also need shortest route which is possible.
I have reviewed online...
I have found this code for reverse geocoding:
var point = new GLatLng (lat[1],long[1]);
var geocoder = new GClientGeocoder();
geocoder.getLocations (point, function(result) { alert (lat[1]+' '+long[1]+' '+result.address); });
But it pops the alert, saying that result.address is 'undefined'. Any ideas, what could be the problem?
EDI...
Trouble!
I'm looking for a way to find the countries within a given range of LAT/LONG coordinates.
E.g.:
When viewing an area in Africa using Google Maps, I get out which countries that are in my current view.
This is a bit ambitious, and I think the main problem will be dealing with accuracy of the needed polygons. The accuracy of t...
Hello, I want to put a tooltip made myself with divs when the mouse is over a marker, but I don't know how to get the screen position to put the div on the correct position, here is my code:
google.maps.event.addListener(marker, "mouseover", function() {
divover.css("left", marker.get("left"));
divover.css("top",...
I'm not sure why this isn't working. I don't have any errors, but what happens is, no matter what marker I click on, it always clicks the last marker. Im not sure why though because the_marker is set up the same way. How can I fix this?:
(Updated with new jQuery + XML)
$(function(){
var latlng = new google.maps.LatLng(45.522015,-12...
Hi,
I am calling google maps within a for loop in my javascript as I have mulitple routes that need to be costed separately based on distances.
Everything works great except that the distance is only returned for one of the routes.
I have a feeling that it is something to do with the way I have the items declared within the ajax call ...
Get location(lat/long) without GPS, just like my location feature in Google maps. I have Google Maps in my mobile (Sony Ericsson G502 without GPS). It works fine without GPS in India.
1.How Google finds my position?
2. When i am searching cellid in opencellid database, it has less number of records for India. but Google Maps works fi...
I have extended GOverlay so that it draws small rectangular div at a specified location. But how to make it draggable using Maps API V2?
First I tried to just listen the mousedown/up/move DOM events of the div itself. While I got this mostly working, I thought that there has to be a simpler way of doing that.
I tried listening the "dra...
Instead of Google Maps API's default info window, I'm going to use other jQuery tooltip plugin over marker. So I need to get marker's DIV and its pixel position.
But couldn't get it because there are no id or class for certain marker. Only I can access map canvas div from marker object and undocumented pixelBounds object.
How can I ac...
I am passing lat and lng variables and display google sreet view in a div. The problem is that when the StreetView is unavilable then nothing is displayed. I would like to check if there is a streetview for a given lat and lng and display a message. Here is my code:
var myPano = new GStreetviewPanorama(document.getElementById("street2")...
I'm trying to create a map overlay for displaying a video stream (MJPEG) on top of a Mapview.
Currently I've a standalone activity that creates a data thread for fetching MJPEG video frames. I'm using a handler to send a frame (as a Bitmap) from the data thread to the main activity which then updates the UI.
I'm not sure how to impl...
Hello,
I have a json object collection of geo locations that I build in the server. Each of those objects has two properties: "marker" and "onClick".
Marker is for storing a Google Maps marker object and the onClick stores the name of the function to be called when that marker is clicked on the map.
When I'm pushing the location obje...
Using the MKReverseGeocoder or GoogleAPI or MapKit...
Is there a simple way to turn a latitude/longitude into "nearest major cross-streets"?
A user might not have any idea where "12345 Pineapple" is located... so I want to show something like "Pineapple and Main"... or (larger, major roads) like "US-140 and Hwy 76".
I don't really ca...
Hi
I am new to iphone development. In my application, I have address for a location in group table cell, when i click the address text in group table cell. The pin should be dropped in default google map app to the corresponding address. is there any in-built functionality available for that?.Any Idea??
...
Hi,
I'm trying to get an overlay in google maps api v3 to appear above all markers. But it seems that the google api always put my overlay with lowest z-index priority. Only solution i've found is to iterate up through the DOM tree and manually set z-index to a higher value. Poor solution.
I'm adding my a new div to my overlay with:
...
hi all,
i have an address for a location. when i click some button in my app. it should redirect to default google map in android and drop the pin to that particular location. how to do that? Any Idea?
...