<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Brad,</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>In the examples folder you will find “markersTextLayer.html”
which does 90% of what you want. It loads information for your markers from a
text file (with a custom icon for each if you like) and displays a popup with
information relevant to that marker (also loaded from the text file). It does
not, to my knowledge, do so on just a mouse-over, the user has to click on the
icon, but I imagine that wouldn’t be too difficult to finesse. There has
been considerable traffic recently regarding having scrollbars in these popups
as well, so if that is a need, you can do it too.</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Good luck,</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>r.b.</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>var newl = new OpenLayers.Layer.Text(
"text", {location: "./wateruse.txt"} );</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> map.addLayer(newl);</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> dev-bounces@openlayers.org
[mailto:dev-bounces@openlayers.org] <b><span style='font-weight:bold'>On Behalf
Of </span></b>Bradley Mclain<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, July 18, 2007
7:29 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Mapserver Users ML; OpenLayers
ML<br>
<b><span style='font-weight:bold'>Subject:</span></b> [OpenLayers-Dev]
Information/Advice about placing markers</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Ok what I want to do is place a series of markers on
different farm blocks and properties, I currently have a Webserver using
OpenLayers to import Google Maps and my own custom Mapserver WMS data. I am
looking for any advice hints and tips on how to go about all of this. <br>
<br>
I have a list of all the info I need about the different farm blocks, names of
growers, variety of produce etc and I would like to place a marker so that when
you hover over it it displays this data. (Also a potential future feature would
be a full outline of the property but this is probably a while off. <br>
<br>
Currently all I have is markers being placed on the specific locations with no
pop-up info or anything. I don't want to cram my html file full of this info
and would prefer if I could import from some sort of a database or text file.
(Preferably textfile in the short term for testing but eventually a database
would be ideal). <br>
<br>
Cheers<br>
<br>
Brad</span></font></p>
</div>
</body>
</html>