[Google Maps API v3] Re: draggableCursor doesn't change to wait cursor

2012-09-05 Thread Geoff Schultz
Note that I've moved my questions regarding when the cursor changes to a new thread. -- 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-v

[Google Maps API v3] Re: draggableCursor doesn't change to wait cursor

2012-09-04 Thread Geoff Schultz
The issue is that I was doing a synchronous get, which basically caused the entire browser to hang waiting for the response. I changed it to an asynchronous ajax get and the cursor now changes to the wait cursor as I'd expect. However, in the 1st line of the ajax "success" function, I change

[Google Maps API v3] draggableCursor doesn't change to wait cursor

2012-09-04 Thread Geoff Schultz
I am trying to change the draggable cursor to the wait cursor, but it never changes. The following code is invoked after a user clicks on a marker or bounding box. When I click on an object the cursor goes from an open hand to a closed hand. Once the URL request has been completed, the hand g

[Google Maps API v3] Re: Google Maps API Key not valid

2012-01-03 Thread Geoff Schultz
On Jan 3, 4:37 am, Lee Armstrong wrote: > A few weeks back my site stopped working when I had the key in my > request. > > The key is a valid key from the API console but an error shows in the > JS log of... > > The provided key is not a valid Google API Key, or it is not > authorized for the G

[Google Maps API v3] Re: Maps API v3 and IPad 2

2011-12-22 Thread Geoff Schultz
Nice concept. It seems to run the more or less the same on an iPad as it does on the PC. I get the same "Passing error" when I use Paris/ Hamburg and a 20 KM search zone. The distance slider seems to not work correctly. Anyhow, the bottom line is that you just need to test, test, test and find

[Google Maps API v3] Re: Quotas for Google Maps Api v3

2011-12-21 Thread Geoff Schultz
See http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/a097fb23915d01d6# -- 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 uns

[Google Maps API v3] Re: Maps API v3 and IPad 2

2011-12-21 Thread Geoff Schultz
What problems are you seeing? I make extensive use of V3 functionality and it runs fine on an iPad 2 with iOS 5. Certain things don't work, such as right-click, but there you just need to change the UI to work around these issues. See http://www.geoffschultz.org/weather_map.php -- Geoff -- Yo

[Google Maps API v3] Re: InfoBox - Form fields are not clickable - cannot enter data

2011-12-21 Thread Geoff Schultz
Be sure to get the latest version of InfoBox which was released yesterday. -- Geoff -- 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 fro

[Google Maps API v3] Rectangle/Marker Event Priority

2011-12-21 Thread Geoff Schultz
I often display rectangles on my maps showing chart boundaries and these rectangles have click events associated with them. There may also be markers on the map with click events associated with them. My problem is that the marker always gets the click event but I want the rectangle to get it. I

[Google Maps API v3] Re: Right Click on iPad?

2011-12-21 Thread Geoff Schultz
Here's what I learned: The standard multitouch/Mac way for a right- click is to touch with two fingers. That doesn't work in Safari on the iPad though. Arghhh!!! Instead I check to see if it's a tablet and, if so, change the UI so that use can select that click now means the same thing that rig

[Google Maps API v3] Re: Rectangle Click event mis-fires on iPad

2011-12-20 Thread Geoff Schultz
As I said, this only occurs on an iPad running Safari and it works fine in all other browsers that I've tested. -- Geoff On Dec 20, 9:39 am, Marcelo wrote: > On Dec 20, 6:40 am, Geoff Schultz > wrote: > > > 1) Is it correct for a Click event fire twice for a single click? &

[Google Maps API v3] Re: Rectangle Click event mis-fires on iPad

2011-12-20 Thread Geoff Schultz
I guess that I really should have asked questions. 1) Is it correct for a Click event fire twice for a single click? 2) Clearly having the click event fire for a click outside of the rectangle is an error. Whose error is this? I'm guessing an iOS bug. Where do I report this? -- Geoff -- You

[Google Maps API v3] Right Click on iPad?

2011-12-20 Thread Geoff Schultz
I use right-click to allow the user to define markers, but I can't figure out how to do this on an iPad. Every solutiont hat I've found elsewhere hasn't worked. Any suggestions? -- Geoff -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v

[Google Maps API v3] Rectangle Click event mis-fires on iPad

2011-12-19 Thread Geoff Schultz
I created a small test program to try to reproduce a problem where I often don't get click events for a rectangle when running on an iPad with iOS 5.01. It works fine in all other browsers. My test program doesn't reproduce that problem, but it showed me 2 other issues: 1) Sometimes the event fi

[Google Maps API v3] Re: How to get element ID from an InfoBox

2011-12-03 Thread Geoff Schultz
On Dec 3, 9:36 am, "geocode...@gmail.com" wrote: > It could very well be that when the "closeclick" function is called, > the elements for the infobox has already been removed from the DOM, > and therefor won't be available via getElementById.  You may need to > save the state of the checkbox in

[Google Maps API v3] How to get element ID from an InfoBox

2011-12-03 Thread Geoff Schultz
If I create an InfoWindow, I can use getElementById to inspect the status of things like a checkbox, but if I use an InfoBox, the element comes back as undefined. How do I do this? A code sample showing this is at http://www.geoffschultz.org/Test/infowindow.html Click on the map to create the In

[Google Maps API v3] infoWindow questions

2011-11-30 Thread Geoff Schultz
While I struggle to find an info[Window, Box, Bubble, *] solution which works, I keep coming back to a plain infoWindow to satisfy my needs. However, there is at least one issue that I need to resolve. 1) I can't generate an infoWindow greater than 688 pixels, despite whatever I have maxWidth

[Google Maps API v3] Does infoBox work in IE 9?

2011-11-30 Thread Geoff Schultz
While I wait for my membership in the Google Maps Utility Library group to get approved, I'll ask this question here. Has anyone got infoBox (not infoWIndow) to work in IE 9? When I try to use it, I simply get the [X] close box to show up. In the following example an infoBox should appear when

[Google Maps API v3] Re: infoBox Scroll Bars?

2011-11-30 Thread Geoff Schultz
Marcelo, > For the utility library there is the utility library group: > http://groups.google.com/group/google-maps-utility-library-v3 Thank you for the pointer. I didn't know that it existed. I can see where that group is more spec

[Google Maps API v3] Re: infoBox Scroll Bars?

2011-11-29 Thread Geoff Schultz
Marcelo, > There is no "infoBox" in the Google Maps API, so it doesn't belong in this group. With a standard infoWindow, scrollbars are no problem. I'm a bit confused. infoBox and infoBubble are extensions to infoWindow which are available on a google.com web site. If you search for either of

[Google Maps API v3] Re: infoBox Scroll Bars?

2011-11-29 Thread Geoff Schultz
Marcelo, Because I'm using infoBox, not infoWindow -- Geoff -- 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/-/WawZcn5q7V8J. To

[Google Maps API v3] Re: infoBox Scroll Bars?

2011-11-29 Thread Geoff Schultz
To answer my own question: map.setOptions({draggable:false, scrollwheel:false}); --- Marcello, Up until 2 weeks ago I had never done Javascript programming other than basic cut & paste to get GoogleMaps running. Now I've got all kinds of asynchronous stuff going on, passing &

[Google Maps API v3] Re: infoBox Scroll Bars?

2011-11-29 Thread Geoff Schultz
Actually it was MUCH easier than I thought. I just placed 2 s in here as such: However, now I grab the map when I try to move the scroll bars. Any suggestions on how to solve that one? -- Geoff -- You received this message because you are subscribed to the Google Groups "Google Maps J

[Google Maps API v3] Re: infoBox Scroll Bars?

2011-11-29 Thread Geoff Schultz
Joseph, Thanks for the suggestion. I was hoping that someone had already done this. It surprises me that something that seems so simple is so complex to implement. -- Geoff -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. T

[Google Maps API v3] infoBox Scroll Bars?

2011-11-29 Thread Geoff Schultz
Is there any way to get an infoBox to display content with scroll bars? -- Geoff -- 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/-/

[Google Maps API v3] Re: How to change rectangle strokecolor during using mouseover/mousout events?

2011-11-28 Thread Geoff Schultz
The following is what I came up which worked: var highlitBB; google.maps.event.addListener(bounding_box, 'mouseover', function() {highlight(this)}); google.maps.event.addListener(bounding_box, 'mouseout', function() {clearHighlight()}); function clearHighlight(obj) { highlitBB.setOpti

[Google Maps API v3] Re: How to change rectangle strokecolor during using mouseover/mousout events?

2011-11-28 Thread Geoff Schultz
Here's your pseudo-code translated to Javascript. Unfortunately I pretty much get the same weird behavior with groups of rectangles turning red at once, except that now I don't even get anything turning back to a black outline. var bbHighlit = []; google.maps.event.addListener(bounding_box, '

[Google Maps API v3] How to change rectangle strokecolor during using mouseover/mousout events?

2011-11-28 Thread Geoff Schultz
On my maps I create a series of rectangles which indicate the location of various weather charts. These can overlap one another and I would like to highlight the chart which would be selected if the user clicks within that rectangle. The following code partially works, but quite often multiple

[Google Maps API v3] Re: How to add a domready event to an infoBubble

2011-11-27 Thread Geoff Schultz
I tried your suggestion of doing a setTimeout(load_rotator(),0) to execute the load_rotator() function, but that didn't resolve the issue. I had to bump the timer up to 1500 ms before it worked, but that seems highly system/browser specific. I think that I'll just figure out how to make a inf

[Google Maps API v3] Re: How to add a domready event to an infoBubble

2011-11-27 Thread Geoff Schultz
I changed the click event to execute the load_rotator() code and you were correct! (I like talking to smart people :-) To me this simply indicates that the domready event code is broken for the infoBubble. This should be a deterministic event. However, it clearly isn't. So, I'll implement y

[Google Maps API v3] Re: How to add a domready event to an infoBubble

2011-11-27 Thread Geoff Schultz
This example is a massively stripped down version of the development code just to show the issue. This occurs in the development version even when the map is fully drawn. To make the example behave more like the development version, I added a "click" event handler to the map which displays the

[Google Maps API v3] Re: How to add a domready event to an infoBubble

2011-11-27 Thread Geoff Schultz
Rossko, Thanks again for your insights! Since you seem to be very knowledgeable about this, perhaps you can help me with one more problem. Basically I'm trying to display some weather charts. These charts come from a variety of sources. I am trying to display them within a infoWindow of some

[Google Maps API v3] Re: How to add a domready event to an infoBubble

2011-11-26 Thread Geoff Schultz
Rossko, I took me quite a while to decode what you were telling me. I'm quite confused as to how the domReady event can fire before the infoBubble is opened. Anyhow, what I finally figured out was that I needed to set the content AFTER I have created the listener. Thus the code that finally

[Google Maps API v3] Re: How to add a domready event to an infoBubble

2011-11-25 Thread Geoff Schultz
A demo of the code can be seen at: http://www.geoffschultz.org/Test/infobubble.html and here's the code. Note that if I replace the infoBubble with an infoWindow (the commented out code), the domready code executes as expected. -- Geoff html { height: 100% } body { height: 100%; margin

[Google Maps API v3] Re: How to add a domready event to an infoBubble

2011-11-23 Thread Geoff Schultz
Martin, Thanks for the suggestion, but I tried that and there was no difference. -- Geoff On Nov 23, 12:08 pm, Martin™ wrote: > Hi. > > It might be that the 'domready' event fires BEFORE your next line of > code which adds an event listener for that event. > (The event happens before you listen

[Google Maps API v3] How to add a domready event to an infoBubble

2011-11-23 Thread Geoff Schultz
I've been using infoWindows, but due to the desire to change the layout of the infoWindow, I'm trying to switch to an infoBubble. However, the domready event isn't executing like it did for the infoWindow. I'm a javascipt hacker, so please explain this to me in terms that a hacker can understand.

[Google Maps API v3] mouseUp event lost if rectangle redrawn in mouseMove event

2011-11-21 Thread Geoff Schultz
The following code sample has me baffled. It's the simplest version of a larger piece of code that I can use to demonstrate my problem. Basically I want the user to be able to draw a bounding box by holding down the mouse key and dragging it. If I redraw the rectange using a setBounds in the