here is the html code
<script src="http://maps.google.com/maps?file=api&v=2&key=" type="text/javascript"></script>
<!-- According to the Google Maps API Terms of Service you are required display a Google map when using the Google Maps API. see: http://code.google.com/apis/maps/terms.html -->
<script type="text/javascript">
v...
With Google Map v2, I would like to be able to trigger a function when clicking a text in the InfoWindow of a GMarker.
$(".foo").click(myFunction);
...
marker.openInfoWindowHtml("<span class=\"foo\">myText</span>");
does not work. Why the event isn't caught inside the InfoWindow ?
...
Hi,
I would like to create a webpage with header, footer, left column (25% wide column which contains some buttons etc.) and main content area which has to be filled with google map.
I tried to modify the content from this answer the following way:
<body onload="initialize()">
<div id="wrapper">
<div id="header">Header</div>
<div ...
Hi,
I have tried to create an application which creates a marker on the map on user's click. Then if user clicks a marker an address should be displayed.
Trying to accomplish this I encountered a problem and so far haven't found a solution. When I click on the map for the first time the first marker is created. Then when I try to click...
Hi..is that possible, suppose if I search any random city in google map and google map automatically set that zoomlevel ?I mean How can I set zoom level of google map automatically ?
I am using google map API.
please help me.
...
I need a Google search URL which can give me all nearby restaurants within 1 mile in JSON format. The input is co-ordinates of my current position.
...
Please tell me how can i raise event just after user change his position in google map using dragging map and get the latitude and longitude of center of google map and the miles its showing from center. i have got lots of pages on google related to it.. but not able to solve this.. please give me solution (i am using asp.net and javascr...
i have got center of map using map.getCenter(); and i got current zoom of google map using getZoom(); please tell me how can i calculate/get current show mils area in google map. i am using asp.net and javascript.
...
On my site, http://tinyurl.com/ybubyd6
I'm using Google Maps API v3 to place house markers on the map.
The InfoWindows stay open unless you explicitly click the close icon. Meaning, you can have 2+ InfoWindows open at a time if you hover over the map marker.
Question: How do I make it so that only the current active InfoWindow is open...
Hi all,
So I'm rewriting my first google maps app and I'm looking at how I create info windows on click of a marker and it seems very inefficent to be adding a listener for each. Previously I've used GInfoWindow and EBubble (http://econym.org.uk/gmap/ebubble.htm).
I was thinking that I could use jQuery to show a div with dynamic data ...
Hi there!
We have a secure website (SSL) in which we want to make calls to google's map server. The map server is http not https and every time there is a refresh of this screen (every minute for us) IE pops up its annoying mixed content message (trying to view a site with secure and non-secure info).
What I am looking for is a way ar...
Hi,
I am developing an mobile application that search the user's location via GPS and display the location of the user on the google map.
I am aware that i can load a static map base on the coordinates. But is it possible to add a marker on the static map itself??
This link http://wiki.forum.nokia.com/index.php/J2ME_Google_Maps_API d...
dear friends,
i want to point out google map location using overlay so for this purpose latitude ,longitude value to be assigned to geopoint but it only accepts int values.
how can i assign it double value or any other solution to point out exact location?
point = new GeoPoint((int)t.getLati(),(int)t.getLongi())
any help would be a...
hello my friends,
i put this plug in into my website, how i do define a region and restrict visitors to can not going out of ?
I don't have access http://code.google.com for political reasons. please help me in your answer and don't Refers to that!
thank advance
...
Hello all.
I am using google maps v2 in my web application. I want to call database to fetch records when map bounds are changed due to zoom or drag. Until now I was using tilesloaded event handler to do it assuming the map bounds will change when all tiles are loaded (I want clarification on this assumption too).
When I do zoom in/out...
Hi guys,
I was wondering if it is possible to add an icon (or image) with selected location like it is shown on the attached picture (left top corner) to my app? Maybe such an image could somehow be captured from Google or there is another way to deal with it? Any idea?
...
HI,
I was wondering if anyone had any ideas about how to implement functionality where given an array of locations ( for e.g. branches) it will list the nearest one or list all withing a 5 mile radius etc?
...
I am trying to write some google map functionlity and playing around with javascript closures with an aim to try organise and structure my code better.
I have the following code:
var gmapFn ={
init : function(){
if (GBrowserIsCompatible()) {
this.mapObj = new GMap2($("#map_canvas"));
this.mapObj.set...
Hello everyone I am PHP Developer and developing website .in that i used Google map with the facility of select state and city. for select state and city i put two drop down.so now my problem is when i select state then i can not get value of city and both time whenever use select state and city i refresh the page and so after refreshing...
Hi everyone!
When i use the Google Maps API from within my commercial application, i have to sign-up for an API key and i have to pay fees for the usage of the Google Maps API.
What happens if i just use a link that opens a new browser window in my app?
Example:
http://maps.google.de/?saddr=Los_Angeles&daddr=hollywood
Do i have...