Jquery cookie + google map api 3 latlng
<p>I have this javascript,</p>

<pre><code> if ( $.cookie("latlng") ) {
     myLatlng = new google.maps.LatLng( $.cookie("latlng") ); //problem here??
 } else {
     $.cookie("latlng", "0,0", { path: '/' });
     myLatlng = new google.maps.LatLng(0,0);
 }
</code></pre>

<p>The cookie function is using <a href="https://github.com/carhartl/jquery-cookie" rel="nofollow">https://github.com/carhartl/jquery-cookie</a>.</p>

<p>My problem is that how do I pass the value of the cookie to google.maps.LatLng??</p>

<p>Thanks in advance!</p>
