[OpenLayers-Users] Re: Forms in openlayers popup

mblenton mblenton at gmail.com
Sat Dec 31 06:49:00 EST 2011


Hi,

I usually display features from a kml file (dynamically generated, though),
the good thing is that you can put any HTML code within <description> tags,
like this:

                    <Placemark>
                        <name>{{ eko.title }} ({{ eko.latitude }}, {{
eko.longitude }})</name>
                        <description>
                            
                        </description>
                        <LookAt>
                            <longitude>{{ eko.longitude }}</longitude>
                            <latitude>{{ eko.latitude }}</latitude>
                            <altitude>0</altitude>
                            <range>24.63686803544318</range>
                            <tilt>0</tilt>
                            <heading>0</heading>
                        </LookAt>
                        <styleUrl>#ilegalno_odlagaliste</styleUrl>
                        <Point>
                            <coordinates>{{ eko.longitude }},{{ eko.latitude
}},0</coordinates>
                        </Point>
                    </Placemark>

Since I just recently started with openlayers and the whole geo-related web,
I copied the example from
http://openlayers.org/dev/examples/sundials-spherical-mercator.html

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Forms-in-openlayers-popup-tp7108197p7140150.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list