Hey<div><br></div><div>I tested my map on an iPad and it didn&#39;t pan as expected. I&#39;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&#39;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&#39;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">&lt;<a href="/user/SendEmail.jtp?type=node&node=6778641&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</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 &quot;problem&quot; 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">&lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=6690251&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt;</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>
              &gt; Hi<br>
              &gt; I have an openlayers OpenStreetMap displaying showing
              a college campus. I&#39;m<br>
              &gt; trying to place markers over particular buildings so
              the user can click and<br>
              &gt; view additional information. I made a simple KML
              file, and following the<br>
              &gt; examples I get 3 simple clickable markers to display.
              Today I tried to edit<br>
              &gt; the KML file to store additional markers and I also
              tried to extend the<br>
              &gt; amount of information displayed for the existing
              marks<br>
              &gt; The HTML file and the KML file are on a web server.<br>
              &gt; I updated the KML file, I did nothing to the HTML but
              the updates to the KML<br>
              &gt; file did not display.<br>
              &gt; Would anyone know why this might be? I&#39;ve simplified
              the KML file down to<br>
              &gt; one place marker but it still shows the original 3
              that I had working<br>
              &gt;<br>
              &gt; 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>
              &gt;<br>
              &gt; Simplified KML file<br>
              &gt;<br>
              &gt;<br>
              &gt;    &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
              &gt;    &lt;kml xmlns=&quot;<a href="http://earth.google.com/kml/2.2" rel="nofollow" link="external" target="_blank">http://earth.google.com/kml/2.2</a>&quot;&gt;<br>
              &gt;    &lt;Document&gt;<br>
              &gt;    &lt;Placemark&gt;<br>
              &gt;        &lt;name&gt;Western Gateway
              Building&lt;/name&gt;<br>
              &gt;        &lt;description&gt;WGB&lt;/description&gt;<br>
              &gt;        &lt;Point&gt;<br>
              &gt;          
               &lt;coordinates&gt;-8.499781,51.893349,0.000000&lt;/coordinates&gt;<br>
              &gt;       &lt;/Point&gt;<br>
              &gt;    &lt;/Placemark&gt;<br>
              &gt;    &lt;/Document&gt;<br>
              &gt;    &lt;/kml&gt;<br>
              &gt;<br>
              &gt; Larger KML file<br>
              &gt;    &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
              &gt;    &lt;kml xmlns=&quot;<a href="http://earth.google.com/kml/2.2" rel="nofollow" link="external" target="_blank">http://earth.google.com/kml/2.2</a>&quot;&gt;<br>
              &gt;    &lt;Document&gt;<br>
              &gt;    &lt;Placemark&gt;<br>
              &gt;        &lt;name&gt;Western Gateway
              Building&lt;/name&gt;<br>
              &gt;        &lt;description&gt;WGB- Shiny and
              New&lt;/description&gt;<br>
              &gt;        &lt;Point&gt;<br>
              &gt;        
               &lt;coordinates&gt;-8.499781,51.893349,0.000000&lt;/coordinates&gt;<br>
              &gt;        &lt;/Point&gt;<br>
              &gt;      &lt;/Placemark&gt;<br>
              &gt;     &lt;Placemark&gt;<br>
              &gt;      &lt;name&gt;Quad&lt;/name&gt;<br>
              &gt;      &lt;description&gt;UCC&#39;s Quad - Don&#39;t walk on
              the grass&lt;/description&gt;<br>
              &gt;    &lt;Point&gt;<br>
              &gt;       &lt;coordinates&gt;-8.492107,
              51.893905,0.000000&lt;/coordinates&gt;<br>
              &gt;    &lt;/Point&gt;<br>
              &gt;   &lt;/Placemark&gt;<br>
              &gt;    &lt;Placemark&gt;<br>
              &gt;    &lt;name&gt;Boole Library&lt;/name&gt;<br>
              &gt;    &lt;description&gt;UCC&#39;s
              Library&lt;/description&gt;<br>
              &gt;        &lt;Point&gt;<br>
              &gt;          
              &lt;coordinates&gt;-8.491518,51.892793,0.0000000&lt;/coordinates&gt;<br>
              &gt;        &lt;/Point&gt;<br>
              &gt;    &lt;/Placemark&gt;<br>
              &gt;    &lt;Placemark&gt;<br>
              &gt;       &lt;name&gt;Kane Building&lt;/name&gt;<br>
              &gt;       &lt;description&gt;Kane Building
              UCC&lt;/description&gt;<br>
              &gt;       &lt;Point&gt;<br>
              &gt;              
              coordinates&gt;-8.493941,51.892792,0.000000&lt;/coordinates&gt;<br>
              &gt;       &lt;/Point&gt;<br>
              &gt; &lt;/Placemark&gt;<br>
              &gt; &lt;/Document&gt;<br>
              &gt; &lt;/kml&gt;<br>
              &gt;<br>
              &gt; I also tried displaying an image but decided to leave
              that out until I got<br>
              &gt; the basics displaying. (not certain it can display
              images)<br>
              &gt;<br>
              &gt; Any help would be much appreciated<br>
              &gt;<br>
              &gt; Noelette<br>
              &gt;<br>
              &gt;<br>
              &gt; --<br>
              &gt; 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>

              &gt; Sent from the OpenLayers Users mailing list archive
              at Nabble.com.<br>
              &gt; _______________________________________________<br>
              &gt; Users mailing list<br></div></div>
              &gt; <a href="http://user/SendEmail.jtp?type=node&amp;node=6690251&amp;i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a><div class="im"><br>
              &gt; <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&amp;node=6690251&amp;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&amp;node=6690251&amp;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/>