Skip to content
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

Do you think it will be possible to just erase the Rectangle #59

Closed
GilbertLasnier opened this issue Apr 22, 2016 · 6 comments
Closed

Comments

@GilbertLasnier
Copy link

Hello Tim
I like your tools so much
You put on your Clear button in the attribute table
Clear All Features,
clear selected feature,
clear grid,
clear all,
are you able to add clear selected tool example here: we just clear the Rectangle
or explain to me how to change the select tool with color transparent that will continue to work where I can change that

timshape

@tmcgee
Copy link
Owner

tmcgee commented Apr 22, 2016

@GilbertLasnier Clearing the selection shape isn't currently supported but a good addition.

@tmcgee
Copy link
Owner

tmcgee commented Apr 22, 2016

@GilbertLasnier I think you can prevent the source shape from showing with a setting in the configuration. I'll check on that when at my office.

@tmcgee
Copy link
Owner

tmcgee commented Apr 22, 2016

You can prevent the source shape from showing by using this in the configuration for your specific search:

featureOptions: {
    source: false
}

This is documented in the AttributesTable widget.

@GilbertLasnier
Copy link
Author

I don't find where to change i try many place
i just find in FeaturesMixin defaultFeatureOptions: {

        // show the features that were the results of the search
        features: true, i put false nothing is selected and the box is still there

and in the read me
i try search: {
include: true,
id: 'search',
type: 'titlePane',
path: 'widgets/Search',
canFloat: true,
title: 'Search by Field or Shape in ICAO FIR',
open: false,
position: 0,
options: 'config/searchWidget2'
featureOptions: {
source: false
}
Nothing ???

@tmcgee
Copy link
Owner

tmcgee commented Apr 25, 2016

@GilbertLasnier this addition needs to be in the configuration for each specific search. Base on your writing in the last message, those searches are in searchWidget2.js.

@GilbertLasnier
Copy link
Author

Thanks strange normally your suggestion are always good now I am so poche, I am not able to put one line of code at the good place...
I don't succeed i put everywhere in searchWidget2.js nothing work

forget it...Thanks quand meme!

@tmcgee tmcgee closed this as completed Jul 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants