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

Tilemap field formatter #3807

Closed
wants to merge 6 commits into from

Conversation

jthomassie
Copy link

Closes #3783
Added field formatter and tooltip formatter to tilemaps:
• added tooltipFormatter to geoJson agg response
• added formatted metric value and fieldFormatter to geoJson agg response

  • updated bindPopup method to use formatters
    • added tooltipFormatter and styles

Need to remove from #3589 tilemap-heatmap

var $tooltip = $(require('text!components/agg_response/geo_json/_tooltip.html'));
$compile($tooltip)($tooltipScope);

return function tooltipFormatter(feature) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Vislib Vislib chart implementation review v4.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tile map legends do not use field formatters
3 participants