On Aug 6, 8:03 am, Noelette <[email protected]> wrote:
> I'm currently working on a local machine - I've not moved anything to the
> server yet. I want to create a KML file with a number of placemarkers like
> in Googles own example
http://code.google.com/apis/maps/documentation/javascript/examples/la...
>
> However when I take the source code but change the KML file URL to kml file
> in the same directory as the source code no marker is displayed. (I'm using
> the centre point of the map as the test maker I want to display)


Your KML file must be publicly accessible to use KmlLayer (Google's
servers need to fetch it).

Your test page can be on a local machine, not on the web, but the kml
file must be on the web.

  -- Larry

> MY KML looks like this
>
> <kml xmlns="http://www.google.com/earth/kml/2";>
>
> <Placemark>
>
>   <name>Library</name>
>
>   <description>Main Campus</description>
>
>   <Point>
>
>     <coordinates>40.65, -73.95, 0</coordinates>
>
>   </Point>
>
> </Placemark>
>
> </kml>
>
> Any help would be much appriciated!

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to