You need to sign in to do that
Don't have an account?
Thi huynh
TypeError cannot use the given object as a weak map key
Hello,
I am coding a component that create a map with the leaflet API (http://leafletjs.com/examples/quick-start/).
The code is based on this example (https://developer.salesforce.com/blogs/developer-relations/2015/04/creating-salesforce-lightning-map-component.html).
Sightly modified to checked first if coordinates are given and if not uses the current User coordinates.
Everything is working fine on Chrome browser and old Firefox version (up to 48.0 included). For the version 49.0 to 55.0 of Firefox, it is not working.
It returns the following error :
TypeError cannot use the given object as a weak map key.
Did someone already got the same error ? Does someone know how to solve this?
Thanks.
I am coding a component that create a map with the leaflet API (http://leafletjs.com/examples/quick-start/).
The code is based on this example (https://developer.salesforce.com/blogs/developer-relations/2015/04/creating-salesforce-lightning-map-component.html).
Sightly modified to checked first if coordinates are given and if not uses the current User coordinates.
Everything is working fine on Chrome browser and old Firefox version (up to 48.0 included). For the version 49.0 to 55.0 of Firefox, it is not working.
It returns the following error :
TypeError cannot use the given object as a weak map key.
Did someone already got the same error ? Does someone know how to solve this?
Thanks.
A case is open with Salesforce and they answered that the issue is coming from Mozilla and a ticket has been open over a month ago already...
Now we wait.
Please share case link or ID to follow.