Hi Barry,
I just took a look at your files and noticed that you put the LookAt
tag inside the placemark tag.
I have never used it that way, rather I put the the LookAt tag inside
a container like Document or Folder.
Following with the example by pinshah, his original kml file will be
rendered at street level by Google as is.
By adding a LookAt tag at the Document level, the view can be modified
for any desired "zoom" by the altitude argument as follows
<?xml version="1.0" ?>
<kml xmlns="
http://earth.google.com/kml/2.0">
<Document>
<LookAt>
<longitude>72.839152</longitude>
<latitude>19.108058</latitude>
<altitude>0</altitude>
<range>54321</range>
<tilt>0</tilt>
</LookAt>
<Placemark>
<name>2</name>
<description>
Near Alfa, VILE PARLE - WEST, MUMBAI, MAHARASTRA, INDIA
</description>
<Point>
<coordinates>72.839152,19.108058,0</coordinates>
</Point>
</Placemark>
</Document>
</kml>
In this case, I used the lat/long values of the placemark for the lat/
long values for the LookAt tag, so the placemark will be centered.
It is my understanding that this will fix the problem experienced by
pinshah, although I must say that I do not get the error message he
gets, just a street map at the max zoom level.
On Sep 27, 8:54 pm, barryhunter [KML Guru] wrote:
> Do you have an example?
>
> This dont seem to workhttp://
maps.google.com/?q=http://www.nearby.org.uk/google/temp/Lookat...
> (the lookat specifies a broad view of South wales not an exact point)
>
> using Folders with lootats doesnt work when loaded:
http://maps.google.com/?q=http://www.nearby.org.uk/google/temp/Lookat...
> But you can click on the folders to jump to the 'lookat' which is
> something hadnt seen before.
>
> A image overlay works nicely:
http://maps.google.com/?q=http://www.nearby.org.uk/google/temp/Lookat...