title: Android-How to convert String value of latLng from Firebase back to latLng?
body: <p>In my app, I am trying to have people mark their locations, and have it brought back through Firebase. </p>
  
  <p>This is my code for grabbing the latLng:</p>
  
  <pre><code> final LatLng latLng = new LatLng(location.getLatitude(), location.getLongitude());
  </code></pre>
  
  <p>I then send the string value of latLng to another activity so it gets sent to the databse:</p>
  
  <pre><code>            Intent co_intent = new Intent(MapsActivity.this, ServerImage.class);
              co_intent.putExtra("pelatlng",String.valueOf(latLng));
              MapsActivity.this.startActivity(co_intent);
  </code></pre>
  
  <p>When I do this, the coordinates gets saved in the Database like this(fake coordinates for obvious reasons):</p>
  
  <pre><code>Markers:
  coordinates: "lat/lng:(35.000000,119.0000000)"
  </code></pre>
  
  <p>I then got the Databse value so I could bring back the coordinates: </p>
  
  <pre><code>mDatabaseMarker=FirebaseDatabase.getInstance().getReference().child("Markers");
  </code></pre>
  
  <p>Now I am trying to put the saved markers through ChildEventListener like this:</p>
  
  <pre><code>refDatabase.addChildEventListener(new ChildEventListener() {
   @Override
   public void onChildAdded(DataSnapshot dataSnapshot, String prevChildKey) {
  
                  );
        mMap.addMarker(new MarkerOptions()
            .position(?)
  
   }
  </code></pre>
  
  <p>However,  I don't know what to put for the marker position.
  I could get the value back as a String just fine, but having trouble putting the marker on that location. Thanks for the help.</p>