[Google Maps API v3] Re: Problem with calls to places

2011-11-17 Thread goexuma
I read the documentation you suggested, and I think I am ok. I only need to retreive the place locations on a month or so. I am guessing that there is no more than 200 places in total. Thanks again -- You received this message because you are subscribed to the Google Groups "Google Maps Jav

[Google Maps API v3] Re: Problem with calls to places

2011-11-17 Thread Rossko
> Do you have any suggestions about how to retrieve more than 20 results. Not really. They set the limit to prevent abuse. > I was thinking of creating an arry of lat/lng boxes and then loop through > them as a way around the limit of 20. You'll need to read this part of the docs too http://cod

[Google Maps API v3] Re: About GOverviewMapControl function

2011-11-17 Thread geocode...@gmail.com
On Nov 17, 5:25 pm, "xinyun_0...@126.com" wrote: > In API v2 i saw the function like GOverviewMapControl(),But i use API > v3 now.So i want to know is there any way to replace > GOverviewMapControl(),Thanks! Did you look in the documentation: http://code.google.com/apis/maps/documentation/javasc

[Google Maps API v3] Re: Problem with calls to places

2011-11-17 Thread goexuma
Thanks so much, thats the problem. I read the documentation, but missed that line. Do you have any suggestions about how to retrieve more than 20 results. I was thinking of creating an arry of lat/lng boxes and then loop through them as a way around the limit of 20. Thanks -- You received t

[Google Maps API v3] About GOverviewMapControl function

2011-11-17 Thread xinyun_0...@126.com
In API v2 i saw the function like GOverviewMapControl(),But i use API v3 now.So i want to know is there any way to replace GOverviewMapControl(),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

[Google Maps API v3] Re: 2011/11/7 - New Release (3.7) - editable shapes, DrawingManager, and more

2011-11-17 Thread Silas
First off, great job. Editable polygons are awesome! I just finished implementing my own editable polygons using markers but like the way google maps handles it. The only think I'm not so fond of are the huge squares at the vertices. Is there a way to specify your own icons for the prime vertic

[Google Maps API v3] Re: Problem with calls to places

2011-11-17 Thread Rossko
> Does the places api have a maximum number of entries that can be returned > in one call. You could try the documentation I suppose http://code.google.com/apis/maps/documentation/places/#PlaceSearchResponses " The Places API returns up to 20 establishment results. Additionally, political results

[Google Maps API v3] Re: Custom Marker for Fusion Table entries (nothing loads on the map)

2011-11-17 Thread geocode...@gmail.com
On Nov 17, 2:44 pm, Amelia Griza-Padilla wrote: > Hi Larry, > Thanks for your suggestions. I went back through it and made the > changes, but I'm still not able to see any of the markers on my map. Here is the version I created when formulating those suggestions: http://www.geocodezip.com/advoca

[Google Maps API v3] Re: 2011/11/7 - New Release (3.7) - editable shapes, DrawingManager, and more

2011-11-17 Thread koops
Thanks. That information would be a nice addition somewhere in the drawing manager documentation. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-

[Google Maps API v3] Re: Geocoding a street addresses returns locations off the road

2011-11-17 Thread MymsMan
The directions service will return the nearest road address so you can ask for directions from A to A and retrieve the starting location from the direction result. However if your location is in a pedestrian only area such as Venice the nearest road may be a long way away! -- You received thi

[Google Maps API v3] Re: 2011/11/7 - New Release (3.7) - editable shapes, DrawingManager, and more

2011-11-17 Thread Enoch Lau (Google Employee)
http://code.google.com/apis/maps/documentation/javascript/reference.html#Polygon Call setEditable(true). There's no need to load the drawing library to use setEditable. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view t

[Google Maps API v3] Re: Custom Marker for Fusion Table entries (nothing loads on the map)

2011-11-17 Thread Amelia Griza-Padilla
Hi Larry, Thanks for your suggestions. I went back through it and made the changes, but I'm still not able to see any of the markers on my map. Also using the debugger I am getting an error at line 46: var numRows = response.getDataTable().getNumberOfRows(); Background: I got this code from http:

[Google Maps API v3] Re: Custom Marker for Fusion Table entries (nothing loads on the map)

2011-11-17 Thread Amelia Griza-Padilla
Hi Larry,Thanks for your suggestions.  I went back through it and made the changes, but I'm still not able to see any of the markers on my map. Also using the debugger I am getting an error at line 46   var numRows = response.getDataTable().getNumberOfRows(); Background: I got this code from http:/

[Google Maps API v3] Problem with calls to places

2011-11-17 Thread goexuma
I am using the places api, an experiencing inconsistent results. Basiclly, what I am doing is putting a bounds box around an area and asking places to return all the points inside the bounds. Places always misses locations. My target is Exuma in the bahamas. the maximum number of places is aro

[Google Maps API v3] Re: Custom tile overlays broken in v 3.7

2011-11-17 Thread Jason
Thanks Marcelo. I'll check that out. Nice site too btw! The tile behavior is there. I just confirmed it in both FF and Chrome. I zoom in about 5 clicks and start dragging the map around. Everything gets jumbled using the 3.7 API. On Nov 17, 11:50 am, Marcelo wrote: > I don't see any difference b

[Google Maps API v3] Re: Infobubble 'jumping' out of view

2011-11-17 Thread Rossko
> Well thats what I'm trying to fix; the info window is supposed to be > created after the marker so that it scrolls into view Works for me in IE. Nearly works in FF, but not so neatly as the width of the infowindow doesn't fit the small map(allowing for controls) so the scroll stops short, and th

[Google Maps API v3] Re: Mileage By State

2011-11-17 Thread Marcelo
On Nov 17, 9:52 am, Peter demaria wrote: > *Dear Google Maps Javascript API v3 Group,* > I'm searching for a way to break the output of Googles Directions API for > directions based on an Origin, Waypoints, and Destination into Mileage by > US State. Here's an example that shows you the mileage b

[Google Maps API v3] Re: Finding driving routes

2011-11-17 Thread Rossko
> I find my position on the map automatically via geolocation, but can`t > figure how i can get the "end" dropdownlist to work propperly. >     // Retrieve the start and end locations and create >     // a DirectionsRequest using DRIVING directions. >     var start = document.getElementById("star

[Google Maps API v3] Re: Mileage By State

2011-11-17 Thread Rossko
> You would think that a Stateline would constitute some type of object, at > least as a Point of Interest or a flag that would be available as a > breakpoint. Directions service provides directions, its not purposed to provide points of interest. You could make an enhancement request, and see if

[Google Maps API v3] Re: Infobubble 'jumping' out of view

2011-11-17 Thread Andrew Vrydaghs
On Thursday, November 17, 2011 2:34:48 PM UTC-5, Rossko wrote: > > > http://www.zoponline.com/googlemap/ > > Seems to work reasonably to me ; the infowindow is a little too big to > fit comfortably on the map. Well thats what I'm trying to fix; the info window is supposed to be created after

[Google Maps API v3] Re: Infobubble 'jumping' out of view

2011-11-17 Thread Rossko
> http://www.zoponline.com/googlemap/ Seems to work reasonably to me ; the infowindow is a little too big to fit comfortably on the map. -- 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 googl

[Google Maps API v3] Re: Maintain Aspect Ratio when editing a Rectangle

2011-11-17 Thread gavin
Cheers for the suggestions! I'm hoping to have a play next week. On Nov 17, 9:25 pm, Tiby Ionescu wrote: > I haven't tested yet, but couldn't you use the map mousemove event, > something like: > > var resizing = false; > > // on marker dragstart > resizing = true > > // on marker dragend > resizi

[Google Maps API v3] Mileage By State

2011-11-17 Thread Peter demaria
*Dear Google Maps Javascript API v3 Group,* I'm searching for a way to break the output of Googles Directions API for directions based on an Origin, Waypoints, and Destination into Mileage by US State. I've done a lot of googling and looked through the documentation but I'm not seeing anything

Re: [Google Maps API v3] Re: Populate Text Box With Map Marker Click

2011-11-17 Thread IR HM
Hi, I've managed to get this to work. I had left out the declaration of the address with the other pieces of information that made up the marker information. many thanks for your help. Kind regards On 17 November 2011 17:14, IR HM wrote: > Hi, many thanks for this, I actually changed it to 'm

Re: [Google Maps API v3] Re: Odd IE 7-9 behaviour - 'google is undefined'

2011-11-17 Thread Michael Geary
> > On Nov 17, 2:04 am, Stacey wrote: > > Hello everyone, > > > > Could someone figure out for me why IE 7-9 appears to error on line 4 of > > map.js of this page? As far as I know, there are no stray commas in my > > script... > > On Thu, Nov 17, 2011 at 5:01 AM, geocode...@gmail.com wrote: > >

[Google Maps API v3] Re: 2011/11/7 - New Release (3.7) - editable shapes, DrawingManager, and more

2011-11-17 Thread koops
How do you specify pre-existing polygons, lines, markers, etc. and make them editable? The docs say that path is ignored when specifying options. If you can only get data out and not put it in, the uses of the library are limited. -- You received this message because you are subscribed to the

Re: [Google Maps API v3] Odd IE 7-9 behaviour - 'google is undefined'

2011-11-17 Thread Michael Geary
Your tag that loads the Maps API is wrong. It shouldn't use type="application/javascript". https://www.google.com/search?q=ie+script+"application+javascript";<[Google Maps API v3] Re: Infobubble 'jumping' out of view
You might have to hold my hand here, because this doesn't do it: http://pastebin.com/zBewFpkc http://www.zoponline.com/googlemap/ -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https:

[Google Maps API v3] Re: How to capture events with a GWT element?

Ok Rossko. Just for reference. http://groups.google.com/group/gwt-google-apis/browse_thread/thread/ce16e73d5838819b/6460ca6d83e3c05b#6460ca6d83e3c05b -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on

[Google Maps API v3] Re: Adding info windows to multiple polygons

Hi Larry, Thats pretty close to what I am trying to so, I was planning on having the polygons pre displayed just trying to work out how to set the various info windows for the polygons. I will have a look at the code behind the example and see if I can get any info from that. Im pretty new

Re: [Google Maps API v3] Re: Populate Text Box With Map Marker Click

Hi, many thanks for this, I actually changed it to 'myaddress' as this is the actual address field containing the data. However I've still got the same problem in that the text field shows the value as 'undefined'. I've checked the php script that pulls the data from the database and the data is b

[Google Maps API v3] Re: Geocoding a street addresses returns locations off the road

Ok guys, I obviously had not investigated far enough. Thanks for these clarifications. On Nov 17, 11:10 am, Rossko wrote: > > The resulting lat/lng pair, when used to place a marker, puts it in > > the empty space next to the road. > > It's not indicating empty space - have you looked at satellit

[Google Maps API v3] Re: Populate Text Box With Map Marker Click

Try replacing: document.getElementById('address').value = address; with: document.getElementById('address').value = this.myname; -- Marcelo - http://maps.forum.nu -- On Nov 17, 8:24 am, IR HM wrote: > I wonder whether someone can help me please with a problem I've been trying > to sort out

[Google Maps API v3] Re: Custom tile overlays broken in v 3.7

I don't see any difference between your two links, either in Chrome or Firefox. In case it helps, my MCustomTileLayer object, allows you to set the opacity of a tile layer: http://maps.forum.nu/v3/gm_customTiles.html -- Marcelo - http://maps.forum.nu -- On Nov 17, 8:43 am, Jason wrote: > hi,

[Google Maps API v3] Custom tile overlays broken in v 3.7

hi, I'm using a custom tile overlay (discussed earlier in this group http://bit.ly/uAplOc) to display image tiles on top of a map. The reason for using the custom tile overlay instead of the native Image.MapType is I need to be able to dynamically change the opacity of the image layer. Everything

[Google Maps API v3] Populate Text Box With Map Marker Click

I wonder whether someone can help me please with a problem I've been trying to sort out most of the week. I have the following page here that allows the user to view certain map markers upon selection and deselection of check boxes. Wh

[Google Maps API v3] Finding driving routes

Hi. can you please advise me on how I can get my route from my location to a specific address via a dropdown list with several options. How can I replace the "start" with geolocation and still use the "end" dropdown list to find my routes. I find my position on the map automatically via geolocation

Re: [Google Maps API v3] V2 -> V3 missing functionality...

Thanks, the link pointed me in the right direction, problem solved. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/wlh5L-_-cT4J

[Google Maps API v3] Re: V2 -> V3 missing functionality...

On Nov 17, 6:30 am, Barry Hunter wrote: > This looks relevent > > http://stackoverflow.com/questions/436670/local-html-file-ajax-call-a... As does this thread found by searching the group for GDownloadUrl http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/fb7c7aff2d2859/c9

Re: [Google Maps API v3] V2 -> V3 missing functionality...

This looks relevent http://stackoverflow.com/questions/436670/local-html-file-ajax-call-and-jquery-woes On Thu, Nov 17, 2011 at 12:03 PM, AF wrote: > My locally installed desktop app written in c++ makes calls into the > javacode of a locally installed html file to provide its google > map fun

[Google Maps API v3] V2 -> V3 missing functionality...

My locally installed desktop app written in c++ makes calls into the javacode of a locally installed html file to provide its google map functionality. Typically the app will create a temp. xml file ( on the local hard drive i.e. "c:\temp\addmarkers.xml" ) describing what is required and call i

[Google Maps API v3] Re: Odd IE 7-9 behaviour - 'google is undefined'

On Nov 17, 2:04 am, Stacey wrote: > Hello everyone, > > Could someone figure out for me why IE 7-9 appears to error on line 4 of > map.js of this page? As far as I know, there are no stray commas in my > script... It looks like the google map loader is loading the API asynchonously. The google na

[Google Maps API v3] Re: Distance Travelled?

> Thanks again, next question is there a snap to road function? No but you can use Directions for that purpose http://groups.google.com/group/google-maps-js-api-v3/search?group=google-maps-js-api-v3&q=snap+to+road -- You received this message because you are subscribed to the Google Groups "Goo

Re: [Google Maps API v3] Re: Distance Travelled?

Thanks again, next question is there a snap to road function? On Thu, Nov 17, 2011 at 12:21 PM, Rossko wrote: > > have used GIS libraries before, could I log the position and snap to a > > road, log the roads that have been travelled on then from the start > > co-ordinate calculate the cumulativ

[Google Maps API v3] Re: Distance Travelled?

> have used GIS libraries before, could I log the position and snap to a > road, log the roads that have been travelled on then from the start > co-ordinate calculate the cumulative distance travelled to the end point > using the length of each road? Yes, if you know the roads that have been trave

Re: [Google Maps API v3] Re: Distance Travelled?

Hi Roosko, At the moment nothing I haven't started writing this part of the application. I don't know to much about what is possible with the API. I have used GIS libraries before, could I log the position and snap to a road, log the roads that have been travelled on then from the start co-ordin

[Google Maps API v3] Re: Adding info windows to multiple polygons

On Nov 17, 12:55 am, Andy wrote: > I am trying to add multiple info windows to multiple polygons. The > google maps API (http://code.google.com/apis/maps/documentation/ > javascript/overlays.html#PolylineArrays) example only shows show to > add infowindows if the polygon path is fixed. Are you tr

[Google Maps API v3] Re: Distance Travelled?

> Is there any built in routines in the API to calculate distance > travelled from a known start point. No. The API cannot know what route you have taken to arrive 'here'. What actual information do you have about the journey? -- You received this message because you are subscribed to the Googl

[Google Maps API v3] Re: Creating a Google Maps embed to distribute your application to other sites (API Terms)

> ... to have a handler on my server which gets the API code from > google, generates code for the client, puts them together and serves > it as a single script file (this would be easier for the client). That isn't allowed, apart from I don't think it'd work anyway. The client must load the API

[Google Maps API v3] Re: Creating a Google Maps embed to distribute your application to other sites (API Terms)

Yes, I don't store anything on my server from Google. After a quick thought, the two possible solutions are to include in the client code two script tags, one with the API and the other one containing my code, or to have a handler on my server which gets the API code from google, generates code for

Re: [Google Maps API v3] Re: Invalida argument with Google Maps V3

On 17 November 2011 10:36, Jayprakash wrote: > i also found the same error in gmap v3 please suggest me OK. Where is the link to *your* map? -- 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 API v3] Re: Invalida argument with Google Maps V3

i also found the same error in gmap v3 please suggest me in IE Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2) Timestamp: Thu, 17 Nov 2011 10:32:52 UTC Message: Invalid argument. Line: 1 Char: 348 Code: 0 URI: http://maps.gstatic.

[Google Maps API v3] Distance Travelled?

Hi, Is there any built in routines in the API to calculate distance travelled from a known start point. I'm not talking about range and bearing which is a straight line between two points. What I would like to resolve is given a start point on a road, the total route distance travelled. Thank y

[Google Maps API v3] Re: Creating a Google Maps embed to distribute your application to other sites (API Terms)

> So, practically I am distributing the API That wouldn't be allowed, but I expect it's not really what you are doing. Will the "other page" be loading the API from google? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To po

[Google Maps API v3] Re: How to capture events with a GWT element?

> Is it possible to capture an event generated inside a control (GWT > DropDox) with some kind of listener/handler?? I think this is a question for GWT group http://groups.google.com/group/gwt-google-apis -- You received this message because you are subscribed to the Google Groups "Google Maps

[Google Maps API v3] Re: Mutipage- Display Google Map

> I'm constructing a Mutipage app using viewmanager function while adding the > map into one of my page it cant work! Help needed for this part on how do i > write the map in and disply as of the "print screen". I don't understand this. Share a link to your map so we can see what you are trying t

[Google Maps API v3] Re: 2011/11/7 - New Release (3.7) - editable shapes, DrawingManager, and more

Thanks Chris - worked well (except that I had to use 'polylinecomplete' instead of 'polylinecreated'. Roy On Nov 17, 12:13 pm, Chris Broadfoot wrote: > Hey Roy, > > Listen to the "foocreated" events... "overlaycreated" to get an event for > all overlays, or just "polylinecreated" for only polyli

[Google Maps API v3] Re: Geocoding a street addresses returns locations off the road

> The resulting lat/lng pair, when used to place a marker, puts it in > the empty space next to the road. It's not indicating empty space - have you looked at satellite imagery? - the marker is on a building. The geocoding results have location_type : "ROOFTOP" http://code.google.com/apis/maps/do

[Google Maps API v3] Odd IE 7-9 behaviour - 'google is undefined'

Hello everyone, Could someone figure out for me why IE 7-9 appears to error on line 4 of map.js of this page? As far as I know, there are no stray commas in my script... http://www.staceyjenkins.co.uk/webtest/cc4test/index18.html Error: Line 5, char 1 - 'google' is undefined -- You received

Re: [Google Maps API v3] Geocoding a street addresses returns locations off the road

On 17 November 2011 09:04, sgiddings wrote: > > The resulting lat/lng pair, when used to place a marker, puts it in > the empty space next to the road. It puts it on a building next to the road. > Is this a known issue ? Geocoders guess. That's well known. If you know where the marker should be

[Google Maps API v3] Geocoding a street addresses returns locations off the road

New (bad) behaviour. In my site - for France, the user can simply enter an address. For example: 46 Avenue Moka, 35400 Saint Malo This address is then geocoded in the following manner to obtain the lat/lng coordonnates: vGeoCoder = new google.maps.Geocoder(); vGeoCoder.geocode( {'address' : '46 A

[Google Maps API v3] Adding info windows to multiple polygons

I am trying to add multiple info windows to multiple polygons. The google maps API (http://code.google.com/apis/maps/documentation/ javascript/overlays.html#PolylineArrays) example only shows show to add infowindows if the polygon path is fixed. I have copied the code (still in draft so needs a li

[Google Maps API v3] Re: How much the straight line distance between two markers?

If you are not concerned that the latitude/longitude system is not a Cartesian system, you could simply use the math formula for computing distance: distance = SQRT ( (x2 - x1) ^ 2 + (y2 - y1) ^2 ) and you replace xn with longitude of nth marker and yn with latitude of nth marker. If you want to

[Google Maps API v3] Re: Maintain Aspect Ratio when editing a Rectangle

I haven't tested yet, but couldn't you use the map mousemove event, something like: var resizing = false; // on marker dragstart resizing = true // on marker dragend resizing = false // on map mouse move if (resizing) // calculate aspect ratio I am using the map mousemove technique in my drawi

[Google Maps API v3] Creating a Google Maps embed to distribute your application to other sites (API Terms)

I am working on a public transport route planner using Maps V3, and I am thinking of letting other developers implementing some sort of embed functionality in their sites using my application (for example to display in a contact page). This service will be absolutely free of charge, the only advan

[Google Maps API v3] How much the straight line distance between two markers?

Today,i try to use a new function on google maps API v3,but i have a problem,i don't know how to obtain the straight line distance between two markers? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send