I am creating a popup from kml and call

                     content = 
OpenLayers.Style.createLiteral(feature.style.balloonStyle, feature);

                 if (feature.style.balloonStyle)  {
                      // Use Style.js to replace balloonstyle variables 
with attribute values
                     content = 
OpenLayers.Style.createLiteral(feature.style.balloonStyle, feature);

My balloonStyle is:
<a href="data/WSSections/${western_southland_sections/SectionRef} 
${western_southland_sections/SectionNam}.pdf">${western_southland_sections/SectionNam}</a>

and features has attributes of SectionRef,SectionNam, and MapSheet. But 
createLiteral is doing nothing. In firebug, I set breakpoints in the 
replacer function String.format but cant seem to step in or ever reach 
there to find out what is going on. Where am I going wrong here?




Notice: This email and any attachments are confidential. If received in error 
please destroy and immediately notify us. Do not copy or disclose the contents.

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

Reply via email to