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

Update tab 3 #65

Closed
3 tasks
ColinFay opened this issue Nov 26, 2021 · 1 comment
Closed
3 tasks

Update tab 3 #65

ColinFay opened this issue Nov 26, 2021 · 1 comment

Comments

@ColinFay
Copy link
Collaborator

  • Color basin on click
$("#second_ui_1-plot .leaflet-interactive").on("click", function() {
	var curr_fill = $(this).attr("fill")
	$("#second_ui_1-plot .leaflet-interactive").attr("fill", "#03F");
	$("#second_ui_1-plot .leaflet-interactive").attr("stroke", "#03F");
	if (curr_fill == "red") {
		$(this).attr("fill", "#03F");
		$(this).attr("stroke", "#03F");
	} else {
		$(this).attr("fill", "red");
		$(this).attr("stroke", "red");
	}
})
  • tests unitaire

  • colorPalette des geoms en fonction du nit: cf doc (min, max, je crois)

@statnmap
Copy link
Collaborator

statnmap commented Dec 1, 2021

@statnmap statnmap closed this as completed Dec 1, 2021
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