[Google Maps API v3] Prevent map panning when using google.maps.DirectionsService

2011-10-11 Thread Justin
Hi, Im currently using the google.maps.DirectionsService and whenever I create a new route request, the map will pan to the location of the route. How do I prevent this from occuring? Regards Justin -- You received this message because you are subscribed to the Google Groups "Google Maps Java

[Google Maps API v3] Google places autocomplete does not always fire place_changed on location selection

2011-10-11 Thread Andre Wilson
I currently am trying to integrate the google places auto complete facility into my website so that I can use it to easily retrieve location information such as latitude and longtitude of an address. However I have noticed that although the auto complete will give drop down options to sel

[Google Maps API v3] on change function not working

2011-10-11 Thread steve
The original page: http://webknows.net/schoolboundary.asp I loaded a fusion table layer then want to select a school district and then update the map with school district's boundary. However, it seems not working. Can you share anything I have done wrong? The function to update the map is as below

[Google Maps API v3] Re: How to remove certain places on a map

2011-10-11 Thread BruceB
You can't specifically show one particular store or set of stores in the styling interface. You would have to hide all POIs, and then use the Places API to search for and show your store(s) using the Marker overlay. -- You received this message because you are subscribed to the Google Groups "

[Google Maps API v3] Re: Calculate the distance from the two latlng objects

2011-10-11 Thread 千秋
Thank you for your help ,I found this url in the relevant formula。 http://code.google.com/intl/zh-CN/apis/maps/articles/phpsqlsearch_v3.html On Oct 12, 3:29 am, Rossko wrote: > > I want to calculate the distance between two objects latlng, and want > > to know the formula for calculating the dis

[Google Maps API v3] Re: Calculate the distance from the two latlng objects

2011-10-11 Thread 千秋
Thank you for your answer,google maps api Chinese version of the update rate slower than the English version, thanks again! On Oct 11, 6:33 pm, MymsMan wrote: > Seehttp://code.google.com/apis/maps/documentation/javascript/reference.h... > > The computeDistanceBetween() method calculates the dista

[Google Maps API v3] Re: How to remove certain places on a map

2011-10-11 Thread Junsuk Bang
Oh, it is so helpful for me who is a real beginner of google Maps API and Javascript. Thanks. But, I have one more thing to ask. By setting the visibility option of featuretypes, I can only remove a group of features like all goverment things, all business things. If I want to remove all

[Google Maps API v3] Re: Google Map V3 Click Event for multiple objects (marker, polygon...)

2011-10-11 Thread geocode...@gmail.com
On Oct 11, 3:26 pm, 7heroes wrote: > Hi all, > > I have an array of object (polygons), and each object has its own click > event. I am successfully attached click event to each object which will > trigger the same OnPolygonClick(e), however I don't know how to determine > which polygon is clicked,

[Google Maps API v3] Re: Transaction limits and associated costs

2011-10-11 Thread Thor Mitchell (Google Employee)
On Monday, 10 October 2011 06:42:41 UTC-7, abanjo wrote: > > What is not clear to me is:- if i use the javascript V3 version, the > 25.000 are calculated for the IP ( so the client ), the domain ( so the web > site ) or what? For the domain. > - Well, the costs are for commercial web site...

[Google Maps API v3] Re: Places search bounds size

2011-10-11 Thread BruceB
I believe there was a recent fix that brought the search radius limit down to 50km -- discussed here http://code.google.com/apis/maps/documentation/webservices/forum.html?place=topic%2Fgoogle-maps-api-web-services%2FboFRM7O7ds8%2Fdiscussion -- You received this message because you are subscrib

[Google Maps API v3] Google Map V3 Click Event for multiple objects (marker, polygon...)

2011-10-11 Thread 7heroes
Hi all, I have an array of object (polygons), and each object has its own click event. I am successfully attached click event to each object which will trigger the same OnPolygonClick(e), however I don't know how to determine which polygon is clicked, something like if you click on a polygon wh

[Google Maps API v3] Re: infoWindow for every set of coordinates on polyline

2011-10-11 Thread fable
oh, cool. thanks! -- 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/-/j1_WbNRGB5AJ. To post to this group, send email to google-maps-

[Google Maps API v3] Re: Hex Grid construction

2011-10-11 Thread geocode...@gmail.com
On Oct 11, 1:56 pm, Benjamin Mottram wrote: > Hi everybody, > > I need to construct a hex grid in a similar manner to those found on > traditional table top war games . > > (e.g. this is an excellent > examplehttp://www.crypticcomet.com/blog/wp-content/uploads/2006/05/HexMapTop...). > > I found a

[Google Maps API v3] Re: Custom marker icons using DirectionsRenderer.setDirections()

2011-10-11 Thread Masashi.K
Hi Matt- I wrote a description page. http://googlemaps.googlermania.com/google_maps_api_v3/map_example_direction_customicon.html My english is poor, but maybe you can understand. On 10月6日, 午後10:30, "Masashi.K" wrote: > Hi Matt- > > You can change theiconswith DirectionsRenderer. > > First set t

[Google Maps API v3] Hex Grid construction

2011-10-11 Thread Benjamin Mottram
Hi everybody, I need to construct a hex grid in a similar manner to those found on traditional table top war games . (e.g. this is an excellent example http://www.crypticcomet.com/blog/wp-content/uploads/2006/05/HexMapTopo.jpg). I found a partial solution to this problem but it is only using th

[Google Maps API v3] Places search bounds size

2011-10-11 Thread gpa
I'm trying to use the Places service to look for a place that may or may not be local. I was doing a search with some very generous bounds (worldwide, see here: http://dl.dropbox.com/u/12543232/PlaceSearch1.html). It used to work up until a couple of days ago and now it's only returning zero resul

[Google Maps API v3] Re: Calculate the distance from the two latlng objects

2011-10-11 Thread Rossko
> I want to calculate the distance between two objects latlng, and want > to know the formula for calculating the distance calculation If you want the general formulaes to write code in the language of your choice, use Google's search engine http://www.google.com/search?q=lat+long+distance+calcula

[Google Maps API v3] Re: Reducing number of points in Directions Service Polyline?

2011-10-11 Thread Berry Ratliff
> Or if anybody has a better/more elegant solution please let me know! I believe it is legal. Ben, please correct me if I am wrong. Your printer driver may not be able to superimpose two identically positioned DIVs (one IMG / one CANVAS) but it ought to be able to print a single composite CANVAS

[Google Maps API v3] Re: How to compress the icon file for maker

2011-10-11 Thread geocode...@gmail.com
On Oct 11, 10:36 am, ammu wrote: > Lets > sayhttp://icons.iconarchive.com/icons/deleket/halloween-avatars/icons-39... http://icons.iconarchive.com/icons/deleket/halloween-avatars/icons-390.jpg I see 6 things on that image, do you want all of them to appear? That image is 390px × 260px; each of

[Google Maps API v3] Re: POI Info Windows for Maps with Custom Styles

2011-10-11 Thread geocode...@gmail.com
On Oct 11, 9:41 am, Justin wrote: > Is there any way to turn off info windows but leave POIs on the map > with custom styling?  Having the POIs on the map makes it so much > better, but in many apps - especially mobile - having an info window > popup whenever you accidentally tap a place is a huge

[Google Maps API v3] Re: How to compress the icon file for maker

2011-10-11 Thread ammu
Lets say http://icons.iconarchive.com/icons/deleket/halloween-avatars/icons-390.jpg I have that image. When I give the size I get a portion of the image. I want that whole image to be compressed and seen in the maps Am I clear in what I want to convey? Sorry if its kinda confusing. If I give new

[Google Maps API v3] Re: How to compress the icon file for maker

2011-10-11 Thread geocode...@gmail.com
On Oct 11, 9:22 am, ammu wrote: > Thanks Rossko. I did try this but what happens is if an image has > white space around it and it has the exact image in the center the > white part only gets displayed. I want to show the exact image that I > have but in a smaller size. > > Can you please let me k

[Google Maps API v3] POI Info Windows for Maps with Custom Styles

2011-10-11 Thread Justin
Is there any way to turn off info windows but leave POIs on the map with custom styling? Having the POIs on the map makes it so much better, but in many apps - especially mobile - having an info window popup whenever you accidentally tap a place is a huge problem. http://groups.google.com/gro

Re: [Google Maps API v3] Reducing number of points in Directions Service Polyline?

2011-10-11 Thread Ben Appleton
Hi Evan, The directions service result contains a field "overview_path": http://code.google.com/apis/maps/documentation/javascript/reference.html#DirectionsResult This is pre-simplified to fit in a static map URL. Cheers Ben On Tue, Oct 11, 2011 at 6:22 AM, Evan Rolfe wrote: > Hi all, is there

[Google Maps API v3] Re: How to compress the icon file for maker

2011-10-11 Thread ammu
Thanks Rossko. I did try this but what happens is if an image has white space around it and it has the exact image in the center the white part only gets displayed. I want to show the exact image that I have but in a smaller size. Can you please let me know if that can be done? On Oct 10, 12:42 p

[Google Maps API v3] Re: Thought this would be easy, but can't figure it out.

2011-10-11 Thread George
On Tuesday, October 11, 2011 2:38:20 AM UTC-7, davie strachan wrote: > > Hi > are you developing this using localhost?? > the localhost IP address is not valid for geolocation > Regards Davie > > - Yes, I was using localhost, but it seemed to work fine; it found my location via HTML5 (or at

[Google Maps API v3] Reducing number of points in Directions Service Polyline?

2011-10-11 Thread Evan Rolfe
Hi all, is there any way I can reduce the number of points in a polyline obtained from the Directions Service api? I'm coding an application that should draw a route from the user's address to another address and create a printer friendly version of the map with the route. In order to get a printe

[Google Maps API v3] Re: json or xml for creating markers from database?

2011-10-11 Thread Berry Ratliff
On Oct 11, 3:15 pm, thindery wrote: > Thanks for the heads up. I think I am going to switch to JSON since my > markers are going to have many nodes. > > I appreciate the feedback! Good choice. JSON is much faster. It is ready for interpretation directly by the browser without extra code to par

[Google Maps API v3] Re: How to remove certain places on a map

2011-10-11 Thread BruceB
You can remove points of interest (POIs) from your map using the styling features: http://code.google.com/apis/maps/documentation/javascript/styling.html#styling_the_default_map and http://code.google.com/apis/maps/documentation/javascript/styling.html#map_features Just set the visible propert

[Google Maps API v3] Re: json or xml for creating markers from database?

2011-10-11 Thread Berry Ratliff
On Oct 11, 3:15 pm, thindery wrote: > Thanks for the heads up. I think I am going to switch to JSON since my > markers are going to have many nodes. > > I appreciate the feedback! Good choice. JSON is much faster. It is ready for interpretation directly by the browser without extra code to par

Re: [Google Maps API v3] json or xml for creating markers from database?

2011-10-11 Thread thindery
Thanks for the heads up. I think I am going to switch to JSON since my markers are going to have many nodes. I appreciate the feedback! -- 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 visi

Re: [Google Maps API v3] json or xml for creating markers from database?

2011-10-11 Thread Andrew Leach
On 10 October 2011 18:12, thindery wrote: > > I'm currently working with the xml version, as it was the best tutorial I > could find for querying a database.  But I am finding issues with IE and the > way it parse's xml.  I'm also finding for some reason that the more nodes I > have the xml genera

[Google Maps API v3] Re: json or xml for creating markers from database?

2011-10-11 Thread thindery
anybody have anything on this? -- 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/-/3ThKm-HB8ycJ. To post to this group, send email to

[Google Maps API v3] Re: Marker titles don't show sometimes

2011-10-11 Thread Enoch Lau (Google Employee)
Yep I can see it too - thanks for reporting. Enoch -- 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/-/Xw78Dx15MSAJ. To post to this

[Google Maps API v3] Re: CSS font and line-height?

2011-10-11 Thread Joseph Elfelt
Simplify. Try changing this short form css into the long form: font: 1.2em/1.5em Arial,Verdana,sans-serif; Obviously in the long form you can only have one em value. See: http://www.zytrax.com/tech/css/shortcut.html If that doesn't fix things you could always try inline styles in your infowind

[Google Maps API v3] Re: Marker titles don't show sometimes

2011-10-11 Thread MymsMan
I can see the problem on FF 7.0.1 on Win 7 64bit, Pointer changes shape on Mouse over but title box sometimes, but not always, displays. I don't see any problem with IE 9 or Chrome however with Opera I don't see the marker title at all, however with other maps I see the marker titles without pr

[Google Maps API v3] Re: about LatLng in .DirectionsRequest

2011-10-11 Thread Marconi
;) it works! many thx Geocode On Oct 11, 12:08 am, "geocode...@gmail.com" wrote: > On Oct 10, 2:55 pm, Marconi wrote: > > > Any suggest? > > I guess it should be simple to do but I can't find solution. > > thx > > Have you tried .setMap(null) on the DirectionsRenderer? > > http://code.google.com

[Google Maps API v3] Re: infowindow width

2011-10-11 Thread rmcguire
would removing the padding and possibly setting the height and width from within there possibly set the dimensions of the infowindow correctly? Also do I put my div around each of my functions which calls the infowindow? my page again is at www.meadowlarkco.com/contactus.php Thanks for any help

[Google Maps API v3] Re: infowindow width

2011-10-11 Thread rmcguire
how do I go about removing the extra white spacebaiscally Im just trying to remove the scroll bars. thanks On Oct 10, 3:34 pm, "geocode...@gmail.com" wrote: > On Oct 10, 2:10 pm, Joseph Elfelt wrote: > > > I got Not Found on your link. > > The group is mangling the link (pre-pendingwww.goog

[Google Maps API v3] Re: Marker titles don't show sometimes

2011-10-11 Thread JakobA
I have done a bit more research, and the problem isn't specific for my code - it even appears in the examples from the documentation. http://code.google.com/apis/maps/documentation/javascript/examples/marker-simple.html The title of that marker doesn't show every time i put my pointer on it. Do

[Google Maps API v3] Re: Marker titles don't show sometimes

2011-10-11 Thread Enoch Lau (Google Employee)
Can you show us a demo of your problem please? Enoch -- 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/-/xTdp22bCQHkJ. To post to thi

[Google Maps API v3] Re: Calculate the distance from the two latlng objects

2011-10-11 Thread MymsMan
See http://code.google.com/apis/maps/documentation/javascript/reference.html#spherical The computeDistanceBetween() method calculates the distance between LatLng pairs -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view

[Google Maps API v3] Re: Thought this would be easy, but can't figure it out.

2011-10-11 Thread davie strachan
Hi are you developing this using localhost?? the localhost IP address is not valid for geolocation Regards Davie On Oct 11, 4:50 am, "geocode...@gmail.com" wrote: > On Oct 10, 8:24 pm, George wrote: > > > Hi, I just wanted to make a page that got my geolocation and then marked the > > nearest ho

[Google Maps API v3] Marker titles don't show sometimes

2011-10-11 Thread JakobA
Hi. I have added a lot of markers to a map, and everything is fine except that the titles of them sometimes don't show in Firefox. This seems to happen very randomly, and most of the time I just need to hover on another marker or pan the map for it to work again. Is there anything I can do abou

[Google Maps API v3] Re: CSS font and line-height?

2011-10-11 Thread THE_AI
Hey Joseph, Please look at the original example: http://jsfiddle.net/compojoom/4NUnM/ and then have a look at this one: http://jsfiddle.net/compojoom/4NUnM/4/ The only difference is the css. In the first one I use % and em, in the second one I use px. In the second one the Infowindow had the pro

[Google Maps API v3] Re: Won't find the town "Orange" in France?

2011-10-11 Thread sgiddings
Nice tip Pil. However, this is not really an acceptable situation. Taking into account that work has been undertaken by Google to improve coverage in Europe, notably in France, this should not occur. Our users will not have the reflex to do this kind of manipulation - which will give a bad image t