Skip to content

Gradient disappears at a specific zoom. #3

@vlimag

Description

@vlimag

Hi,

First of all, congratulations for the package.

I am using the Points-density algorithim, and it is working just fine.
The only think that is not working as expected is that at some zoom, the gradient and the 'Critical' points dont show properly (All the poinst are displayed exactly the same).
and then the points come back to show the gradient..
Following are the configurations of the component, and the transition of the zoom - less zoom possible - intermediate zoom - max zoom.
Is there a solution for this?

Thanks in advance.


Component configuration:

<MapView
              provider={PROVIDER_GOOGLE}
              style={styles.map}
              customMapStyle={ CustomMap }
              region={{
                latitude: -23.595639,
                longitude: -46.581814,
                latitudeDelta: 16,
                longitudeDelta: 16
              }}
            >
            <MapView.Heatmap points={this.state.data}
                             opacity={1}
                             gradient={{
                                 colors: ["#9f9af0", "#7ceef4", "#7ee64e", "#fced49", "#f34225", "#f34225"],
                                 values: [0.2, 0.25, 0.35, 0.40, 0.50, 1]}}
                             maxIntensity={100}
                             radius={50}
                             />     
            </MapView>

screenshot from 2018-06-29 12-33-59
screenshot from 2018-06-29 12-34-28
screenshot from 2018-06-29 12-34-51

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions