<font size="4"><font face="georgia,serif">An example of how you call this is what I am looking for. The documentation is frustratingly brief, I find it hard to implement API's without examples.<br clear="all"></font></font><span style="font-family:georgia,serif">Aaron E-J</span><br style="font-family:georgia,serif">
<span style="font-family:georgia,serif"><a href="http://otherrealm.org" target="_blank" rel="nofollow" link="external">http://otherrealm.org</a></span><br style="font-family:georgia,serif"><span style="font-family:georgia,serif"><a href="http://aaronej.blogspot.com" target="_blank" rel="nofollow" link="external">http://aaronej.blogspot.com</a></span><br style="font-family:georgia,serif">
<span style="font-family:georgia,serif">Vision without action is a daydream,</span><br style="font-family:georgia,serif"><span style="font-family:georgia,serif">Action without vision is a nightmare,</span><br style="font-family:georgia,serif">
<span style="font-family:georgia,serif">One needs both to succeed.</span><br><br><br><br>
<br><br><div class="gmail_quote">On Mon, Jul 9, 2012 at 6:17 PM, Phil Scadden [via OSGeo.org] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4987391&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<div>On 10/07/2012 3:37 a.m., Aaron E-J
wrote:<br>
</div>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" type="cite"><span>I'm getting "undefined"
when I try to call kmllayer.features using the script provided
in the last post.
<span> </span>I am able to view the 'feature.geometry'
when the feature is coming from a click event, I just have not
figured out how
to get all features available from the kml layer (keeps coming
up undefined no
matter what I try).<span> </span>Any more examples would
be greatly appreciated (working links to complete examples would
be awesome</span><span style="font-size:12.0pt;font-family:Wingdings"><span><img goomoji="gtalk.330" style="margin:0px 0.2ex;vertical-align:middle" src="http://osgeo-org.1560.n6.nabble.com/attachment/4987391/0/330.png"></span></span><span>), thanks for what I
have gotten so far.<br>
</span></blockquote>
<br></div>
Well looking at the docs, a vector layer should have a "features"
properties after it is loaded. Where are you doing the checking? <br><div class="im">
<p><span style="font-size:8pt;font-family:'Arial'">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.</span></p>
<p><span style="font-size:8pt;font-family:'Arial'"> </span></p>
<br>_______________________________________________
<br>Users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=4987063&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<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>
<br>
<hr color="#cccccc" noshade size="1">
</div><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.1560.n6.nabble.com/Is-there-an-easy-way-to-center-and-zoom-the-map-automatically-based-on-the-placemarks-that-are-on-it-tp4985789p4987063.html" target="_blank" rel="nofollow" link="external">http://osgeo-org.1560.n6.nabble.com/Is-there-an-easy-way-to-center-and-zoom-the-map-automatically-based-on-the-placemarks-that-are-on-it-tp4985789p4987063.html</a>
</div><div class="HOEnZb"><div class="h5">
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from Is there an easy way to center and zoom the map automatically based on the placemarks that are on it?, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
<a href="http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
</div></div></div></blockquote></div><br>
<div class="signature weak-color">Vision without action is a daydream,
<br/>Action without vision is a nightmare,
<br/>One needs both to succeed.</div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/Is-there-an-easy-way-to-center-and-zoom-the-map-automatically-based-on-the-placemarks-that-are-on-it-tp4985789p4987391.html">Re: Is there an easy way to center and zoom the map automatically based on the placemarks that are on it?</a><br/>
Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/OpenLayers-Users-f3910695.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br/>