[OpenLayers-Users] problems with popups and selecting features

ryan burns burnsr77 at gmail.com
Fri Jan 8 13:47:14 EST 2010


Hello, OLers! This is my first OpenLayers map and I'm having serious
difficulty selecting features and seeing popups. I've literally spent days
trying to figure this out, so please forgive me if it's already been
discussed somewhere.

Let me first give some background. I have three layers. One is a GML layer
from a text file of points (the text file is generated by a PHP script
reading from a MySQL spatially-enabled database). Another is a marker layer
(only one point), the location of which I have hard-coded. The third is a
KML generated in Google Earth.

I've never been able to get popups in my map, or to select the point
features. Is there something terribly wrong with my code? In the OL example
(here <http://openlayers.org/dev/examples/markersTextLayer.html>), there
doesn't seem to be anything special in the map that enabled popups. I even
followed the example code
here<http://docs.openlayers.org/library/overlays.html#transition-markers-to-vectors>for
selecting features.

My site is here <http://128.95.212.135/mapyouth_php.php>, so that you can
see my code. Please forgive me if it's sloppy - I'm not much of a
programmer.

Thank you much in advance!!! I sincerely appreciate any help you can give
me!

ryan

-- 
Department of Geography
University of Washington

BurnsR77 at gmail.com
rlburns at uw.edu
859-582-9125
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100108/624ade93/attachment.html


More information about the Users mailing list