I've happily implemented v2 of Google maps to my site without a hitch, I also successfully perform a drive directions using GDirections.load().
What I need to do is stop the popup of the mini map when you select a particular step in the routing directions. So when the user clicks on say "step 3", instead of the default popup showing a m...
Hi,
I have a web app which shows some info on local businesses. I have an option to search Yelp for a corresponding page for the business.
Does google offer a similar way of searching for a business page under Google Maps? For example, here's a business page:
http://maps.google.com/places/us/san-francisco/guerrero-st/600/-tartine-bake...
Today I struggled with the following:
$.ajax({url:'http://maps.google.com/maps/api/geocode/jsonaddress=Karachi&sensor=false&output=json&callback=?',
dataType: 'json',
success: function(data){
//eval("("+data+")");
alert(data);
}
});
Firefox gives the error "Invalid Label" and Chrom...
I'm placing a number of markers on a map. When the user clicks on one of them, I'd like to do a callback to get some information, and display it in the popup.
My code to place the markers on the map works, and looks like:
GEvent.addListener(marker, "click", function() {
html = getDetails(id);
marker.openInfoWindowHtml(html);
});
...
I have 6000 data of district, subdistrict. I need to represent this on dependent dropdown. The datamodel is for example;
class Location(db.Model):
location_name = db.StringProperty()
//location_parent = db.IntegerProperty()
location_parent = db.ReferenceProperty() //
location_parent is reference to key() or id()? Still can...
Hello,
I'm using Google Maps v3 and I build in the server side a json collection of location data. So when I receive that, I iterate through that collection and create a marker object for each and every one of them.
For each of these markers, I bind them with the click event, so when the user clicks on a marker in the map, it displays ...
I use such urls like:
http://maps.google.com/?saddr=546%206th%20Avenue,%20New%20York,%20NY%2010011%20(Sixth%20Avenue,%20New%20York)&daddr=W%20103rd%20St,%20New%20York,%20NY%20&dirflg=r
But it returns full html page. Does anybody know how to get such info in json or xml or any parsable format?
I need public transit.
...
I'm loading my google maps into div class="extra" style="display: none;" /. As soon as the AJAX request is complete, the map_canvas div is placed inside the hidden div and the hidden div will be vissible with the toggleDown jquery effect.
In FF it's working perfect, but in IE the Google maps (map_canvas div) is already visible before th...
How can I get the certain region of my route as polygon _?
for example;
I have a route then I wantto make a polygon which is 1 km far to my route.
...
Is there a way I can have a google maps control on a web page that will allow users to select destinations as a search criteria?
For example we would like a user to be able to select a country, city, state by clicking on it in a map?
Is that even doable?
...
Hi,
I'm trying to use the MVC objects in google maps version 3. What I can't seem to figure out is why my zoom_changed method is only invoked once. When I first load the map the zoom_changed method is invoked. But not when I zoom on the map.
function MarkerWidget (options) {
this.setValues(options);
this.set('zoom', this.map.z...
Basically, i have the google api search engine which will send back addresses based on the search by the user;
And a map api which will go over to the selected place typed in the textbox.
However, both of them are in different textboxes / buttons. i can't seem to be able to change the ids of the button to make ONE of the buttons functio...
There's a Google Maps API v3 Visual Studio Intellisense Helper, which presumably works great for Visual Studio, but Aptana (based on Eclipse) uses a different JavaScript documentation format - ScriptDoc (.sdoc files). ScriptDoc is also the name of a VS utility to convert JS files with Intellisense comments into XML, just to confuse thing...
Where can I find the source code of something like this (Google Map API):
http://gmaps-utility-library.googlecode.com/svn/trunk/labeledmarker/1.1/examples/airportmap.html
What's the easiest way of marking spots in a Google Map API (embedded in my web site), according to a list of places and dates?
I think its basically a Google map AP...
I have a web app with a giant Google Map in it. As users pan and zoom around on the map, points are dynamically loaded through AJAX call which include the viewport bounds (NE and SW corner coordinates) and some other assorted parameters.
How do I cache these request for points? The problem is that the parameters are highly variable and ...
I am trying to create a Google Map where the user can plot the route he walked/ran/bicycled and see how long he ran. The GPolyline class with it’s getLength() method is very helpful in this regard (at least for Google Maps API V2), but I wanted to add markers based on distance, for example a marker for 1 km, 5 km, 10 km, etc., but it see...
I have a number of public custom Google Maps created via http://maps.google.com/ - obviously associated with my google account.
Can I access these maps via the Google Maps javascript api? The api doesn't appear to work with the manually created maps located on maps.google.com from what I can tell?
And if not, is there another way to s...
My landing page contains a big google maps portion, which slows down the loading time. I am trying to do the following:
Load the static elements first so the page loads fast initially.
Display a loading notification in the map placeholder so that the user knows that the map is coming up
Load and display the map
I have done this:
$(...
GDownloadUrl("example.txt", process_it);
hi,any solution to prevent leech example.txt or user to view it?
...
I have some data about place,road, city.
And I want to search the map by entering these values.
Now I have script that generate latitude and longitude using geocoding.
But I wonder if there is a way to generate google map code (iframe) by geocoding?
Could you please tell me the way or give me some links?
...