Skip to content
This repository was archived by the owner on Jun 10, 2023. It is now read-only.
This repository was archived by the owner on Jun 10, 2023. It is now read-only.

Popup on hover #35

@mm-ns

Description

@mm-ns

Hi @Naimikan

Do you have a way in your directive to show up a popup when you hover over a marker ? (i use glLayers and glSources like so :

{
                id: 'medium-circle',
                source: 'medium-circle',
                type: 'circle',
                paint: {
                    'circle-radius': 7,
                    'circle-color': '#FFFFFF',
                    'circle-opacity': 1,
                    'circle-stroke-width': 3,
                    'circle-stroke-color': '#E2E70D'
                },
                popup: {
                    enabled: true,
                    onClick: {
                        message: '<div class="metar-popup"><p>HELLO</p></div>'
                    }
                }
            }

Works on click but i need to understand how to do it on hover with your directive.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions