[Google Maps API v3] Invalid argument in IE

2012-01-30 Thread Yuriy Chernyshov
Here is the code, that uses overviewMapControl (from api v3). http://reizigers.jade1.nl/Tabbed_Infowindows.html In Internet Explorer (tested on 8, 9 and MFC CHtmlView (with IE 8, 9)) an exception being thrown when user increases zoom very fast (from the highest to the lowest level). Fix the bu

Re: [Google Maps API v3] Raised Limit for Not-for-Profit

2012-01-30 Thread Thomas Hubschman
Hello Luke, I just did. Will it really take 30 days? That would push back our release date quite a bit. Any chance of expediting the request? Kind regards, Tom On Mon, Jan 30, 2012 at 7:23 PM, Luke Mahé wrote: > Hi Tom, > > Did you apply for a Google Maps and Earth grant? > http://earth.googl

[Google Maps API v3] Re: Snapping polygon edges together?

2012-01-30 Thread Marcelo
On each newly added vertex you'd need to calculate the "distance from point to line", the line being the edge of your first polygon and the point the new mouse click. If the distance is below your desired threshold then adjust the position of the point. Here's an old V2 example that does that: htt

[Google Maps API v3] Re: Pan end does not change cursor style from draggingCursor back to draggableCursor style

2012-01-30 Thread Enoch Lau (Google Employee)
Can you share a demo? -- 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/-/2tc77ehnyW8J. To post to this group, send email to google-ma

[Google Maps API v3] Re: "Invalid value for property " in autocomplete.setBounds()

2012-01-30 Thread geocode...@gmail.com
On Jan 30, 6:44 pm, fearless_fool wrote: > You may have misinterpreted my post.  I typed the following into the > console to inspect the contents of 'bnds': > > [bnds.getSouthWest().lat(), bnds.getSouthWest().lng(), > bnds.getNorthEast().lat(), bnds.getNorthEast().lng()] > > and it responded (as I

[Google Maps API v3] Re: "Invalid value for property " in autocomplete.setBounds()

2012-01-30 Thread fearless_fool
You may have misinterpreted my post. I typed the following into the console to inspect the contents of 'bnds': [bnds.getSouthWest().lat(), bnds.getSouthWest().lng(), bnds.getNorthEast().lat(), bnds.getNorthEast().lng()] and it responded (as I expected) with an array of four floats: => [32.988

[Google Maps API v3] Re: Map with textures

2012-01-30 Thread Grok Lobster
http://code.google.com/apis/maps/documentation/javascript/geocoding.html#GeocodingAddressTypes -- 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-ma

[Google Maps API v3] How to style attribution credits text at bottom right of map

2012-01-30 Thread mike_SF
Does anyone know how (or if it's possible) to restyle the attribution credits at the lower right of the map? I'm looking to change text color / add a background custom to the design our team is working on. If anyone has an answer, this is greatly appreciated. -- You received this message be

[Google Maps API v3] Re: "Invalid value for property " in autocomplete.setBounds()

2012-01-30 Thread geocode...@gmail.com
On Jan 30, 3:42 pm, fearless_fool wrote: > I've got a perfectly lovely LatLngBounds object: > [bnds.getSouthWest().lat(), bnds.getSouthWest().lng(), > bnds.getNorthEast().lat(), bnds.getNorthEast().lng()] > [32.98856751588048, -119.49260720804295, 34.78519808411952, > -117.32831699195708] Why do

Re: [Google Maps API v3] getting " Cannot read property 'type' of undefined" after my code returns?

2012-01-30 Thread fearless_fool
@barryhunter: Good suggestion, but it appears that I am passing floats (and not strings). But I realized that I was loading the //maps/googleapis.com/maps script twice on the same page -- fixing that makes the problem -- er -- different. Now I'm seeing the script work the first time and fail t

Re: [Google Maps API v3] Raised Limit for Not-for-Profit

2012-01-30 Thread Luke Mahé
Hi Tom, Did you apply for a Google Maps and Earth grant? http://earth.google.com/outreach/grants.html -- Luke On Tue, Jan 31, 2012 at 5:34 AM, tchubs wrote: > Hello, > > I am the Director of Engineering for a not-for-profit that > focuses on helping veterans to find services near them. W

Re: [Google Maps API v3] Re: Google Maps Api Status Message

2012-01-30 Thread Carlos Montelongo
Source: http://code.google.com/intl/es-MX/apis/maps/terms.html Regards, Carlos Montelongo 2012/1/30, Carlos Montelongo : > Hi Rossko. > > I read this, may help about it: > > "5.2 Account Keys. For certain versions or features of the Maps > API(s), Google may require you to obtain and use an alp

[Google Maps API v3] "Invalid value for property " in autocomplete.setBounds()

2012-01-30 Thread fearless_fool
I've got a perfectly lovely LatLngBounds object: [bnds.getSouthWest().lat(), bnds.getSouthWest().lng(), bnds.getNorthEast().lat(), bnds.getNorthEast().lng()] [32.98856751588048, -119.49260720804295, 34.78519808411952, -117.32831699195708] but when I pass it to autocomplete.setBounds(bnds); I'm ge

Re: [Google Maps API v3] Re: Google Maps Api Status Message

2012-01-30 Thread Carlos Montelongo
Hi Rossko. I read this, may help about it: "5.2 Account Keys. For certain versions or features of the Maps API(s), Google may require you to obtain and use an alphanumeric key or cryptographic key that is uniquely associated with your Google Account and the URL of your Maps API Implementation."

[Google Maps API v3] Pan end does not change cursor style from draggingCursor back to draggableCursor style

2012-01-30 Thread Steve Mitchell
I set the draggingCursor and draggableCursor style. The cursor style begins as draggableCursor and correctly changes to draggingCursor as the pan begins; however, it only returns to draggableCursor if I hover briefly over a marker or polyline (with cursor = 'pointer'). var mapOptions = {

[Google Maps API v3] Re: Render kml layer over polygon.

2012-01-30 Thread geocode...@gmail.com
On Jan 30, 4:52 am, Christian Sanchez wrote: > Hello, > > I have a doubt: there is any way to render a kml layer (e.g., a kml > with markers) over a google.maps.Polygon drawn with google API? I've > tried setting the zIndex parameter of Polygon even to negative values, > but it doesn't work. > > I

[Google Maps API v3] Re: request for function: construct LatLngBounds from LatLng and radius

2012-01-30 Thread fearless_fool
@Rossko: Yes, it appears that something like: function convertToBounds(latLng, radius) { return new google.maps.Circle({center: latLng, radius: radius}).getBounds(); } ... should do the trick. Thank you! -- You received this message because you are subscribed to the Google Groups "Google M

[Google Maps API v3] Snapping polygon edges together?

2012-01-30 Thread Tommy Crush
Lets say a user draws a polygon. Great. Easy Stuff. Now they're drawing another polygon. Basically, I want the point they clicked on (to create a corner) to "snap" to the edge of another polygon if that polygon's edge is within, say, 5 meters of their click. I need help on planning this out. I'm

Re: [Google Maps API v3] getting " Cannot read property 'type' of undefined" after my code returns?

2012-01-30 Thread Barry Hunter
Not sure how you attach the attributes, to #map_canvas, but are they numbers? The API expects you to be sending numbers (not strings) when creating a LatLng object. try wrapping them in parseFloat. If that guess doesnt help suggest supplying a link to your map. On Mon, Jan 30, 2012 at 10:34 P

[Google Maps API v3] getting " Cannot read property 'type' of undefined" after my code returns?

2012-01-30 Thread fearless_fool
I'm getting the following error (show with stack trace) after my code completes: 1. Uncaught TypeError: Cannot read property 'type' of undefined 1. Vcmain.js:7 2. (anonymous function) 3. Ve.mainmain.js:40

[Google Maps API v3] Re: Google Maps Api Status Message

2012-01-30 Thread Rossko
> I didn't lnow you need to sign up for any key to use GoogleMaps API v3. It's in the (english) docs http://code.google.com/apis/maps/documentation/javascript/tutorial.html " All Maps API applications should load the Maps API using an API key. " -- You received this message because you are subsc

[Google Maps API v3] Re: multiple locations (easy question)

2012-01-30 Thread Rossko
> 1. I'm pulling all of my address into an array > 2. geocoding them and storing the coordinates in to another array If that means geocoding all your addresses everytime your map is viewed, its probably a bad strategy (as well as requiring more care in coding due to asynchronous services) -- You

Re: [Google Maps API v3] Re: Restricting the maps to certain domains by checking the referrer

2012-01-30 Thread Chris Broadfoot
Thanks. I'll test and get back to you. Note that the new keys support wildcard referrer filtering. Chris On Jan 30, 2012 5:35 PM, "Pil" wrote: > Hi Chris, > > the easiest way is to use a Firefox customization > > // Don't give away the Referrer > // 0=don't send any, 1=send only on clicks, 2=se

[Google Maps API v3] Re: multiple locations (easy question)

2012-01-30 Thread geocode...@gmail.com
On Jan 30, 9:09 am, Matt wrote: > I’m new to google maps...I'm just looking for a way to display multiple > markers with infowindows. I am pull in a list of addresses out of a listbox > that comes out a dataset. > > I would post my code, but I’m afraid that I jacked it all up trying to get > this

[Google Maps API v3] Re: us map with overlays for states

2012-01-30 Thread geocode...@gmail.com
On Jan 30, 8:00 am, rmcguire wrote: > where can I find the TrashDays40.xml file? You don't want that file. It is here: http://www.geocodezip.com/TrashDays40.xml You want this file: http://www.geocodezip.com/geoxml3_test/us_states_noPoint.xml (or some edited variant of that) -- Larry > >

Re: [Google Maps API v3] Markers not displaying after latest csv import

2012-01-30 Thread Barry Hunter
> > Can someone please help? Not really. We have even less information than you to go on. Providing a link to your map would be a good start, so others can try viewing it - and then use their debugging tools on it. But then it might be limited, if the file is not producing output - then not a lot

Re: [Google Maps API v3] UK location not showing when search by location not postcode.

2012-01-30 Thread Barry Hunter
take it you have fixed this now? On Mon, Jan 30, 2012 at 11:56 AM, Wayne Hultum wrote: > Hi, > > To get an idea of what my problem is, visit > http://abiuk.co.uk/abi_parks_dealers and type Surrey into the search box and > search. > > It will show no results found. > > If you put KT24 6RP into the

Re: [Google Maps API v3] Google Maps Api Status Message

2012-01-30 Thread Carlos Montelongo
Hello. What's the link you used to sign up? I didn't lnow you need to sign up for any key to use GoogleMaps API v3. Regards, Carlos Montelongo Enviado desde mi iPad El 30/01/2012, a las 07:52, pogue5 escribió: > Hello, > > I recently set up an account on google maps so I could access the ap

[Google Maps API v3] Raised Limit for Not-for-Profit

2012-01-30 Thread tchubs
Hello, I am the Director of Engineering for a not-for-profit that focuses on helping veterans to find services near them. We have a database of 220,000 providers and we need to get lat/longs for each of them so as to use Google Maps in our interface. You can see the interface here: http://w

[Google Maps API v3] Markers not displaying after latest csv import

2012-01-30 Thread Adrian Jones
Hi guys Something has just happened to my google map with markers while I was trying to update it. I was importing the .csv file in to my database to update my markers but it kept importing to a new table (I realise now what I was doing wrong) but in the mean time, I deleted the original table, cr

[Google Maps API v3] Render kml layer over polygon.

2012-01-30 Thread Christian Sanchez
Hello, I have a doubt: there is any way to render a kml layer (e.g., a kml with markers) over a google.maps.Polygon drawn with google API? I've tried setting the zIndex parameter of Polygon even to negative values, but it doesn't work. I've been searching for an issue like mine, and I only found

[Google Maps API v3] multiple locations (easy question)

2012-01-30 Thread Matt
I’m new to google maps...I'm just looking for a way to display multiple markers with infowindows. I am pull in a list of addresses out of a listbox that comes out a dataset. I would post my code, but I’m afraid that I jacked it all up trying to get this to work and wouldn't make any se

[Google Maps API v3] UK location not showing when search by location not postcode.

2012-01-30 Thread Wayne Hultum
Hi, To get an idea of what my problem is, visit http://abiuk.co.uk/abi_parks_dealers and type *Surrey* into the search box and search. It will show no results found. If you put KT24 6RP into the search box and search, it will show the park located in Surrey. This is how the details are in

[Google Maps API v3] Google Maps Api Status Inactive

2012-01-30 Thread pogue5
Hi, Why after setting up an account to use google maps api version 3 do I get a message beside the word 'status' that says that the status expires after a day. Today, it says "status: inactive". Anybody know how I can set up the api so it works in the longterm? -- You received this message

[Google Maps API v3] Google Maps Api Status Message

2012-01-30 Thread pogue5
Hello, I recently set up an account on google maps so I could access the api version 3. As soon as I signed up, the status message said that I only had a day before the status expired. Now it says "Status: Inactive". I was wondering if anybody knows why it became inactive so quickly and if t

[Google Maps API v3] Google Maps API Status

2012-01-30 Thread pogue5
Hello, When I set myself up with a google maps api v 3 key, the status indicated that I only had one day before the status became inactive. The status now displays as inactive. I was wondering why this was the case? Is it because you have to pay to make the api accessible for a longer period of ti

[Google Maps API v3] region biasing + places autocomplete doesn't work as expected

2012-01-30 Thread fearless_fool
I'm working from the code example given in: http://code.google.com/apis/maps/documentation/javascript/examples/places-autocomplete.html I've added a 'US' region to the script parameter: https://maps.googleapis.com/maps/api/js?&key=yadda&sensor=false®ion=US&libraries=places";> a

[Google Maps API v3] Re: request for function: construct LatLngBounds from LatLng and radius

2012-01-30 Thread Rossko
> If there is such such a built-in function, I haven't found it.  If there > isn't, I'd like to see it added. Isn't it Circle() ?http://code.google.com/apis/maps/documentation/ javascript/overlays.html#Circles which has a getBounds() method http://code.google.com/apis/maps/documentation/javascript

Re: [Google Maps API v3] request for function: construct LatLngBounds from LatLng and radius

2012-01-30 Thread Andrew Leach
On 30 January 2012 17:41, fearless_fool wrote: > I haven't found a straightforward way to construct a LatLngBounds given a > center point and a radius.  The best approaches I've seen are described > in http://www.movable-type.co.uk/scripts/latlong.html, but it seems odd that > I'd need to put that

[Google Maps API v3] request for function: construct LatLngBounds from LatLng and radius

2012-01-30 Thread fearless_fool
I haven't found a straightforward way to construct a LatLngBounds given a center point and a radius. The best approaches I've seen are described in http://www.movable-type.co.uk/scripts/latlong.html, but it seems odd that I'd need to put that much trig code in my own javascript code -- it ought

[Google Maps API v3] Re: Static Map API Licensing and usage limits

2012-01-30 Thread fryday13
Just to close the loop and provide info for others. Luke provided the following by email: ... To answer your question, if you load a static map with pins that are set with a LatLng and not a location then it will not count as any geocode requests. If you look at this link: http://maps.googlea

[Google Maps API v3] Re: us map with overlays for states

2012-01-30 Thread rmcguire
where can I find the TrashDays40.xml file? On Jan 30, 8:02 am, "geocode...@gmail.com" wrote: > On Jan 30, 6:30 am, rmcguire wrote: > > > something like that but where they > > havehttp://www.geocodezip.com/geoxml3_test/world_countries_kml.xml, is > > there an xml file available forusstates simi

[Google Maps API v3] Re: Getting neighbourhood boundaries from Google Maps API

2012-01-30 Thread John Coryat
I don't know what the source of data Google is using but there are providers of neighborhood data that you can license. Maponics has probably the most complete data set that I know of. You might contact them and see if it fits your requirements. You can't get the data directly from Google. That

[Google Maps API v3] Re: us map with overlays for states

2012-01-30 Thread geocode...@gmail.com
On Jan 30, 6:30 am, rmcguire wrote: > something like that but where they > havehttp://www.geocodezip.com/geoxml3_test/world_countries_kml.xml, is > there an xml file available for us states similar to this available? I thought I answered this... Oh, well. You mean like: http://www.geocodezip.co

[Google Maps API v3] Re: us map with overlays for states

2012-01-30 Thread Coen de Jong
http://code.google.com/apis/maps/documentation/javascript/reference.html#MapOptions put streetViewControl: false in your Map constructor in a MapOptions object. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discu

[Google Maps API v3] MarkerClusterer Plus and Cluster sorting

2012-01-30 Thread Coen de Jong
Is there a way to ensure the Clusters given by getClusters() function in the Clusterer class always gives the Clusters sorted by order of the markers that it contains and the order they were placed on the map? I have a website where I need to draw arrows that go from one marker to another to in

[Google Maps API v3] Re: us map with overlays for states

2012-01-30 Thread rmcguire
also, how do I remove the guy which you can drop over the countries to view the street view? As all that Im looking to do is have a map of the us which when the user clicks on any state it displays information relevant to the state in an infowindow or in a sidebar thanks On Jan 30, 7:30 am, rmcgu

Re: [Google Maps API v3] Re: Geocode viewport bias not working

2012-01-30 Thread Andrew Leach
On 30 January 2012 14:28, helen wrote: > Still wondering if anyone knows the answer to the question: Are geocoding > results returned in any particular order? Or more specifically, is the first > result the one Google thinks matches the search the closest? I believe the answer is that the order i

[Google Maps API v3] Re: us map with overlays for states

2012-01-30 Thread rmcguire
something like that but where they have http://www.geocodezip.com/geoxml3_test/world_countries_kml.xml, is there an xml file available for us states similar to this available? thanks On Jan 25, 2:21 pm, "geocode...@gmail.com" wrote: > On Jan 25, 10:35 am, rmcguire wrote: > > > Hello, > > > Im l

[Google Maps API v3] Re: Geocode viewport bias not working

2012-01-30 Thread helen
Still wondering if anyone knows the answer to the question: Are geocoding results returned in any particular order? Or more specifically, is the first result the one Google thinks matches the search the closest? -- You received this message because you are subscribed to the Google Groups "Goog

[Google Maps API v3] Re: XML approach - One Master XML file vs Multiple Query Based XML files

2012-01-30 Thread davie
Hi Jared Have you looked at http://code.google.com/apis/maps/articles/phpsqlsearch_v3.html This approach can be adapted to suit various scenarios including property. Regards Davie On Jan 30, 4:20 am, hungerstar wrote: > I have a realty site that I am implementing Google Maps on. > > I would li

[Google Maps API v3] Re: Google Map V3 + HTML5 Canvas Image Rotation

2012-01-30 Thread en4ce
when i added the map to a canvas object the map really did not like it, there was all sorts of flickering no matter what you did, dragging, zooming... a flickering mess (to be precise i added a gmaps to a HTML5 Slide) On 30 Jan., 05:53, seb wrote: > Hi, > > I have a project where I would like to