google-maps

JavaScript - Why does my asrnchronous download not download asynchronously?

I'm using the following Google Maps autload (asynchronous) to load asynchronous both Google Maps v3 and JQuery, like so: <script type="text/javascript" src="http://www.google.com/jsapi?autoload={ "modules":[ {name:"maps",version:3,other_params:"sensor=false"},{"name":"jquery","version":"1.4.2"},{"name":"jqueryui","version":"1.8.1"} ]}">...

Adding a google gadget to google maps application

Is there a way to add a Google gadget to Google maps application. I wanted add this (Local gas Price) gadget http://www.google.com/ig/directory?type=gadgets&amp;url=marketingknight.com/google-gadget/local_gas.xml gadget to my Google map application whenever the user clicks on a maker on the map, is this possible? ...

How could a share a Google map mashup with my own datapoints and links back to my site?

I currently have a map mashup that has locations that I'm populating from my own database. A few users would like to also show that map on their site(s). I'd like to give them the ability to do that, but would like to retain the actual functionality of the map on my own site: like add "stuff" to places on the map through my a web form ...

Android Google maps co-ordinates

I have an app which stores co-ordinates. I am using Google maps to show the location to allow full use of the maps app. I am using the intent call and placing the co-ordinates in the q=xxxxxxxxx,xxxxxxxxx part. This works, however when Google maps shows the location it often finds a point on the road, sometimes a little distance from th...

Retrieving Coordinates from just Google Search API alone

is it possible to do that out without a Google API map? I searched everywhere and could not find any help for it. ...

load multiple directions in parallel in google map

My aim is to get distance between many locations thru GDirection object. Since I am using multiple objects, am not able to get distnace. Can someone help me out. Below is the code. for(ct=0;ct<size;ct++) { var gd=new GDirections(); gd.load("from: " + address + " to: " + offaddress[ct]); GEvent.addListener...

Center Google Map on point from database?

I'm trying to center a google map on a single marker pulled from a database, what I'm doing so far is using this function to get a single marker from the database function getMarkers(){ var urlstr="readsingle.php?v=<?php echo $cam ?>"; var request = GXmlHttp.create(); request.open('GET', urlstr , true); // reques...

can i get static maps in Google Maps API V3 ?

Does anyone know if its possible to get the Static Maps (image maps) for the API V3? ...

Can I show a single country (masked out) in GoogleMaps?

Hello! Is it possible to mask away neighbor countries in GoogleMap? In my case I just want to show Sweden on one view. On a second view just Norway, Denmark etc etc... I know it is possible to draw polygon lines and fill them accordingly on to Maps API. Problem is that or the result sets get huge or the lines get very rough etc... Would...

jquery: how can i load the Google Maps API via ajax?

Before you reply: this is not as straight foward as you'd expect! I have a 'show on map' button which when clicked opens a dialogbox/lightbox with the google map in. I don't want to load the maps api on pageload, just when a map has been requested This is php file the "show on map" button puts into the dialog box: <div id="map_canva...

Craziest JavaScript behavior I've ever seen

And that's saying something. This is based on the Google Maps sample for Directions in the Maps API v3. <html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no"/> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <title>Google Directions</title> <script type="text/javascript" src="http://...

Where to post code for open source usage?

I've been working for a few weeks now with the Google Maps API v3, and have done a good bit of development for the map I've been creating. Some of the things I've done have had to be done to add usability where there previously was not any, at least not that I could find online. Essentially, I made a list of what had to be done, sear...

JavaScript: When does JavaScript evaluate a function, onload or when the function is called?

When does JavaScript evaluate a function? Is it on page load or when the function is called? The reason why I ask is because I have the following code: function scriptLoaded() { // one of our scripts finished loading, detect which scripts are available: var jQuery = window.jQuery; var maps = window.google && google.maps; i...

JavaScript: How do I use the "callback" function of the "autoload" feature of Google Maps v3

I am using Google Maps v3. I'm currently using the autoload functionality and it's working great: <script type="text/javascript" src='http://www.google.com/jsapi?autoload={modules:[{name:"maps",version:3,other_params:"sensor=false"}]}'&gt;&lt;/script&gt; Now I want to use the autoload to also include the callback option to callback m...

jqtouch / google maps api v3 issue

Hi everyone, I'm having a hard time trying to make jQtouch and Google Maps api V3 together. I've tried almost everything. It seems that the only source of information is here I checked every single post. I'm starting with jQuery and css... so there's a lot of stuff I don't understand. First of all, I'm using jQtouch framework to build ...

Draw 15Km radius around point in Android

Hi, I want to draw a a circle of 15 KM radius around a point on Google Maps by using Android. In Android we only have MapView and MapViewController. How can I implement the drawCircle funciton provided in Google Map Circle example in Android. ...

How to overlay an image in Google Maps (v3) in a specific direction (bearing)?

I have an arrow image that I would like to put on a v3 Google Map and have it point to a specific direction (using bearing from a particular Lat/Long point). Is this possible? Thanks. ...

how to read the fields in the object that is store in the array in objective-c

my appdelegate is having the array book, this array is storing the many object like latitude and longitude coming from server. this object are containing the many latitude and longitude values coming from server. values coming from the sever is store in the object file booknew and then this objects are stored in the array. how can i r...

option & jQuery .click() won't work together

Hello, this works great in FF but not in IE, Chrome or Safari. $('#countryDropDown option').click(function() { var countryID = $(this).val(); dostuff(); }); // countryDropDown = id of select So, as you can see I want to attach a click event to each option. I alos tried var allOpts = $('#countryDropDown option'), l = allOp...

Zoom events that work in an android Mapview

I need to redraw the overlay after the user zooms. What is the best way to do this? I've tried everything I can think of (saving a getZoomLevel() state, overriding onUserInteraction()), nothing actually works. The problem is, that draw() is being called when the user clicks zoom, so the information my draw method gets (About the map's st...