j4: (admin)
j4 ([personal profile] j4) wrote2009-01-07 05:05 pm
Entry tags:

KML

Has anybody else noticed that KML in Google Maps doesn't seem to work any more?

e.g. try this: http://maps.google.co.uk/?q=http://www.chiark.greenend.org.uk/~janetmck/oucsmain.kml

For me, this example (very simple KML) shows my pointer, but the map doesn't show -- I just get grey tiles saying "We are sorry, but we don't have imagery at this zoom level for this region. Try zooming out for a broader look." Zooming out doesn't make any difference.

This used to work. We haven't changed anything. I can't find a single KML file on the web which does work in Google Maps. Have Google broken this? Am I going mad?

ETA: In fact, it's not just KML. Any search in Google Maps seems to be broken for me, e.g. searching for 'Oxford' -- it finds it, it shows the pics and so on in the sidebar, it puts a point on the map, but doesn't show any map tiles.

And while doing searches for Oxford I got a sponsored link from Google pointing me to "Oxford Homeopath". Grrrr. More than homeopathic amounts of map data, please, and fewer sponsored links to charlatans.

ETA 2: Really, no amount of zooming out seems to make the map appear for me. :-(

[identity profile] aardvark179.livejournal.com 2009-01-07 05:18 pm (UTC)(link)
It appears to be zoomed in way too far, zoom out a good chunk and you'll see it's in the right place.

What happens if you create a file with two placemarks? Does it show the pair of them or zoom into the first one?

[identity profile] j4.livejournal.com 2009-01-07 05:31 pm (UTC)(link)
No matter how far I zoom out I can't see any map. :-(

You can't control the initial zoom with KML (at least you couldn't when I last checked) -- it just tries to show all your Placemarks in the viewport (provided there aren't more than 80 of them), so if you only have one point it starts well zoomed-in, if you have several it's more sensible. I've tried a couple of example KML files with loads of points, and I get the same problem.

(I did briefly wonder about the possibility of creating invisible points for a one-point KML file to fake a sensible zoom level, but then I lost the will to live...)

Here's the same example with another point added:

http://maps.google.co.uk/?q=http://www.chiark.greenend.org.uk/~janetmck/oucsmain-2.kml

[identity profile] tigerfort.livejournal.com 2009-01-07 05:49 pm (UTC)(link)
Hmmm. I've just tried your second example and have the same result as others - it initially comes up with 'no maps at this zoom level', but zooming out a couple of steps restores vision. I'm not sure that this actually helps you at all, but it does suggest that the problem is somewhere in the interaction between you and google, rather than being purely google. What it might actually be, I'm afraid I have no idea.