[Google Maps API v3] Re: GLatLngBounds() returns inaccurate coords

2011-02-14 Thread Martin™
Now this is getting stranger... I created an event listener: google.maps.event.addListener($map, 'bounds_changed', function(){ $this.set('mapBounds', $map.getBounds()); console.log('mapBounds set: '+$this.get('mapBounds')); }); Example output: mapBounds set: ((51.262282903037544, -0.8062029218

[Google Maps API v3] Re: Markermanager (v1 for API v3) acts weird

2011-02-14 Thread Joeri
Sorry, zoom of the map should be set at 11. Forgot to change it in the post. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this g

[Google Maps API v3] Re: Save a "dragged" directionsResult (route)

2011-02-14 Thread compto35
See I know what to look for, but I still can't seem to get an object with the customized directions out of the DirectionsRenderer -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-

Re: [Google Maps API v3] find the google map distance between two points in V3

2011-02-14 Thread Luke Mahé
Hi, Have a look at the geometry library http://code.google.com/apis/maps/documentation/javascript/geometry.html it has a function computeDistanceBetween which should help :) -- Luke On Tue, Feb 15, 2011 at 5:12 PM, Aiswarya krishna wrote: > hi friends, > > > i want to

[Google Maps API v3] Markermanager (v1 for API v3) acts weird

2011-02-14 Thread Joeri
I am trying to accompish to show different pointers at different levels. So I took the examples as given by Google ( http://google-maps-utility-library-v3.googlecode.com/svn/tags/markermanager/1.0/docs/examples.html). Good illustrated examples. However, when I try it in my map, it seems it ON

[Google Maps API v3] Re: find the google map distance between two points in V3

2011-02-14 Thread geocode...@gmail.com
On Feb 14, 10:12 pm, Aiswarya krishna wrote: >      hi friends, > >                        i want to find the google map distance between > two points in V3. > I tried > var dist = startLocation .distanceFrom(endLocation);. in V2.i GOT .But > can anybody tell me how will i find google map distance

[Google Maps API v3] find the google map distance between two points in V3

2011-02-14 Thread Aiswarya krishna
hi friends, i want to find the google map distance between two points in V3. I tried var dist = startLocation .distanceFrom(endLocation);. in V2.i GOT .But can anybody tell me how will i find google map distance between two points in V3 with out drawing the route.I don

[Google Maps API v3] Looped Images From KML/KMZ File

2011-02-14 Thread TheZach
I'm trying to figure out if its possible to loop images from a KML/KMZ file instead of displaying them all at once. Kinda new with the Google Maps API so I would love a pointer or three. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Google Map

[Google Maps API v3] Re: loading message for big kml

2011-02-14 Thread Rossko
> "kml load listener" sure explain it all for ppl who actually > understand but, why not help viva a bit out more Teach a man to fish etc etc. > because such search > results as these often dont help at all (like the 1st...) Here is a better targeted search http://groups.google.com/group/google-

Re: [Google Maps API v3] Australian City Suburbs

2011-02-14 Thread Chris Broadfoot
This is because greater city bounds are not really defined. For Sydney - it's not clear where greater Sydney starts/stops. Is Penrith in Sydney? Perhaps you should set up some predefined city bounds and check if the point is within them. Or find which city is closest. -- http://twitter.com/broad

[Google Maps API v3] Australian City Suburbs

2011-02-14 Thread NetEngine
We're using the OpenLayers Geocoder module for Drupal (http://drupal.org/project/openlayers_geocoder) which uses the Google Maps Javascript API v3. When searching for an address in an Australian city (e.g. Brisbane or Sydney), the name of the city itself is never output in any of the address t

[Google Maps API v3] Re: GLatLngBounds() returns inaccurate coords

2011-02-14 Thread Martin™
I've now added an event listener to the map: google.maps.event.addListener($map, 'bounds_changed', function(){ console.log('bounds_changed: '+$map.getBounds()); }); It's reporting the correct map bounds by the looks of it so i plan to change the listener: google.maps.event.addListener($m

[Google Maps API v3] Re: loading message for big kml

2011-02-14 Thread en4ce
"kml load listener" sure explain it all for ppl who actually understand but, why not help viva a bit out more because such search results as these often dont help at all (like the 1st...) On 14 Feb., 20:42, Rossko wrote: > > I'm loading on a google maps, a kml that is relative heavy with a load >

[Google Maps API v3] Re: how to limit overlay CoordMapType to only visible on particular MapTypeID

2011-02-14 Thread roryreiff
Thanks. That is working beautifully so far. It seems like the maps API documentation is always so poorly setup for finding simple answers, but for more complex ones it's great! I digged around for awhile to find that one line, but never seemed to be able to locate it. Cheers. On Feb 14, 3:48 pm, M

[Google Maps API v3] Re: how to limit overlay CoordMapType to only visible on particular MapTypeID

2011-02-14 Thread Martin™
Hi. You hide the illustrationOverlay by removing it from the overlayMapTypes: map.overlayMapTypes.removeAt(0); Martin. On Feb 14, 10:26 pm, roryreiff wrote: > So I have > >         var illustrationOverlay = new CoordMapType(new google.maps.Size(256, > 256)); >         map.overlayMapTypes.inse

Re: [Google Maps API v3] Re: Point Marker

2011-02-14 Thread Luke Mahé
You code doesn't try to add a marker. Have a look at the link Paulo sent that shows how to add a marker to the map. -- Luke On Tue, Feb 15, 2011 at 9:41 AM, Graeme 1 wrote: > Thank you, > > www.btinternet.com/~gj.d/burnmoorcricket/googlemap.html > > just a test area > > Best wishes > Graeme >

[Google Maps API v3] Re: Point Marker

2011-02-14 Thread Graeme 1
Thank you, www.btinternet.com/~gj.d/burnmoorcricket/googlemap.html just a test area Best wishes Graeme -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.co

[Google Maps API v3] Re: how to limit overlay CoordMapType to only visible on particular MapTypeID

2011-02-14 Thread roryreiff
So I have var illustrationOverlay = new CoordMapType(new google.maps.Size(256, 256)); map.overlayMapTypes.insertAt(0, illustrationOverlay); google.maps.event.addListener(map, 'maptypeid_changed', function() { if (map.getMapTypeId() == 'roadmap') { //

Re: [Google Maps API v3] Point Marker

2011-02-14 Thread Graeme
Hello Luke,   Thank you my friend, I used   html { height: 100% } body { height: 100%; margin: 0px; padding: 0px } #map_canvas { height: 100% }

Re: [Google Maps API v3] Point Marker

2011-02-14 Thread Paulo Fernandes
First of all, READ the posting GUIDELINES. Second, see this tutorial http://code.google.com/intl/pt-BR/apis/maps/documentation/javascript/examples/marker-simple.html Paulo Fernandes http://www.google.com/profiles/paulofernandesjr http://twitter.com/paulofernandesj +55 11 9797-5974 On Mon, F

Re: [Google Maps API v3] Point Marker

2011-02-14 Thread Luke Mahé
Hi Graeme, Can you include a link to show what you have done? Thanks -- Luke On Tue, Feb 15, 2011 at 8:54 AM, Graeme 1 wrote: > Hello All, > > Just joined the group. > > I have set up a google map to be embedded into a web page, everything seems > OK except that I cannot posiition the exact p

[Google Maps API v3] Point Marker

2011-02-14 Thread Graeme 1
Hello All, Just joined the group. I have set up a google map to be embedded into a web page, everything seems OK except that I cannot posiition the exact place marker. I know I am in the right area as I used the co-ordinates and I can see where I would like it to be but no marker! Thank y

[Google Maps API v3] Re: Clickable Polyline Problem

2011-02-14 Thread geocode...@gmail.com
On Feb 14, 12:25 pm, Robert Sealey wrote: > Thank you - I have already taken a look, and made "some" progress, but > I'm still struggling to work out how to address each polyline > seperately. if you take a look at the > sitehttp://www.bournvilleconservatives.com/temp/phpsqlajax_map_v3.html , > y

[Google Maps API v3] Re: GLatLngBounds() returns inaccurate coords

2011-02-14 Thread Martin™
Thanks for the reply, i had already read the thread you linked to but don't think that's the case here. The link to the map i posted will geocode 'london' and fit the map to the bounds returned by the geocoder. It's not a zoomed out view and definitely doesn't show a wrapped view of the earth. Th

[Google Maps API v3] Re: GLatLngBounds() returns inaccurate coords

2011-02-14 Thread Rossko
> I searched the group and found mention that getBounds() will not > return a value until the map has completely initialised, if the map is > not initialised then getBounds() will return null or undefined. > getBounds() is not returning null or undefined on my map - it's > returning completely inac

[Google Maps API v3] Re: Hosting KML and KMZ files on SharePoint

2011-02-14 Thread Chad Killingsworth
> > - this is an Intranet site > That's the problem. KML/KMZ files are requested by Google's servers, rendered into tiles and then sent back to the client. On an Intranet, Google's servers can't download the file. Chad Killingsworth -- You received this message because you are subscribed t

[Google Maps API v3] Hosting KML and KMZ files on SharePoint

2011-02-14 Thread Gretchen
Good afternoon. Has anyone encountered problems when attempting to host a KML/KMZ file on SharePoint? Here is where I am: - Google Maps API works when KML files are hosted on Google sites - I can download the KML file by entering its SharePoint URL into my web browser - both the Google Maps API

[Google Maps API v3] Re: how to limit overlay CoordMapType to only visible on particular MapTypeID

2011-02-14 Thread Chad Killingsworth
You'll need to hook into the maptypeid_changed event. In the event, if the new MapTypeID is not one of the types you wish, remove your overlay from the map. Chad Killingsworth -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. T

Re: [Google Maps API v3] Re: Draw roads using javascript API

2011-02-14 Thread giorgi zautashvili
Thanks Rossko, I also discovered KML 'things' :) here's the good example http://code.google.com/apis/maps/documentation/javascript/examples/layer-kml.html All the best On Mon, Feb 14, 2011 at 11:43 PM, Rossko wr

[Google Maps API v3] Re: Draw roads using javascript API

2011-02-14 Thread Rossko
> Hi all, I'm new to maps and wonder if its possible to draw custom > roads on my website using javascript API. http://code.google.com/apis/maps/documentation/javascript/overlays.html#Polylines -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript

[Google Maps API v3] Re: loading message for big kml

2011-02-14 Thread Rossko
> I'm loading on a google maps, a kml that is relative heavy with a load > time of about 10 seconds. Is it possible to add a loading message and > turn it off once the kml is loaded? Better, there's a way to associate > a Listener to the load KML function? Search this group http://groups.google.co

[Google Maps API v3] how to limit overlay CoordMapType to only visible on particular MapTypeID

2011-02-14 Thread roryreiff
Hello, At http://www.pomona.edu/tour/47.aspx I have implemented the start of a custom overlay on the deafault map (currently only visible at max zoomed level). Problem is, when you switch to satellite view, and then pan, the custom overlay appears once again. How can I limit it to just the 'map

[Google Maps API v3] loading message for big kml

2011-02-14 Thread vivamau
Dear all, I'm loading on a google maps, a kml that is relative heavy with a load time of about 10 seconds. Is it possible to add a loading message and turn it off once the kml is loaded? Better, there's a way to associate a Listener to the load KML function? thanks! M -- You received this messag

[Google Maps API v3] Draw roads using javascript API

2011-02-14 Thread Giorgi Zautashvili
Hi all, I'm new to maps and wonder if its possible to draw custom roads on my website using javascript API. Thanks -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googl

[Google Maps API v3] Re: convert long lat to x,y coordinate on the NASA blue marble image (plate carree)

2011-02-14 Thread Fragilem17
just when you turn to the masses you find out why you cant find anyone with the same problem. The moment you find that Plate Carree is the same as http://en.wikipedia.org/wiki/Equirectangular_projection It becomes real easy, LONG = X and LAT = Y damn! 3 days wasted because I thought it would be ha

Re: [Google Maps API v3] Re: Clickable Polyline Problem

2011-02-14 Thread Paulo Fernandes
Maybe this help you: geocodezip.com Paulo Fernandes http://www.google.com/profiles/paulofernandesjr http://twitter.com/paulofernandesj +55 11 9797-5974 On Mon, Feb 14, 2011 at 4:42 PM, Robert Sealey wrote: > t, yes I did try previously to add listeners, with > little success, but again, I assu

[Google Maps API v3] Re: Clickable Polyline Problem

2011-02-14 Thread Robert Sealey
Thanks for that, yes I did try previously to add listeners, with little success, but again, I assume that I need to be able to identify each of the lines dynamically so that the listener is added in javascript as the map is built up, and I'm struggling to understand how to address each polyline sep

[Google Maps API v3] infoBoxes in StreetView? Or another way around this problem???

2011-02-14 Thread Tim Blackburn
Hi, Apologies in advance if this has been covered elsewhere, I did a search but could not find anything relevant. And apologies again for not having a link to the map, it is currently under development in our Trunk, and not live yet on the Release Branch. However, I do not require any 'debuggi

[Google Maps API v3] Re: Clickable Polyline Problem

2011-02-14 Thread Albert Sun
You'll want to attach an event listener to your polyline, and then in the callback for the event listener make an AJAX request to your server with the ID of the polyline and its new color. Take a look at the tutorial here. http://code.google.com/apis/maps/documentation/javascript/events.html It's

[Google Maps API v3] Clickable Polyline Problem

2011-02-14 Thread Robert Sealey
Hi there. Firstly, I'm a newbie with little coding experience, but generally able to modify code to suit a purpose. I've spent days hunting for an example where someone has already done something like this, but can't seem to find one. What I'm trying to achieve is a map with a number of polyline

Re: [Google Maps API v3] Re: Don't show direction with application bada

2011-02-14 Thread Mộng Kiều
this is picture when I execute phone samsung using bada system. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send em

[Google Maps API v3] Re: Is it possible to load a part of the map an leave the rest blank?

2011-02-14 Thread Guillem CANAL
Well i'm not sure if it's a safe way to do it. I saw what I want running with OSM and openlayer (http://geobretagne.fr/mapfishapp/) but i'll stink with google map since my teammate want to keep working with it (and so do I). -- You received this message because you are subscribed to the Google

Re: [Google Maps API v3] Re: KML layer toggling hiccup

2011-02-14 Thread mike
Amazing and so simple. That works an absolute treat! My mistake was in thinking that "show_kml" was a command and not a variable. Once I changed the "show_kml"'s to "show_stone", "show_tile", "show_wood" and called them seperately on the page, they worked properly. Thanks again James (and Jose

Re: [Google Maps API v3] Re: KML layer toggling hiccup

2011-02-14 Thread mike
Brilliant! Thank you so much James. I'll have a go at that now. Still pretty new to JavaScripting (modifying rather than just using what's available) so making obvious mistakes. Great to have all you guys to bounce things off. Many thanks again... Mike -- You received this message because

[Google Maps API v3] Re: Is it possible to load a part of the map an leave the rest blank?

2011-02-14 Thread Nikolaj Pedersen
You can override the GetTile function and choose what tiles you will load from the google images, and what tiles you setup custom. You could simply make a transparent tile for everything else you do not want to display. You would need to identify what tiles (image names) are covering what region (f

[Google Maps API v3] Is it possible to load a part of the map an leave the rest blank?

2011-02-14 Thread Guillem CANAL
Hi, I wonder if it's possible to load the road map of a specific region and do not display the rest. To be more specific, i would like to have the world map with continent's edges, seas and rivers and for a small region, the common google map layers. Do you think it's possible? PS : excuse my

[Google Maps API v3] GLatLngBounds() returns inaccurate coords

2011-02-14 Thread Martin™
Hi. I've run into problems on a map that i'm developing - wherever the map uses the getBounds() method it's behaving with unpredictable results... Here's the map: http://tinyurl.com/6xwq8lr I'm using getBounds() to: Pan the map to keep my custom overlay (infowindow) in view. Remove markers no

Re: [Google Maps API v3] Re: map resizes but does not center after resize...

2011-02-14 Thread Chris Broadfoot
On Mon, Feb 14, 2011 at 9:17 PM, Grezvany13 wrote: > No one with a solution and/or work around??? > You need to re-set the center after you trigger resize. When the div is hidden, it reports 0 width and height. The map will resize from the top left, so once you give it some width and height, th

[Google Maps API v3] convert long lat to x,y coordinate on the NASA blue marble image (plate carree)

2011-02-14 Thread Fragilem17
Dear All, I've been searching for days for ways to convert a maps api geocoding result to a usable x - y point on the map i'm using. It's the huge blue marble earth image from NASA, I'm 99% sure its a plate carree projection. I'm very sorry, if this is not the exact group to post this in, but I d

[Google Maps API v3] Re: map resizes but does not center after resize...

2011-02-14 Thread geocode...@gmail.com
On Feb 14, 2:17 am, Grezvany13 wrote: > No one with a solution and/or work around??? It doesn't work in IE. But you already know that. -- Larry > > On Feb 10, 10:17 am, Grezvany13 wrote: > > > > > Live example:http://johan.notitia.nl/dnd.html > > > Problem is at all browsers (make sure you

[Google Maps API v3] Re: map resizes but does not center after resize...

2011-02-14 Thread Grezvany13
No one with a solution and/or work around??? On Feb 10, 10:17 am, Grezvany13 wrote: > Live example:http://johan.notitia.nl/dnd.html > > Problem is at all browsers (make sure you have console enabled) -- You received this message because you are subscribed to the Google Groups "Google Maps Java

[Google Maps API v3] Re: Circle class

2011-02-14 Thread Rossko
> I don't > see an easy way to do this without making a many-sided polygon which > approximates a circle I think that is what you'll have to do. A Circle object has a single fillOpacity, and you seem to be describing some graduation scheme? Drawing circles is straightforward Example constructed

Re: [Google Maps API v3] Re: Server side marker clustering

2011-02-14 Thread Chris Broadfoot
Have a look at the code behind Marker Clusterer: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/src/markerclusterer.js You basically need to implement this clustering algorithm (or something similar) on the server - and pass the resultant clusters back to the clien

[Google Maps API v3] Re: How to get up to 20 distances at once with google Maps JavaScript API v3 ?

2011-02-14 Thread Rossko
> I know about the 2500 requests a day quota limit. But do you know the rate > limit that would explain why I can't get 20 distances at once ? Search this group http://groups.google.com/group/google-maps-js-api-v3/search?group=google-maps-js-api-v3&q=directions+rate+limit&qt_g=Search+this+group -

[Google Maps API v3] Re: Server side marker clustering

2011-02-14 Thread sgiddings
After looking again, I see that you are right here. However, (there's always a 'however' !) I am not looking for an 'out- of-the-box' or 'turnkey' solution. Rather, an explanation of how to achieve this myself. I would be surprised if the guys at loxcel shared with me their implementation. Simon

Re: [Google Maps API v3] Re: Server side marker clustering

2011-02-14 Thread Chris Broadfoot
On Mon, Feb 14, 2011 at 8:30 PM, sgiddings wrote: > Thanks for this. However they are using client-side clustering, which > I need to avoid. > They are not. The clusters are determined on the server, sent back via AJAX and rendered on the client. Do you want to render clusters on the server? I'

[Google Maps API v3] Re: Server side marker clustering

2011-02-14 Thread sgiddings
Hi Chris, Thanks for this. However they are using client-side clustering, which I need to avoid. Simon On Feb 14, 10:22 am, Chris Broadfoot wrote: > I don't know of such a tutorial, but check out what these guys are doing: > > http://loxcel.com/ > > Starbucks locator:http://loxcel.com/sbux > >

[Google Maps API v3] Re: Server side marker clustering

2011-02-14 Thread sgiddings
Thank you Esa, I had also seen these two sites, yet the first is for static maps and uses kml files, while the second is also for static maps. I had hoped for something which could correctly handle requests within a dynamic site. On Feb 13, 7:35 pm, Esa wrote: > I don't know status of the projec

Re: [Google Maps API v3] Re: Server side marker clustering

2011-02-14 Thread Chris Broadfoot
I don't know of such a tutorial, but check out what these guys are doing: http://loxcel.com/ Starbucks locator: http://loxcel.com/sbux -- http://twitter.com/broady -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to t

[Google Maps API v3] Re: Server side marker clustering

2011-02-14 Thread sgiddings
Thank you Esa, I had also seen these two sites, yet the first is for static maps and uses kml files, while the second is also for static maps. I had hoped for something which could correctly handle requests within a dynamic site. On Feb 13, 7:35 pm, Esa wrote: > I don't know status of the projec

Re: [Google Maps API v3] Getting 407 for jsapi and main.js.....

2011-02-14 Thread Chris Broadfoot
That doesn't look like the Maps API but the Visualization API. Might be best to direct your query to them. Since you're an enterprise customer, it may be best to get support through enterprise channels. This is a user-to-user forum. That said, that particular URL loads quickly for me. Chris --

Re: [Google Maps API v3] Traffic layer

2011-02-14 Thread Chris Broadfoot
On Mon, Feb 14, 2011 at 6:38 PM, whatever wrote: > traffic layer somehow.. > Yep, the Traffic Layer. http://code.google.com/apis/maps/documentation/javascript/overlays.html#TrafficLayer -- http://twitter.com/broady -- You received this message because you are subscribed to the Google Groups

[Google Maps API v3] Re: How to get up to 20 distances at once with google Maps JavaScript API v3 ?

2011-02-14 Thread mhh
I know about the 2500 requests a day quota limit. But do you know the rate limit that would explain why I can't get 20 distances at once ? Thanks a lot. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, se

[Google Maps API v3] Re: How to get up to 20 distances at once with google Maps JavaScript API v3 ?

2011-02-14 Thread geocode...@gmail.com
On Feb 14, 12:31 am, mhh wrote: > Hello all, > > I managed to get the distance between two points with Google Maps JavaScript > API v3 using the object GDirections(); > > function get_distance(location1, location2) { > > gDir = new GDirections(); > GEvent.addListener(gDir, "load", function() { > v

[Google Maps API v3] How to get up to 20 distances at once with google Maps JavaScript API v3 ?

2011-02-14 Thread mhh
Hello all, I managed to get the distance between two points with Google Maps JavaScript API v3 using the object GDirections(); function get_distance(location1, location2) { gDir = new GDirections(); GEvent.addListener(gDir, "load", function() { var drivingDistanceMiles = gDir.getDistance().mete