googlemaps / googlemaps/google-maps-ios-utils

HeatMap not visible when it is zoomed in.

Open
#371 7 comments 0 reactions 1 assignee Claimed by @arriolac View on GitHub
priority: p3 type: bug
Dominant language
Objective-C
Stars
778
Forks
441
PR merge metrics
No merged PRs in 30d

Description

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]

mapView.delegate = self
heatmapLayer = GMUHeatmapTileLayer()
heatmapLayer.radius = 100
heatmapLayer.opacity = 0.7
heatmapLayer.gradient = GMUGradient(colors: gradientColors,
startPoints: gradientStartPoints,
colorMapSize: 156)
My code is same as you provided on Google developer site
Please let me know if anything is misssing
Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.