Skip to content

glexx/android-places-demos

 
 

Repository files navigation

Google Places SDK Demos Fork to test bug ticket 285920123

Test Project is "demo-java"

TestActivity contains simple map initialization with single marker.

As you can see Long click doesn't work over the marker with the new render but works with LEGACY render.

	// LEGACY - long click on marker works
	MapsInitializer.initialize(getApplicationContext(), MapsInitializer.Renderer.LEGACY, this);
	// LATEST - long click on marker doesn't work
	MapsInitializer.initialize(getApplicationContext(), MapsInitializer.Renderer.LATEST, this);
	map.setOnMapLongClickListener(latLng -> {
		Toast.makeText(TestActivity.this, "OnMapLongClickListener", Toast.LENGTH_SHORT).show();
	});

About

Google Places SDK Demos Fork to test bug ticket 285920123

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 50.7%
  • Java 49.3%