Comments (4)
Alas, this is a very error-prone optimization and the difference is barely noticeable - it comes mostly because Chrome emits a warning. I prefer to not do this especially since it will be valid only when the interaction is empty - once you add any processing to this interaction, the performance is the same as raw Openlayers.
from rlayers.
@PaliMartin Which version of Openlayers are you using? 7.3.0 has a number of improvements - including suppression of the Chrome warning - and it is marginally faster.
from rlayers.
If you don't use pointer move events in your application, you can somewhere in the initialisation before the map is created (it is fine in the global context):
RFeature.pointerEvents = ['click'];
This will increase performance if you have a layer with lots of features.
from rlayers.
Addressed in #165
from rlayers.
Related Issues (20)
- Is it possible to dinamically add/remove layer from RMAP? HOT 7
- Question on how to manage events on layers components HOT 2
- Adding a print control
- is it possible to do layer pixel manipulation? HOT 1
- Using non-default projection with OSM and Next.js HOT 3
- RLayerWMTS fetches the wmts file twice HOT 4
- Popup fΓΆr vector tile layers HOT 1
- RStadiaLayer is not being exported HOT 2
- Is it possible to load tiles using the setTileLoadFunction ? HOT 2
- Unable to use `RPopup` with `RLayerCluster` HOT 10
- Snap doesn't work when use Rmodify HOT 4
- Can't set default rotation in the RView HOT 1
- map is undefined HOT 2
- Improvements for RLayerTileWMSProps HOT 1
- onDrawStart and onDrawEnd not working for RModify interaction HOT 4
- Calling an event only once HOT 3
- Setting tabindex HOT 2
- improve tile layer props HOT 1
- Google Maps Integration HOT 1
- RLayerTileWMS refresh unexpectly HOT 9
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 rlayers.