On 2/22/2013 2:15 PM, boesiii wrote:
Hello,

I am trying to get my a popup box to display information from a vector layer
(geojson).  I have read many pages of examples and I can not figure what is
wrong.

Thanks,

My code is as follows:

<!DOCTYPE html>
<html>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        

   </head>
   <body onload="init()">
     <div id="map" style="position: absolute; right: 0px; top: 0px; width:
100%; height: 100%"></div>
   </body>
</html>

You have not loaded the OpenLayers code and you have not defined a function init().

-Steve W

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to