Updated 3 years ago

Ryan Eppers (@gitnix) started discussion #4

3 years ago · 0 comments


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.

05 creating widgets (Edit this file)

include css

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" />

No comments on this discussion.

to join this conversation on GitBook. Already have an account? Sign in to comment

You’re not receiving notifications from this thread.

1 participant