Open ingenieroariel opened 8 years ago
Hello @ingenieroariel,
I've created a prototype of the basic form to be lately embedded into the WorldMap client. Could you give me a feedback, if this structure is ok for you?
You can see the fiddle here: http://jsfiddle.net/hsuc4u3n/
Note: It's only the first UI draft, request cannot be submitted to the server yet.
Could you also show me exactly, where this "Add BOP Heatmap" form should be started from? You wrote, it must be called from the 'Add Layer' workflow on WorldMap. Should it be an additional button somewhere in this form? Do you have any preferences, how it should look like and where it should be placed? A little sketch would be great..
Should the retrieved heatmap layer be immediately added to the map on API successful response?
The workflow: start the WorldMap application -> go to "Add Layer" dialog -> click on "Add BOP Heatmap" button somewhere there in this dialog -> configure the form -> submit the form -> close all open dialogs (e.g. "Add Layer" and "Add BOP Heatmap" and show the map with the added heatmap
Is it correct?
It should be added to the map after the user hits add - there is a mini map on the search - and there is a bigger search.
The main thing that is not mentioned here is saving the heatmap and being able to reopen it. Essentially creating a GeoExt object that can be serialized and asks information to the backend.
To make things clearer I can join the Slack channel tomorrow during the German morning and have a quick hangout.
The corresponding PR is open: https://github.com/cga-harvard/cga-worldmap/pull/120
Tags: GeoExt, OL2, Very high priority.