Skip to content

Error when calling disableMapTips() #5

@tspratt

Description

@tspratt

fusiontips.js:211 Uncaught TypeError: Cannot read property 'fromLatLngToDivPixel' of null

Because a tip often remains visible after mousing off of the map, I am calling disableMapTips() on mouseout to clear it and then calling enableMapTips(opts) on mouseover to set it back up.

All seems to be working well, except for this js error in the dev console.

Is there a better way to do what I need? I could not figure out how to dynamically change suppressMapTips.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions