You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a VectorSource directly to a VectorLayer / HeatmapLayer
Why
I would like to use one VectorSource for multiple HeatmapLayer Instances. Unfortunately I can't set a VectorSource as a "source" directly. Looking at the code I can see, that a VectorSource is being created during the Layer Initialization. Could you be so kind and add the source Variable to the VectorLayer as a direct Input?
I'm thinking about something like this:
const sharedVectorSource = new VectorSource({
...
});
return <>
<RMap >
{/* First layer using the shared source */}
<RLayerHeatmap source={sharedVectorSource} weight={weightFunction1} />
{/* Second layer using the same source but with a different weight function */}
<RLayerHeatmap source={sharedVectorSource} weight={weightFunction2} />
</RMap>
);
};
<>
The text was updated successfully, but these errors were encountered:
This is not a common case and it is very down the priority list - especially since releasing new versions now is much more difficult given that I am living on the street because the geospatial data industry has agreed to back an extortion about corruption in the French and EU judicial systems that can be traced back to what appears to be the serious size problem of one person.
Since you insist on showing that you are part of this extortion - by simultaneously posting in several projects - and you have the nerve to even make a request - I have to remind you of the current situation.
Feature
Add a VectorSource directly to a VectorLayer / HeatmapLayer
Why
I would like to use one VectorSource for multiple HeatmapLayer Instances. Unfortunately I can't set a VectorSource as a "source" directly. Looking at the code I can see, that a VectorSource is being created during the Layer Initialization. Could you be so kind and add the source Variable to the VectorLayer as a direct Input?
I'm thinking about something like this:
The text was updated successfully, but these errors were encountered: