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

Can disable point or polygon markers by falsy value #61

Merged
merged 1 commit into from
Nov 2, 2015
Merged

Can disable point or polygon markers by falsy value #61

merged 1 commit into from
Nov 2, 2015

Conversation

bdon
Copy link
Contributor

@bdon bdon commented Oct 10, 2015

(to discuss)

fix setting "pointIcon" or "polygonIcon" to a falsy value disabling that type of marker

I think these icons should also only show up if "markers" are enabled - double check?

@louh
Copy link
Contributor

louh commented Oct 12, 2015

I like this! But I think whether it the icons should show up should be independent of the marker - since the icons should still appear in the results list.

There is a bug right now where the icons don't show up in results even though they should.

  • Which I just fixed

@louh
Copy link
Contributor

louh commented Nov 2, 2015

@bdon, is it okay to remove the check for this.options.markers? The icons are a visual indicator in the results list (and the marker popup, if enabled), but they're not really the same thing as the markers themselves.

@bdon
Copy link
Contributor Author

bdon commented Nov 2, 2015

👌

louh added a commit that referenced this pull request Nov 2, 2015
Can disable point or polygon markers by falsy value
@louh louh merged commit 5ddc38d into pelias:master Nov 2, 2015
@iandees iandees unassigned louh Feb 2, 2018
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

Successfully merging this pull request may close these issues.

3 participants