miguelcobain / ember-leaflet

:fire: :leaves: Easy and declarative mapping for ember

Home Page:https://miguelcobain.github.io/ember-leaflet/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecation - ensure-safe-component.string

m0glan opened this issue · comments

commented

Hello, we're using latest version of ember-leaflet 5.0.1 with Ember.js v3.28 LTS and we're getting the following deprecation:

DEPRECATION: You're trying to invoke the component "popup-layer" by passing its name as a string. This won't work under Embroider. [deprecation id: ensure-safe-component.string]

I am not sure that it is coming from this addon, I just did a search for popup-layer and tooltip-layer and this is the addon they come up in.

I also see this deprecation warning on Ember 4.6.

Same problem

same for me - the components could not be integrated

example message:

DEPRECATION: You're trying to invoke the component "tooltip-layer" by passing its name as a string. This won't work under Embroider. [deprecation id: ensure-safe-component.string] This will be removed in Ember embroider. See https://github.com/embroider-build/embroider/blob/main/REPLACING-COMPONENT-HELPER.md#when-youre-passing-a-component-to-someone-else for more details.

the map won't be shown

This was fixed in ember-leaflet 5.1.x.

Please reopen if issue persists.