Code examples for LatLng

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
52:	return new LatLng(location.getLatitude(), location.getLongitude()); 
Full Snippet Info
8
CodeRank
54:	map.addMarker(new MarkerOptions().position(new LatLng(lat, lon)) 
Full Snippet Info
8
CodeRank
129:	map.addMarker(new MarkerOptions().position(new LatLng(lat, lon)) 
Full Snippet Info
8
CodeRank
140:	map.addMarker(new MarkerOptions().position(new LatLng(lat, lon)) 
Full Snippet Info
8
CodeRank
151:	map.addMarker(new MarkerOptions().position(new LatLng(lat, lon)) 
Full Snippet Info
8
CodeRank
74:	LatLng pos = new LatLng(loc.getLatitude(), loc.getLongitude()); 
75:	map.addMarker(new MarkerOptions().position(pos)); 
Full Snippet Info
6
CodeRank
154:	map.addMarker(new MarkerOptions().position(new LatLng(lat, lon)) 
Full Snippet Info
8
CodeRank
60:	return location == null ? new LatLng(LONDON_LAT, LONDON_LONG) : new LatLng(location.getLatitude(), location.getLongitude()); 
Full Snippet Info
6
CodeRank
154:	map.addMarker(new MarkerOptions().position(new LatLng(lat, lon)) 
Full Snippet Info
8
CodeRank
148:	map.addMarker(new MarkerOptions().position(new LatLng(lat, lon)) 
Full Snippet Info
8
CodeRank
165:	map.addMarker(new MarkerOptions().position(new LatLng(lat, lon)) 
Full Snippet Info
8
CodeRank
156:	new LatLng(location.getLatitude(), location.getLongitude()); 
Full Snippet Info
8
CodeRank
133:	LatLng pos = new LatLng(Double.valueOf(station.getLatitude()), Double.valueOf(station.getLongitude())); 
-
135:	.position(pos) 
Full Snippet Info
8
CodeRank
42:	marker.setPosition(new LatLng(lat, lng)); 
Full Snippet Info
7
CodeRank
110:	LatLng p = new LatLng(location.getLatitude(), location.getLongitude()); 
Full Snippet Info
6
CodeRank
101:	mBus.post(new LocationChangedEvent(new LatLng(location.getLatitude(), location.getLongitude()), "You are here!", true)); 
Full Snippet Info
6
CodeRank
30:	setContentView(R.layout.activity_map); 
Full Snippet Info
6
CodeRank
30:	private GoogleMap mMap; 
Full Snippet Info
6
CodeRank