-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HeatMap not visible when it is zoomed in. #371
Comments
This is perhaps due to the radius size you have set. Based on our docs, the value is recommended to be between 10 and 50. See: https://developers.google.com/maps/documentation/ios-sdk/utility/heatmap#customize-the-heatmap |
@arriolac Thanks! for your reply. But radius has no effect on this. I have tried all values from 10-60 for radius, for opacity value 1, and colorMapSize value 256. All these have no effect when I do zoom in. The result is the same as the above ss. Even I tried in the sample GitHub code the result is the same. In Android, the same is working fine i.e I have to do the same. |
@arriolac Please help to find the solution. |
Set Or where there is a high density of points replace them with one point with a greater weight for performance if you don't require the pin point detail. |
Try this
after that add your lat lng list to weightData
|
Set the colorMapSize to 16000 @gurjnderSingh |
When I do zoom in, HeatMap is visible. As soon I started zoon in I am unable to see the color of the Heat Map.
I am using the same code
private var gradientColors = [UIColor.green, UIColor.red]
private var gradientStartPoints = [0.2, 1.0] as [NSNumber]
My code is same as you provided on Google developer site
Please let me know if anything is misssing
Thanks!
The text was updated successfully, but these errors were encountered: