Comments (7)
Does this only happen if the map type is MKMapTypeHybrid
and you change the camera angle? Or does it happen in other ways as well?
Not sure what's the problem – perhaps you have time to create a PR?
from cchmapclustercontroller.
It doesn't seem to happen other mapTypes. I don't know what is wrong either...
from cchmapclustercontroller.
I have also gotten this to happen when the map isn't skewed. The really strange thing I am seeing is when turning on debug mode and seeing the blue grids. In other mapType
s the grids move along with the map when you pan it. But, in Flyover
mode the grids redraw in strange ways. I leads me to think that the methods for calculation are not taking into account some strange changes that Flyover
mode introduces.
Flyover grids example (strange issues): https://youtu.be/K-UxfTABKJM
Hybrid grids example (no issues): https://youtu.be/ZxYls4oV4i4
Any ides on what could be causing this?
from cchmapclustercontroller.
Correction to my original bug, I had intended to say that this was happening in MKMapTypeHybridFlyover
mode. Flyover seems to be the issue. I had mistakenly just said MKMapTypeHybrid
which was incorrect.
from cchmapclustercontroller.
About the issue in https://youtu.be/y0JfE8FiuXE – how did you get the camera to show the map at a pitched angle? From the documentation:
If the map type is MKMapTypeSatellite or MKMapTypeHybrid, the pitch value is clamped to 0.
I tried both MKMapTypeSatelliteFlyover
and MKMapTypeHybridFlyover
and I couldn't get the camera to pitch (neither manually via Option-Shift-Mouse nor via updating the pitch
property programatically).
As for the issue in https://youtu.be/K-UxfTABKJM – this seems to be similar to #133. The rect alignment somehow changed on iOS 10 and I don't yet have a way to work around this. I'm happy to accept PRs for this
from cchmapclustercontroller.
To get the camera to pitch use a physical device and put two fingers on the screen and slide them up. Make sure to be zoomed in fairly close to earth.
from cchmapclustercontroller.
It turns out that pitching only works on a device – not in the simulator.
It looks to me that the problem is related to the pitching angle: the further you pitch, the bigger the size of the rectangles used for clustering until they are huge and the annotations vanish. It appears that map types related to flyover can be pitched further than other map types so that this problem only appears with these types.
At the moment, the only workaround I can offer is to restrict the pitch angles when enabling flyover mode
from cchmapclustercontroller.
Related Issues (20)
- Annotation views occasionally disappear while panning/zooming HOT 2
- willReuseMapClusterAnnotation does not work in Swift HOT 6
- showAnnotations:animated: adds the default pin instead of custom Annotation Views HOT 1
- Using own custom MKAnnotation subclass for uniqueLocations HOT 4
- Strange behavior when zooming in and out HOT 14
- Two markers at exact same location HOT 1
- How to get the instance of CCHMapClusterAnnotation? HOT 4
- Crash due to usage of KVO HOT 5
- Cannot refer to custom subclass of MKAnnotation in viewForAnnotation HOT 3
- Cannot tap on Annotation View
- Can't see annotation while too zoomed out HOT 4
- Annotation coordinate is not properly updated HOT 2
- Displaying different annotation views HOT 1
- Make the representation of ClusterAnnotationView unchanged when zooming in or out HOT 5
- changing the annotation view when isUnique changes HOT 2
- Getting wrong annotation count on click of cluster in swift 3 HOT 1
- TV OS? HOT 1
- Removing Annotations doesn't work correctly HOT 6
- Is it possible for clusters to have sub clusters?
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 cchmapclustercontroller.