Hey<div><br></div><div>I tested my map on an iPad and it didn't pan as expected. I'm trying at the moment to implement exactly what I had but using openlayers 2.11 as its optimised for mobile</div><div><br></div><div>
It is showing the KML markers however they are not clickable - I can't find any example that works they way I feel this should. Click the marker - pop up appears - click x popup disappears </div><div><br></div><div>Main page is here <a href="http://cs1.ucc.ie/~nmh2/mobile-layers2.html" target="_top" rel="nofollow" link="external">http://cs1.ucc.ie/~nmh2/mobile-layers2.html</a></div>
<div>KML is the same. I've attached the JS file <br><br></div><div>Any help regarding generating a popup with the new version of openlayers would be greatly appreciated.</div><div><br></div><div>Noelette </div><div><br>
</div><div><br><div class="gmail_quote">On 16 August 2011 07:53, Simon Appelt [via OSGeo.org] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=6778641&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
        
Hi Noelette,<br>
<br>
the "problem" is not ur browser cache. Google is caching your kml
too ;). Look at: <br>
<a href="http://groups.google.com/group/Google-Maps-API/browse_thread/thread/31a589c622c77366?pli=1" rel="nofollow" link="external" target="_blank">http://groups.google.com/group/Google-Maps-API/browse_thread/thread/31a589c622c77366?pli=1</a><br>
<br>
One Solution: Add a random string behind your kml name (like
SimpleKml123.kml) with e.g php rand(). <br>
<br>
regards,<br>
Simon<br>
<br>
Am 15.08.2011 14:10, schrieb Noelette Hurley:
</div><blockquote style="border-left:2px solid #CCCCCC;padding:0 1em" type="cite">It seems to have updated now. Strange. <br>
<br>
<div class="gmail_quote"><div><div></div><div class="h5">On 13 August 2011 18:13, <span dir="ltr"><<a href="http://user/SendEmail.jtp?type=node&node=6690251&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span>
wrote:<br>
</div></div><blockquote style="border-left:2px solid #CCCCCC;padding:0 1em" class="gmail_quote"><div><div></div><div class="h5">
Only shows one for me. Did you try clearing your cache?<br>
<br>
-- Chris<br>
</div></div><div>
<div><div><div></div><div class="h5"><br>
On Aug 13, 2011, at 10:48 AM, ext Noelette wrote:<br>
<br>
> Hi<br>
> I have an openlayers OpenStreetMap displaying showing
a college campus. I'm<br>
> trying to place markers over particular buildings so
the user can click and<br>
> view additional information. I made a simple KML
file, and following the<br>
> examples I get 3 simple clickable markers to display.
Today I tried to edit<br>
> the KML file to store additional markers and I also
tried to extend the<br>
> amount of information displayed for the existing
marks<br>
> The HTML file and the KML file are on a web server.<br>
> I updated the KML file, I did nothing to the HTML but
the updates to the KML<br>
> file did not display.<br>
> Would anyone know why this might be? I've simplified
the KML file down to<br>
> one place marker but it still shows the original 3
that I had working<br>
><br>
> Link to map <a href="http://cs1.ucc.ie/%7Enmh2/openlayer/examples/layerUCCEx.html" rel="nofollow" link="external" target="_blank">http://cs1.ucc.ie/~nmh2/openlayer/examples/layerUCCEx.html</a><br>
><br>
> Simplified KML file<br>
><br>
><br>
> <?xml version="1.0" encoding="UTF-8"?><br>
> <kml xmlns="<a href="http://earth.google.com/kml/2.2" rel="nofollow" link="external" target="_blank">http://earth.google.com/kml/2.2</a>"><br>
> <Document><br>
> <Placemark><br>
> <name>Western Gateway
Building</name><br>
> <description>WGB</description><br>
> <Point><br>
>
<coordinates>-8.499781,51.893349,0.000000</coordinates><br>
> </Point><br>
> </Placemark><br>
> </Document><br>
> </kml><br>
><br>
> Larger KML file<br>
> <?xml version="1.0" encoding="UTF-8"?><br>
> <kml xmlns="<a href="http://earth.google.com/kml/2.2" rel="nofollow" link="external" target="_blank">http://earth.google.com/kml/2.2</a>"><br>
> <Document><br>
> <Placemark><br>
> <name>Western Gateway
Building</name><br>
> <description>WGB- Shiny and
New</description><br>
> <Point><br>
>
<coordinates>-8.499781,51.893349,0.000000</coordinates><br>
> </Point><br>
> </Placemark><br>
> <Placemark><br>
> <name>Quad</name><br>
> <description>UCC's Quad - Don't walk on
the grass</description><br>
> <Point><br>
> <coordinates>-8.492107,
51.893905,0.000000</coordinates><br>
> </Point><br>
> </Placemark><br>
> <Placemark><br>
> <name>Boole Library</name><br>
> <description>UCC's
Library</description><br>
> <Point><br>
>
<coordinates>-8.491518,51.892793,0.0000000</coordinates><br>
> </Point><br>
> </Placemark><br>
> <Placemark><br>
> <name>Kane Building</name><br>
> <description>Kane Building
UCC</description><br>
> <Point><br>
>
coordinates>-8.493941,51.892792,0.000000</coordinates><br>
> </Point><br>
> </Placemark><br>
> </Document><br>
> </kml><br>
><br>
> I also tried displaying an image but decided to leave
that out until I got<br>
> the basics displaying. (not certain it can display
images)<br>
><br>
> Any help would be much appreciated<br>
><br>
> Noelette<br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Open-layers-Open-Street-Map-and-KML-tp6683329p6683329.html" rel="nofollow" link="external" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Open-layers-Open-Street-Map-and-KML-tp6683329p6683329.html</a><br>
> Sent from the OpenLayers Users mailing list archive
at Nabble.com.<br>
> _______________________________________________<br>
> Users mailing list<br></div></div>
> <a href="http://user/SendEmail.jtp?type=node&node=6690251&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a><div class="im"><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
<br>
</div></div>
</div>
</blockquote>
</div>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="http://user/SendEmail.jtp?type=node&node=6690251&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a><div class="im">
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a>
</div></pre>
</blockquote>
<br><div class="im">
<br>
<pre cols="72">--
Visit me at
- Blog : <a href="http://www.maptags.de" rel="nofollow" link="external" target="_blank">http://www.maptags.de</a>
- Twitter: <a href="http://twitter.com/maptagsde" rel="nofollow" link="external" target="_blank">http://twitter.com/maptagsde</a>
- youtube: <a href="http://www.youtube.com/maptagsde" rel="nofollow" link="external" target="_blank">http://www.youtube.com/maptagsde</a> </pre>
<br></div><div class="im">_______________________________________________
<br>Users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=6690251&i=3" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br></div><div class="im"><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
        
        <br>
        <br>
        </div><hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://osgeo-org.1803224.n2.nabble.com/Open-layers-Open-Street-Map-and-KML-tp6683329p6690251.html" target="_blank" rel="nofollow" link="external">http://osgeo-org.1803224.n2.nabble.com/Open-layers-Open-Street-Map-and-KML-tp6683329p6690251.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em">
                
                To unsubscribe from Open layers - Open Street Map and KML, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.
        </div></blockquote></div><br></div>
<div class="small"><br/><img src="/images/icon_attachment.gif" > <strong>mobile-layers2.js</strong> (4K) <a href="/attachment/6778641/0/mobile-layers2.js" target="_top" rel="nofollow" link="external">Download Attachment</a></div>
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Open-layers-Open-Street-Map-and-KML-tp6683329p6778641.html">Re: Open layers - Open Street Map and KML</a><br/>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Users-f1822463.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br/>