[OpenLayers-Users] KML

Christopher Schmidt crschmidt at metacarta.com
Mon Aug 3 10:01:22 EDT 2009


On Mon, Aug 03, 2009 at 01:00:32AM -0700, maelstrom666 wrote:
> 
> Hi I am very new to OL and I am having some issues with kml and markers.
> When I go to
> http://openlayers.org/dev/examples/sundials-spherical-mercator.html , the
> sundials show up fine.
> In the zip file I downloaded from the main website, this example was
> included.
> However I do not see the sundials on the example stored on my machine.
> The code is exactly the same, the files are all in the right folders.. I am
> not sure why it isnt working.
> Do I need to install kml on my machine or something?

Most likely:

 * You're using a recent web browser, which does not support loading files
   from the local filesystem.
 * You havent' installed the examples on a webserver.

> Also, I need some help with markers. I am currently using a google streets
> layer on my map. When I add markers to it, no matter what lonlat I specify,
> it will always show up at 0,0.

Near 0,0, more likely. I recommend
http://docs.openlayers.org/library/spherical_mercator.html .


Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list