-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow drawing on map to create paths and polygons #389
Comments
Hi Shan He, Regards, |
Hi, |
We will be working on this for the coming couple of weeks, still no eta yet.
What’s your specific use case?
…On Wed, Jun 12, 2019 at 11:06 PM MosheMalin ***@***.***> wrote:
Hi,
Is there maybe an update about this item? It's a really must..
If it's not close, how would you recommend to add something that draws
polygons in the meanwhile?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#389?email_source=notifications&email_token=AA3QINBZX5C2N7MWBOZNK5DP2HPXJA5CNFSM4G2XJBM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXSTUCQ#issuecomment-501561866>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA3QINBXOEIM6UHADRRZPPLP2HPXJANCNFSM4G2XJBMQ>
.
|
Thanks. Moshe |
Using https://github.com/uber/nebula.gl/pull/230/files#diff-3e8198e4d5858958a34a355103584bd1 to implement the new feature: |
@macrigiuseppe please talk to @xintongxia about using |
@heshan0131 I already started implementing react-map-gl-draw in kepler. I will reach out to @thelinuxfoundation for questions. |
Hi |
We are currently working on this. We don't have a precise estimate for this feature to go out |
update: June 28
|
Hi
We found a workaround for using polygon in kepler.gl by integration map.gl
component and kepler.gl component with the same mapbox reference.
In KeplerGL "getMapboxRef={(mapbox, index) => this._getMapboxRef(mapbox,
index)}" gave us the reference to mapbox.
In MapGL "<MapGL {...this.state.mapbox.props}" gave us the desired
connection between the two components.
And using z-index we succeeded to show the Editor and Toolbar on front of
KeplerGL map and MapGl map was moved to invisible background.
…On Fri, Jun 28, 2019 at 9:08 PM Brian Tsang ***@***.***> wrote:
update: June 28
- done with the integration
- pending improvements in the UX in selecting and editing polygon
based on limitations in react-map-gl draw
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#389?email_source=notifications&email_token=ADILFQHP6G4QYJTKW27NQ2LP4ZHQJA5CNFSM4G2XJBM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY2ZITY#issuecomment-506827855>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADILFQC47UR523IMZUL5IDTP4ZHQJANCNFSM4G2XJBMQ>
.
|
This feature is still a work in progress. We will provide updates. |
Hi Shan He; |
@amaton this feature was implemented in #595 and it's already available on our demo site: https://kepler.gl/ |
Can you use the kepler.gl api to programmatically draw a polygon? I don't see drawing-related actions/reducers in the docs? |
Hi! Please add the functionality to create circular polygons like in nebula.gl. This would be very useful for geophysical applications, and I think many more! It is also not very clear whether the created polygon is being recorded somewhere? I know that it is possible to copy the polygon data to the clipboard. But I would like to have some kind of automatic solution that saves marks I mean circles created from the center with a stretchable radius, or ellipses from three points. In general, many other functions would also be useful, such as measuring angles or area, these tools are wonderful! |
Hi, @macrigiuseppe Also, I was trying to work around by modifying "kepler.gl/dist/contstants/default-setting.js" and MapDrawPanelFactory to accept "DRAW_PATH mode" of react-map-gl-draw. |
How I can use Nebula GL with Kepler GL? |
@indranildeveloper If you have a question please open a discussion in the Discussions taB. No one is going to pay attention to old closed issues. |
Use nebula.gl to allow a user to freely draw on the map and create polygons and paths. New geometries will be added to a geometry filter.
Add UI to guide drawing process (Need UI/UX design). Confirm closing polygon, and edit polygon waypoints.
In the drawing UI, allow a user to select layers to be filtered by the new geometry
The text was updated successfully, but these errors were encountered: