You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Finally, got some time to try Maps Extensions for my app. Migration went
smooth, although docs are scarce (and i can probably be considered GMaps power
user, having thus a competitive advantage;-).
One thing that is probably worth improving is to implement some default cluster
icons.
What i intuitively did (after updating imports) was to add this line to my code:
googleMap.setClustering(new ClusteringSettings().addMarkersDynamically(true));
After that my app went bust:
java.lang.NullPointerException
at
pl.mg6.android.maps.extensions.impl.BaseClusteringStrategy.getIconData(BaseClust
eringStrategy.java:68)
at
pl.mg6.android.maps.extensions.impl.BaseClusteringStrategy.getFromCacheOrCreate(
BaseClusteringStrategy.java:59)
at
pl.mg6.android.maps.extensions.impl.ClusterMarker.refresh(ClusterMarker.java:80)
at
pl.mg6.android.maps.extensions.impl.ClusterRefresher.refreshAll(ClusterRefresher
.java:52)
at
pl.mg6.android.maps.extensions.impl.GridClusteringStrategy.recalculate(GridClust
eringStrategy.java:327)
at
pl.mg6.android.maps.extensions.impl.GridClusteringStrategy.onCameraChange(GridCl
usteringStrategy.java:92)
at
pl.mg6.android.maps.extensions.impl.DelegatingGoogleMap$DelegatingOnCameraChange
Listener.onCameraChange(DelegatingGoogleMap.java:446)
Sure, it's trivial to grab DemoIconProvider implementation along with some
resources from sample project, but it'd be nice to have it out of the box.
Original issue reported on code.google.com by estee...@gmail.com on 24 Jul 2013 at 3:53
The text was updated successfully, but these errors were encountered:
Hello Taras,
The first thing to change is probably the exception that is being thrown, which
says almost nothing about the reason. Bad, bad.
I also think it would be beneficial to have some default implementation.
Original comment by maciek.g...@gmail.com on 24 Jul 2013 at 10:50
Original issue reported on code.google.com by
estee...@gmail.com
on 24 Jul 2013 at 3:53The text was updated successfully, but these errors were encountered: