terrestris / SolrHeatmap

MIT License
1 stars 8 forks source link

BOP basic client for Worldmap #24

Open ingenieroariel opened 8 years ago

ingenieroariel commented 8 years ago

Tags: GeoExt, OL2, Very high priority.

annarieger commented 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.

annarieger commented 8 years ago

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..

annarieger commented 8 years ago

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?

ingenieroariel commented 8 years ago

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.

annarieger commented 8 years ago

The corresponding PR is open: https://github.com/cga-harvard/cga-worldmap/pull/120