[Google Maps API v3] GeoCoder Request:LatLngBounds

2010-11-04 Thread ZEROSystem
Hi all, I am wondering if there is a way to reverse geocode a region highlighted by a polygon. eg. http://kbase.id.au/stuff.php The intention was to allow users to define a region (polygon) by placing markers on the map, then use reverse geocoder to list all the street names and cities. Afte

[Google Maps API v3] Link directly to KML feature

2010-11-04 Thread Jack Bates
How do I link directly to a KML feature in Google Maps? I created this example with three s, each with an @id, http://maps.google.com/maps?q=http:%2F%2Fnottheoilrig.com%2Fgoogle%2F201011040%2Findex.kml%23beach I tried adding a fragment to the link, e.g. ".../index.kml#beach", hoping that when I f

[Google Maps API v3] Re: how to extract longitude from LatLng?

2010-11-04 Thread geocode...@gmail.com
On Nov 4, 10:56 pm, tanyakaz wrote: > I need to extract longitude from LatLng pair. Is there a way to do it? http://code.google.com/apis/maps/documentation/javascript/reference.html#LatLng LatLng.lng()? Although I suppose it depends on what you mean by "LatLng pair". But this is the Google Maps

[Google Maps API v3] how to extract longitude from LatLng?

2010-11-04 Thread tanyakaz
I need to extract longitude from LatLng pair. Is there a way to do it? -- 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...@googlegroups.com. To unsubscribe from this group,

Re: [Google Maps API v3] Google elevation

2010-11-04 Thread Chris Broadfoot
Have you looked at batching up requests, and populating the Fusion Table using the API? http://code.google.com/apis/fusiontables/ Chris On Fri, Nov 5, 2010 at 8:40 AM, Benne Otten wrote: > Hello, > > I have a google map that uses a fusiontable to plot a lot of markers > on the map. > In this t

Re: [Google Maps API v3] Accessing DOM elements inside custom control DIVs

2010-11-04 Thread Chris Broadfoot
I'm not 100% clear on what you're having an issue with here, but it certainly *is* possible to attach event listeners to DOM nodes within custom controls. Just do it as you would any other DOM element. Here is an example: http://code.google.com/apis/maps/documentation/javascript/examples/control-c

Re: [Google Maps API v3] InfoWindow.open and Circle

2010-11-04 Thread Chris Broadfoot
oops, sorry, that's wrong, too... LatLng is not an MVCObject that exposes 'position' property :) infowindow.setPosition(circle.getCenter()); infowindow.open(map); On Fri, Nov 5, 2010 at 12:14 PM, Chris Broadfoot wrote: > Check the docs for InfoWindow. InfoWindow.open works with any MVCObject >

Re: [Google Maps API v3] InfoWindow.open and Circle

2010-11-04 Thread Chris Broadfoot
Check the docs for InfoWindow. InfoWindow.open works with any MVCObject that exposes 'position'. Circle is not one such MVCObject. Its center point is not exposed as its 'position'. As such, if you'd like to open an InfoWindow at the center, you'll want something like: infowindow.open(map, circle

[Google Maps API v3] Re: Accessing DOM elements inside custom control DIVs

2010-11-04 Thread Esa
>>How come the elements inside the control DIV elements are not >>accessible via their ID tags? You can have any number of maps on a page. -- 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 goo

[Google Maps API v3] Re: InfoWindow.open and Circle

2010-11-04 Thread Esa
Thanks for the link, but it gives 404 http://www.salag.com/maps&usg=AFQjCNH8HJfTUHUQP4LOGCOnPPdqR4NRaQ -- 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...@googlegroups.com.

[Google Maps API v3] Re: InfoWindow.open and Circle

2010-11-04 Thread Esa
Have you tried it without option strokeOpacity: 0, -- 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...@googlegroups.com. To unsubscribe from this group, send email to

[Google Maps API v3] Looking for a script for loading, drawing, and saving polygons to MySQL

2010-11-04 Thread lawa
Hi all, I'm totally new to the Google Maps API and I'm trying to locate something that doesn't seem to exist: the ability to load, draw/edit, and save polygons to a database. GeometryControls did this - almost - for V2, but I'd rather not be stuck in the past. I know that drawing, editing, and de

[Google Maps API v3] Accessing DOM elements inside custom control DIVs

2010-11-04 Thread patrick
Hello, sorry if this is an obvious question, but I have not found an answer after an extensive online search and the google maps v3 documentation also does not seem to cover this issue, so I deemed it a question worth asking. I am in the process of porting our existing google maps applications fr

[Google Maps API v3] InfoWindow.open and Circle

2010-11-04 Thread Lukasz Jaroszewski
Hi, I am trying to put infowindow at Circle `marker' and it doesnt work with google.maps.Circle tho it works prefectly with google.maps.Marker. I dunno what I am doing wrong with it. I can see alert("CKICK"); after clicking Circle, for some reason content of infowindow shows for milisecond in tople

[Google Maps API v3] Normal map to street view

2010-11-04 Thread André Freitas
I need to allow the user to click a button to change from a roadmap to street view map, and vice-versa. How can I do that? Thank you. -- 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-m

[Google Maps API v3] overlays disapper

2010-11-04 Thread Rahul Mehta
Hi All, I want to change color of overlays. So I broke the big kml files in small once and i am adding them But after 29 overlays...few overlays are only visible and most of them are invisible. What is the problem. Is there any limit to overlays that can be added. I looked few old post but i did

[Google Maps API v3] Re: Store Geocoder results in JavaScript array

2010-11-04 Thread Rossko
> http://kazantsevat.com/mashups/meetup/index2.php Geocoding is asynchronous. getCoordinates() fires off a geocoding request. It does not wait for the response. It returns to the calling code and alert (coord); is executed before the results have returned. Some time later, the geocoding resul

[Google Maps API v3] Google elevation

2010-11-04 Thread Benne Otten
Hello, I have a google map that uses a fusiontable to plot a lot of markers on the map. In this table is data from several birds that migrate south for the winter. I have the altitude of the bird for each datapoint, but my problem is that this altitude is absolute. To correct for this I need an e

Re: [Google Maps API v3] Store Geocoder results in JavaScript array

2010-11-04 Thread Tatiana Kazantseva
here it is http://kazantsevat.com/mashups/meetup/index2.php On Thu, Nov 4, 2010 at 12:41 AM, Chris Broadfoot wrote: > Is your array really global? Are you by chance using the 'var' keyword in a > non global context? > > Could you provide a link to your code? > > Also, more likely than not, you

[Google Maps API v3] Re: InfoWindow content and resize issue

2010-11-04 Thread CSharp
Please also take note underneath the map on the page. Scroll down to the bottom of the page on initial load. The containers I'm trying to illustrate is below the map. Once you click on a marker on the map, the container disappears from the page and gets loaded into the InfoWindow as it should, but

[Google Maps API v3] InfoWindow content and resize issue

2010-11-04 Thread CSharp
I really need some help with the InfoWindow. Originally, I had this all worked out nice and fine. Then, someone wanted the InfoWindows to resize dynamically based on the content. So, I had to restructure the DIV containers to size dynamically as necessary with the content. This is done with the DIV

[Google Maps API v3] Re: I want to be able to see the number of "products" in the same location

2010-11-04 Thread Rossko
> When zooming out I want to be able to see the number of "products" in > the same location (when the addresses are joint). Have you found the demo gallery in the documentation? (assuming you have found the documentation) http://code.google.com/apis/maps/documentation/javascript/demogallery.html H

[Google Maps API v3] Re: I want to be able to see the number of "products" in the same location

2010-11-04 Thread Chad Killingsworth
We've responded on other threads. Marker clustering is what you are wanting: http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerclusterer/1.0/examples/advanced_example.html Beyond that, you'll need to actually make an attempt at coding this and post a link to your map. Chad Kill

[Google Maps API v3] Re: drag fires twice after mouseup

2010-11-04 Thread Esa
Confirmed. It even looks like 'drag' is triggered twice by each single pixel movement. You can use 'position_changed' instead. That works like 'drag' but without unwanted triggerings. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" gr

[Google Maps API v3] Re: How to display my kml file?

2010-11-04 Thread geocode...@gmail.com
On Nov 4, 10:27 am, Jean Parret wrote: > Thank you for your reply. Is there a way to read kml files in Flash? If you > could point me to the right direction, I would appreciate it. This group is for the v3 Javascript API. The group for Google Maps API for Flash is: http://groups.google.com/group

Re: [Google Maps API v3] How to display my kml file?

2010-11-04 Thread Jean Parret
Thank you for your reply. Is there a way to read kml files in Flash? If you could point me to the right direction, I would appreciate it. Thanks. --- On Wed, 11/3/10, Chris Broadfoot wrote: From: Chris Broadfoot Subject: Re: [Google Maps API v3] How to display my kml file? To: google-maps-js-

[Google Maps API v3] Re: I want to be able to see the number of "products" in the same location

2010-11-04 Thread emsee
Please guys, I need tiny bit of help. -- 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...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api

[Google Maps API v3] Re: Unable to read Placemark ID

2010-11-04 Thread geocode...@gmail.com
On Nov 4, 9:34 am, Nicolas wrote: > Hi, > > I'm trying to read the placemark id of my KML file, after a kml event > fired, and it doesn't work. > > My KML file looks like this : > > ... > > testidagain > > Test > #style1 > > 6.121800,49.463902,0.00 > > > ... > > and in JS, i do the followi

[Google Maps API v3] Re: why is this function firing automatically ?

2010-11-04 Thread DaveGivesPHPaShot
Thanks Rossko ! That helped. I will remove that click listener, too. On 4 nov, 11:34, Rossko wrote: > The line mysql_downloadUrl(..) isn't inside any function so it gets > executed as the page loads.  Keep a careful count of curly brackets. > > The map click listener does nothing > google.maps.ev

[Google Maps API v3] Unable to read Placemark ID

2010-11-04 Thread Nicolas
Hi, I'm trying to read the placemark id of my KML file, after a kml event fired, and it doesn't work. My KML file looks like this : ... testidagain Test #style1 6.121800,49.463902,0.00 ... and in JS, i do the following : google.maps.event.addListener(layer, 'click', function(kmlEve

Re: [Google Maps API v3] Re: can use direction on iPhone

2010-11-04 Thread tran viet hung
thanks. i think i need another way to test it. On Thu, Nov 4, 2010 at 6:47 PM, Chad Killingsworth < chadkillingswo...@missouristate.edu> wrote: > I don't see anything that looks wrong with your application code > either, but I don't have time to build a test project. You might try > commenting o

[Google Maps API v3] Re: displaying data from a private fusion tables layer with OAuth token

2010-11-04 Thread Vish
Ha ! Thanks for the response Chad. And I agree giving away the OAuth token is a blunder. Is there any other way you can think of that I can use to display private fusion tables on google maps? Thank You, Vish On Nov 4, 10:11 am, Chad Killingsworth wrote: > Even if there were a way to do this,

[Google Maps API v3] Re: 2010/09/14: New Release

2010-11-04 Thread Heitor
Thanks, Chris. I'll correct those errors. On Nov 4, 9:45 am, Chad Killingsworth wrote: > You've got script errors on your page. The javascript > file:http://images.acswebnetworks.com/1/934/psc.jshas html script tags > inside it (it should only be javascript code). > In the PSCSmallGroupMaps.js f

[Google Maps API v3] Re: displaying data from a private fusion tables layer with OAuth token

2010-11-04 Thread Chad Killingsworth
Even if there were a way to do this, since the API is in Javascript, you'd be giving your OAuth token away and therefore your table would no longer be private. Chad Killingsworth On Nov 4, 8:33 am, Vish Uma wrote: > Hi all, > > I need to display the data from a private fusion table on the map. I

Re: [Google Maps API v3] Re: How to print a map properly

2010-11-04 Thread Garito
I ask if they work or not with it A person called Larry said yes, they are working on 2010/11/4 mIDO > Same here. Google has deprecated the v2 API while the v3 has a lot > problems. I think it is not ready for production too. > PLESE GOOGLE, Fix it :( > > > On Nov 3, 12:41 pm, Garito w

[Google Maps API v3] Re: 2010/09/14: New Release

2010-11-04 Thread Chad Killingsworth
You've got script errors on your page. The javascript file: http://images.acswebnetworks.com/1/934/psc.js has html script tags inside it (it should only be javascript code). In the PSCSmallGroupMaps.js file, your map variable is defined in your Initialize function. That means it is out of scope whe

Re: [Google Maps API v3] Re: Directions order based on selection

2010-11-04 Thread Chris Broadfoot
Right. I think I misunderstood the "in regular google map waypoints, there is a way to change the order by dragging the marker" Kevin, do you mean dragging and re-ordering waypoints within the sidebar on the left, in Google Maps? If so, you could implement it using something like this: http://jq

[Google Maps API v3] Re: How to print a map properly

2010-11-04 Thread mIDO
Same here. Google has deprecated the v2 API while the v3 has a lot problems. I think it is not ready for production too. PLESE GOOGLE, Fix it :( On Nov 3, 12:41 pm, Garito wrote: > Hi! > I try to find the correct map event to run the print fix without > success > > The maps API v3 is a t

[Google Maps API v3] displaying data from a private fusion tables layer with OAuth token

2010-11-04 Thread Vish Uma
Hi all, I need to display the data from a private fusion table on the map. I have obtained an OAuth token to access the data on the server side and I can send it down to the client. Is it possible to use the OAuth token to enable the Maps API fusion tables layer to display data from a private fus

[Google Maps API v3] Re: 2010/09/14: New Release

2010-11-04 Thread Heitor Gouvea
Hi, Since the update to the Google API two problems have cropped with a map I created (it can be found at http://sharebiz.org/). 1) In the past when I clicked a hyperlink in the sidebar it would direct me to the appropriate marker and bring up an info window. This no longer happens. 2) The other

[Google Maps API v3] Re: Transform overlay projection to GM Merator?

2010-11-04 Thread teknocreator
Yeah, that's what I thought. Well, it doesn't hurt to ask anyway. Thanks! If anyone else has further thoughts on this, please feel free to add a response. On Nov 4, 3:45 am, Nianwei Liu wrote: > No. You need a new maptype that uses LCC. There are samples in gallery > or utility libs that do jus

[Google Maps API v3] Re: Directions order based on selection

2010-11-04 Thread geocode...@gmail.com
On Nov 4, 12:27 am, Chris Broadfoot wrote: > http://code.google.com/apis/maps/documentation/javascript/reference.h... > > Did you try setting optimizeWaypoints:true ? That is not what he wants (at least per his original post): "Google choose the best route even though I have turned off the Rout

[Google Maps API v3] Re: can use direction on iPhone

2010-11-04 Thread Chad Killingsworth
I don't see anything that looks wrong with your application code either, but I don't have time to build a test project. You might try commenting out anything but the bare minimum and then slowly start adding back features. Good luck. Chad Killingsworth On Nov 4, 2:30 am, Chris Broadfoot wrote:

[Google Maps API v3] Re: drag marker and no drag

2010-11-04 Thread cobalt
Many thanks for your help, here is what it was;) -- 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...@googlegroups.com. To unsubscribe from this group, send email to google-

[Google Maps API v3] Re: Map DIV canvas with round corners?

2010-11-04 Thread dfd
On 3 Nov., 16:05, Chad Killingsworth wrote: > There aren't any map options, or methods to override, which allow for > this directly. > > I tried a slightly different method > here:http://search.missouristate.edu/map/mobile/examples/corners.htm > Just be careful not to cover the terms of service

[Google Maps API v3] Re: Store Geocoder results in JavaScript array

2010-11-04 Thread Rossko
> I did that. I find coordinates, I use push to add them to global array, I > alert results and everything is fine. But when I check my array outside the > function, it's empty geocoding is asynchronous. You are probably checking the array before the data has actually returned. But that's only a

[Google Maps API v3] Re: why is this function firing automatically ?

2010-11-04 Thread Rossko
The line mysql_downloadUrl(..) isn't inside any function so it gets executed as the page loads. Keep a careful count of curly brackets. The map click listener does nothing google.maps.event.addListener(mysql_map, 'click', function() { }); -- You received this message because you are sub

[Google Maps API v3] Re: map not loading

2010-11-04 Thread Niklasro
Thanks Chris! The map now appears. Best regards, Niklas On Nov 4, 7:26 am, Chris Broadfoot wrote: > You've commented out your starting center point: > >    // center: newyork, > > Cheers > Chris > > On Thu, Nov 4, 2010 at 4:31 PM, Niklasro wrote: > > Hi > > My map is not loading where it should

[Google Maps API v3] why is this function firing automatically ?

2010-11-04 Thread DaveGivesPHPaShot
Hello and thanks in advance for your help. This is a google mashup in which a function fires onload instead of waiting patiently to be called upon. http://www.thebigmap.com/test/marche_alimentaire_wait_to_loadnov3c.html I would like to load an empty map and wait for the user to enter search in

[Google Maps API v3] Re: Prevent selecting the text and other contents when "dragging" the polygon / polyline

2010-11-04 Thread Bossa
Thank you for the reply, I added those code both inside the function PolyMouseDown and MapMouseMove, it works quite well, in Chrome the text cannot be selected anymore. (The test link is also updated) By the way, there are still some problems left, the polygon will stop following the cursor if it

[Google Maps API v3] Re: Prevent selecting the text and other contents when "dragging" the polygon / polyline

2010-11-04 Thread Pil
"return false;" belongs to the Level 0 event model that doesn't seem to be supported by Safari and Chrome any longer. You can try the following either in the function PolyMouseDown or in MapMouseMove /** * Avoid selecting other content while dragging */ if (e.cancelable) { e.preventDefault()

[Google Maps API v3] I want to be able to see the number of "products" in the same location

2010-11-04 Thread emsee
Hey guys, Thank you all for your time and the great help. I have another minor issue: When zooming out I want to be able to see the number of "products" in the same location (when the addresses are joint). I want it to be like in this map(zoom out and you will see what I mean): http://www.zoocasa

[Google Maps API v3] Re: Map clicks misplaced in Android browser.

2010-11-04 Thread mcfoi
Sometime in september an update in the GMaps API fixed the problem. Now also Android 1.6 is responding as should! Marco Foi On 19 Ott, 15:10, Chad Killingsworth wrote: > I'd help, but my phone is running v2.2 and all my testing devices are > loaned out ... > > Chad Killingsworth > > On Oct 19,

[Google Maps API v3] Prevent selecting the text and other contents when "dragging" the polygon / polyline

2010-11-04 Thread Bossa
Hi, Previously I created a simple sample (in Google map API V3) of polygon dragging using some mousedown and mousemove event, here is the link: http://www.unusualhk.com/test/ Basically it works well in Firefox, in Chrome, however, the text (e.g. the counter at the top of the map, if dragged upwa

[Google Maps API v3] Re: Transform overlay projection to GM Merator?

2010-11-04 Thread Nianwei Liu
No. You need a new maptype that uses LCC. There are samples in gallery or utility libs that do just that. On Nov 3, 6:02 pm, teknocreator wrote: > Perhaps this was posted in the V2 discussion group and I think I > already know the answer but thought I'd ask anyway.  We have a great > deal of PNG

Re: [Google Maps API v3] Store Geocoder results in JavaScript array

2010-11-04 Thread Chris Broadfoot
Is your array really global? Are you by chance using the 'var' keyword in a non global context? Could you provide a link to your code? Also, more likely than not, you don't actually need to have variables globally accessible. Sure, it's handy -- but pollutes the global namespace and can lead to c

Re: [Google Maps API v3] Store Geocoder results in JavaScript array

2010-11-04 Thread Tatiana Kazantseva
I did that. I find coordinates, I use push to add them to global array, I alert results and everything is fine. But when I check my array outside the function, it's empty On Thu, Nov 4, 2010 at 12:25 AM, Chris Broadfoot wrote: > Of course. The return result from the Geocoder is just a JavaScript

Re: [Google Maps API v3] Re: can use direction on iPhone

2010-11-04 Thread Chris Broadfoot
I'm not too sure what's going on here, I don't know how to build a native iPhone app. This forum is for the JS API. However, when loading up test2.html in the iPad browser, seems to work fine. On Thu, Nov 4, 2010 at 12:19 PM, william Hung wrote: > please help me > > -- > You received this messa

Re: [Google Maps API v3] Re: Directions order based on selection

2010-11-04 Thread Chris Broadfoot
http://code.google.com/apis/maps/documentation/javascript/reference.html#DirectionsRequest Did you try setting optimizeWaypoints:true ? On Thu, Nov 4, 2010 at 1:10 PM, geocode...@gmail.com wrote: > On Nov 3, 6:33 pm, Kevin Davis wrote: > > Understood.. I do have one more question, in regular

Re: [Google Maps API v3] map not loading

2010-11-04 Thread Chris Broadfoot
You've commented out your starting center point: // center: newyork, Cheers Chris On Thu, Nov 4, 2010 at 4:31 PM, Niklasro wrote: > Hi > My map is not loading where it should from http://forum.koolbusiness.com > Can you recommend how to troubleshoot and proceed? > I tried debugging with fir

Re: [Google Maps API v3] Store Geocoder results in JavaScript array

2010-11-04 Thread Chris Broadfoot
Of course. The return result from the Geocoder is just a JavaScript object. Just assign it to a global variable like you would any other JS value. On Thu, Nov 4, 2010 at 6:14 PM, Tatiana Kazantseva wrote: > Is it possible to store the results produced by Geocoder request in a > global array? Let

[Google Maps API v3] Store Geocoder results in JavaScript array

2010-11-04 Thread Tatiana Kazantseva
Is it possible to store the results produced by Geocoder request in a global array? Let's say, I pass an array containing addresses, and I want LatLng results to be stored in a new global array outside the geocode function? -- You received this message because you are subscribed to the Google Gro