Comments (7)
Hey Igor,
This looks serious. Which version of the library are you using?
Can you provide a more complete code to reproduce this issue?
Original comment by [email protected]
on 15 Aug 2013 at 3:09
from android-maps-extensions.
I used latest version from master branch.
I attached project with issue. It is based on demo, quick and dirty
implementation, sorry :).
Steps to reproduce.
- start app and wait until it will be zoomed to Warsaw (1.png);
- click on Issue 29 and see markers (2.png);
- zoom out via maps "-" button (3.png);
- scroll horizontal/vertical to see missed marker (4.png);
Lets me know if you need something else.
Original comment by [email protected]
on 15 Aug 2013 at 4:35
Attachments:
from android-maps-extensions.
Great. Thanks. I'll have a look into it.
Original comment by [email protected]
on 15 Aug 2013 at 4:36
from android-maps-extensions.
Got it reproduced. Clusters were not refreshed when using
addMarkersDynamically, when they were not initially not on screen and they
didn't join after zoom out.
For a quick fix go to GridClusteringStrategy.joinClusters and replace
if (clusterList.size() == 1) {
ClusterMarker cluster = clusterList.get(0);
newClusters.put(key, cluster);
} else {
with
if (clusterList.size() == 1) {
ClusterMarker cluster = clusterList.get(0);
newClusters.put(key, cluster);
if (!addMarkersDynamically || isPositionInVisibleClusters(clusterList.get(0).getMarkersInternal().get(0).getPosition())) {
refresh(cluster);
}
} else {
Similar code will be popped in for the next release.
Have to check the same for zoom in and no-split clusters.
Thanks for the report.
Original comment by [email protected]
on 15 Aug 2013 at 7:17
- Changed state: Accepted
from android-maps-extensions.
Thanks for quick fix.
Original comment by [email protected]
on 16 Aug 2013 at 8:07
from android-maps-extensions.
http://code.google.com/p/android-maps-extensions/source/detail?r=30198f716aadc6f
759186426def7f10eda7c748c&name=develop
Original comment by [email protected]
on 17 Aug 2013 at 9:14
- Changed state: FixedNotReleased
from android-maps-extensions.
Original comment by [email protected]
on 23 Aug 2013 at 10:33
- Changed state: Fixed
from android-maps-extensions.
Related Issues (20)
- NullPointerException when no IconDataProvider implementation specified HOT 3
- Markers with the same position always appear clustered HOT 3
- IndexOutOfBoundsException om markers remove HOT 1
- cannot use snapshot() method ,how to do screenshot on googlemap v2 HOT 3
- Crashes LazyMarker.java HOT 1
- Crashes LazyMarker.java HOT 8
- Map is unresponsive after adding a lot of markers until suspend/resume HOT 2
- Cluster ClusterMarker if they are very close together HOT 1
- GoogleMap.onMapLoadedCallback() HOT 6
- Swtich to android support library v13 HOT 3
- Extend MapFragment HOT 3
- Restructure project HOT 4
- Inhibit clustering of marker HOT 1
- NPE in calculateDistanceBetweenMarkers() HOT 2
- Draw text on markers in onCameraChange HOT 3
- Make this library work with the Google Maps for Business SDK HOT 1
- IllegalArgumentException when try to execute marker.setIcon in the onMarkerClick callback HOT 12
- getMarkers() getting different results HOT 1
- Google maps extensions does not find fragment R.id.map
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-maps-extensions.