-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
'feedback' missing several fields #293
Comments
It appears that in order to get the lat,lon the 'name' (the first argument of the 'feedback' function) must be 'map'. If this is not a bug it should be explained in the documentation for the 'feedback' function. Line 688 in 7d1782c
Line 706 in 7d1782c
|
Feedback Options and Documentation Clarification The feedback mechanism offers multiple options. The documentation states (under the "Event from the Map" section):
This is the default behavior ( If you are using the feedback as a utility function and wish to report the right mouse click latitude and longitude position, you can use the The payload in your issue suggests that you are not using the simple "event from map" option, but rather using feedback as a utility function. In this case, you could build your payload like this:
You could inject the spot device reported position the same way you inject the bearing and distance into the utility function. Refer to the "Moving Icon Demo & Builder" example, where I've added a map context menu using the mouse right-click latitude and longitude to create a new object. The object context menu uses object's position data as default, double-clicking to pull mouse position, but you could also input other position data manually. |
In v5.0.3
When using 'feedback' as described in
https://flows.nodered.org/node/node-red-contrib-web-worldmap "Events From the Map".
The documentation states that I should expect to get something like:
The value I am returning is a json object.
The 'lat', 'lon', and 'layer' are all missing.
Is this is the same problem reported in #278 creeping back in?
RedMap/worldmap/worldmap.js
Lines 924 to 941 in 7d1782c
The text was updated successfully, but these errors were encountered: