cgxp icon indicating copy to clipboard operation
cgxp copied to clipboard

Zoom into profile

Open kalbermattenm opened this issue 12 years ago • 2 comments

Is it possible to suppress this option in the profile plugin:

https://github.com/camptocamp/cgxp/blob/master/core/src/script/CGXP/plugins/Profile.js#L470

The default values of the interactionModel property enable to zoom in the profile (and this would be a plus for SITN). Thus if we suppress this line, we automatically enable the dygraph zoom option...

kalbermattenm avatar Nov 28 '12 13:11 kalbermattenm

I can't really remember why I put this value here but I'm pretty sure that this was intentional. I would be really careful. Moreover, I see UI issues. For example, the user won't see what the zoomed profile corresponds to on the map. However, if you have the chance to conduct (neutral) user tests on this topic, it would be nice.

On Wed, Nov 28, 2012 at 2:52 PM, Michael Kalbermatten < [email protected]> wrote:

Is it possible to suppress this option in the profile plugin:

https://github.com/camptocamp/cgxp/blob/master/core/src/script/CGXP/plugins/Profile.js#L470

The default values of the interactionModel property enable to zoom in the profile (and this would be a plus for SITN). Thus if we suppress this line, we automatically enable the dygraph zoom option...

— Reply to this email directly or view it on GitHubhttps://github.com/camptocamp/cgxp/issues/296.

Pierre GIRAUD Géomaticien, Analyste

Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 93 Mail : [email protected] http://www.camptocamp.com

pgiraud avatar Nov 28 '12 14:11 pgiraud

I'm sure that you did add that on purpose. That's why I didn't submit any commit...

Moreover, I think Marc Riedo sent an email yesterday about the profile plugin...

We though about some modifications that could be applied on it. These are not compatible with what I am proposing here.

Thus, if you don't mind, I would like to keep that issue open as a reminder.

But as soon as we know what we will exactly do, I'll close that.

kalbermattenm avatar Nov 29 '12 09:11 kalbermattenm