[Google Maps API v3] Re: Overlays not working properly on IE

2012-01-23 Thread Rossko
Can somebody help me out? Is there something wrong with my code or its IE problem?? How could we possibly tell? Could it be something you haven't thought of, like is your XML valid or accessible? Start here, READ THIS FIRST

[Google Maps API v3] Re: Add a CSS class to markers

2012-01-23 Thread Rossko
This seems like a really obvious gap in the API - what am I missing? Depending on the circumstances and the browser, markers may not be rendered as DOM objects at all - CSS obviously wouldn't work then. -- You received this message because you are subscribed to the Google Groups Google Maps

Re: [Google Maps API v3] Re: Overlays not working properly on IE

2012-01-23 Thread Andrew Leach
On 23 January 2012 08:45, Rossko ros...@culzean.clara.co.uk wrote: How could we possibly tell? Could it be something you haven't thought of, like is your XML valid or accessible? ... or cached by IE and not updated? -- You received this message because you are subscribed to the Google Groups

[Google Maps API v3] No abridged summary for the last two days

2012-01-23 Thread sgiddings
Has this been removed ? The Google Groups membership panel still show it as being available ... -- 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

[Google Maps API v3] Polygon in visible area?

2012-01-23 Thread NoRyb
Hello Is it possible to find out, if a polygon is currently in the visible area? So I can get more details from a webservice about an object if it is visible... Thank you ~N -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To

Re: [Google Maps API v3] Polygon in visible area?

2012-01-23 Thread Andrew Leach
On 23 January 2012 12:53, NoRyb phrei@gmail.com wrote: Hello Is it possible to find out, if a polygon is currently in the visible area? So I can get more details from a webservice about an object if it is visible... An easy approximation is to check whether the polygon's bounds

[Google Maps API v3] Re: Hamburg vs. Harburg

2012-01-23 Thread David Schmidt
Hej Nanea, which endpoint are you trying? I don't get Harburg anymore when calling http://maps.googleapis.com/maps/api/geocode/json?address=Neustadt,%20Hamburgsensor=false -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To view

[Google Maps API v3] google map v3 fitBounds with center location

2012-01-23 Thread faisal.khan
I wrote the following function to to fit visible all pushpins(Auto zoom to fit all pushpins) along user's location @ center but problem is googleMap.setCenter(userPinLoc); makes few pins out of view port. I can i set fitbounds and telling that userPinLoc must be center and rest of around also

Re: [Google Maps API v3] Polygon in visible area?

2012-01-23 Thread NoRyb
how do I get the LatLngBounds out of a polygon so I can use intersect? -- 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

[Google Maps API v3] Re: Polygon in visible area?

2012-01-23 Thread geocode...@gmail.com
On Jan 23, 4:53 am, NoRyb phrei@gmail.com wrote: Hello Is it possible to find out, if a polygon is currently in the visible area? You mean something like this (warning complex kml rendered in the browser):

[Google Maps API v3] Re: Polygon in visible area?

2012-01-23 Thread NoRyb
most probably this could hep me. What technique do you use to do this? 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

[Google Maps API v3] Re: Polygon in visible area?

2012-01-23 Thread NoRyb
oh I see... you create a Bound rectangle for each polygon yourself. That's an option. I hoped there would be something in the API to get that but I will probably do it your way. Thank you very much. -- You received this message because you are subscribed to the Google Groups Google Maps

Re: [Google Maps API v3] google map v3 fitBounds with center location

2012-01-23 Thread Barry Hunter
When the user changes the bounds, the map is centered back on userPinLoc. Which is some externally provided position. The map will just center on that. It takes no account of the nearestEntitiesToZoom data, that you used to create the bounds. ie. having worked out the bounds they wont affect

[Google Maps API v3] Re: XHTML versus HTML

2012-01-23 Thread Rossko
Holier than thou ;) It would be really helpful for others to show some XHTML demonstrator loading the Maps API synchronously. -- 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

Re: [Google Maps API v3] Re: XHTML versus HTML

2012-01-23 Thread Frank Natoli
The async load did the trick, many, many thanks. I went to the link you posted but only saw the API key paragraph. Geary's suggestion to scroll down to the async load paragraph and incorporating that into my code solved the problem. -- You received this message because you are subscribed to

[Google Maps API v3] URGENT: Which Polygons Contain a Single Point

2012-01-23 Thread Big G
Hello Looking for a bit of help. I have a DB of encoded polygons. I want to allow a user to add a single marker to a map and return the names of which of the polygons contain that point. There are plenty of examples of drawing a polygon and returning the points within that polygon but that

Re: [Google Maps API v3] URGENT: Which Polygons Contain a Single Point

2012-01-23 Thread Barry Hunter
This is a question for your server side database. You need some sort of solution that can query the database. If by 'encoded' you mean something like the Maps encodeding system, you are probably going to have to decode the data to run spatial queries on it. Perhaps you need to run a batch

Re: [Google Maps API v3] URGENT: Which Polygons Contain a Single Point

2012-01-23 Thread Big G
I'm using MySQL and the polygons are encoded using google.maps.geometry.encoding.encodePath I'm just wondering if there is a better way of finding which polygons contain the point rather than using foreach loop on all the polygons as eventually there could be up to 20,000 polygons in the DB.

Re: [Google Maps API v3] URGENT: Which Polygons Contain a Single Point

2012-01-23 Thread Barry Hunter
You could reencode the lines into a MySQL spatial column http://dev.mysql.com/doc/refman/5.0/en/spatial-extensions.html then can directly query that. (for the most part tho, mysql just does MBR checks with spatial indexing) ... the whole basis is you need to build some sort of 'spatial index'.

[Google Maps API v3] Re: KML Rendering Issue

2012-01-23 Thread gmap_wonderer
Here it is: http://sonicop.dyndns.org/kml/prototype.html Please understand the problem is intermittent. I googled more and found the following issue http://code.google.com/p/kml-samples/issues/detail?id=413 very similar to what I got, but there was no reply. Thanks! -- You received this

Re: [Google Maps API v3] Re: XHTML versus HTML

2012-01-23 Thread Frank Natoli
Perhaps I spoke a little too soon. Yes, async loading of the Maps API allows the calls from XHTML to the Maps API to function properly. And the map itself, and marker, and infoWindow that I generate work just fine. But the special controls on the upper left, the

Re: [Google Maps API v3] URGENT: Which Polygons Contain a Single Point

2012-01-23 Thread Andrew Leach
On 23 January 2012 17:22, Big G nicholson2...@googlemail.com wrote: I'm using MySQL and the polygons are encoded using google.maps.geometry.encoding.encodePath I'm just wondering if there is a better way of finding which polygons contain the point rather than using foreach loop on all the

[Google Maps API v3] Re: KML Rendering Issue

2012-01-23 Thread Joseph Elfelt
I just tried your map and it worked fine. But as you point out, the problem is intermittent Thanks for the posting a link to that issue. I added my star since I work a lot with KML files. I see that you are displaying 5 KML fils that are hosted at sonicop. Maybe the problem is related to the

Re: [Google Maps API v3] Re: XHTML versus HTML

2012-01-23 Thread Frank Natoli
Hoping that I do not offend anyone by pasting script rather than linking, below is Google's own sample code for asynchronous loading of the Maps API, very slightly tweaked to fully qualify default.css. This works very cleanly, with only one set of controls in the upper left of the display:

[Google Maps API v3] Re: KML Rendering Issue

2012-01-23 Thread Rossko
I'm using a KMLLayer to load a KML file, which contains 955 placemarks. It's getting a bit close to the maximum features limit http://code.google.com/apis/kml/documentation/mapsSupport.html There have been a few threads kicking around which suggest that Google's KML parser will abort renderings

[Google Maps API v3] bounds incorrect

2012-01-23 Thread Quaye Trimble
When I use display none to initially hide the map and then update the css when a check box is clicked to display the map the map bounds are incorrect. I'm storing each new map object in an array and when the check box is clicked I loop through the array to trigger a map resize. I'm not sure

[Google Maps API v3] Create Polygons in Google Maps?

2012-01-23 Thread Phil Arbeau
Good afternoon, I have been working on a project in which points from a database are plotted on a google map. This database contains information regarding power outages, including cause, and the number of minutes of the outage. I was curious if it would be possible to create a polygon, which

[Google Maps API v3] how to make map updatabe?

2012-01-23 Thread jeltz
Hi, I have an application to collect telemetry data from geographically distributed sensors and to visualize status in Google Map. E.g., presently my app outputs Google map API 3 html/java script into the local folder. Presently, the application just overwrites output html with the new

[Google Maps API v3] Geocode viewport bias not working

2012-01-23 Thread helen
Hello all, I am trying to bias my geocoding results to a specific area, but it doesn't seem to be working. Here is a link: http://50.17.249.210/demo.html I have drawn a polygon around the bounds I am passing to the geocoding viewport so I know it is right. If you type Queen Street into the

[Google Maps API v3] Re: KML Rendering Issue

2012-01-23 Thread gmap_wonderer
Thanks, Joseph. I actually tried your idea and put my files over there at Google Sites. But, the problem persists. To reproduce the problem, I would keep hitting refresh button my page and I would see the problem at least 1 out of 10 refreshing. -- You received this message because you are

[Google Maps API v3] Re: difficulty with coordinates in custom image map

2012-01-23 Thread Grok Lobster
Well since you've already gotten pretty far along, there's no reason to go back and get your map centered at (0, 0) - just go with the (-70, 125). Use a getBounds() to find the extent of your map. http://code.google.com/apis/maps/documentation/javascript/reference.html#Map -- You received

[Google Maps API v3] Re: how to make map updatabe?

2012-01-23 Thread geocode...@gmail.com
On Jan 23, 9:14 am, jeltz vlyamt...@gmail.com wrote: Hi, I have an application to collect telemetry data from geographically distributed sensors and to visualize status in Google Map. E.g., presently my app outputs Google map API 3 html/java script into the local folder.  Presently, the

[Google Maps API v3] Re: Create Polygons in Google Maps?

2012-01-23 Thread geocode...@gmail.com
On Jan 23, 12:36 pm, Phil Arbeau parb...@gmail.com wrote: Good afternoon, I have been working on a project in which points from a database are plotted on a google map. This database contains information regarding power outages, including cause, and the number of minutes of the outage. I was