Updated 3 years ago
We can use the wrapped "map" module we created from a view just like we would a normal component, except we first need to instantiate it. Our module returns a function which returns the map element. That means another set of ()s, which we'll call mapInstance for readability purposes.
to render correctly the leaflet css is needed in the returned html, for example <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
You’re not receiving notifications from this thread.
No comments on this discussion.