Comments (3)
@Camil88 leaflet
and mapbox
are two different libraries, so you cannot use the leaflet plugins in mapbox. Here you can see some available mapbox plugins, but they need to be bind to R aswell. That is what the leaflet.extras
package does for some leaflet plugins. The drawControl
is already included in mapboxer
, so you can use add_draw_control
to draw polygons onto the map. Unfortunately I did implement sending data back to R (Shiny), so that you can use it in your app to check whether some points are within the polygon. But that is not a big issue. Furthermore, I already added some plugins that are only available in mapboxer
like add_filter_control
, see also here.
from mapboxer.
from mapboxer.
Ok, thank you for your explanation.
from mapboxer.
Related Issues (20)
- Add image or icon to the map? HOT 1
- Please use preferred tille.openstreetmap.org URLs
- Discussion: support for Mapbox GL JS v2 HOT 3
- mapboxer_proxy doesn't work with modules HOT 2
- Control over layers/groups HOT 4
- Send data back to R in add_draw_control
- Multiple add_*_layer of same type (*) possible? HOT 4
- Filter on multiple HOT 3
- geolocate HOT 1
- Documentation for set_style() HOT 1
- render mapboxer on shiny HOT 3
- Add legend control to main branch? HOT 2
- Update feature layer by set_data on source
- expose mouseover/mousemove events HOT 1
- use custom basemap url
- How to add a geocoder? HOT 2
- How I can fly to bounds? HOT 1
- Typo in satellite streets basemap name HOT 1
- How to fill color for vector tiles based on a property HOT 1
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 mapboxer.