Updated 3 years ago

Ryan Eppers (@gitnix) started discussion #5

3 years ago · 0 comments


This renders the map, but that doesn't show us much because we're not changing the state. Below is a more complicated example that allows you to pan the map to another city, as well as update a separate part of the state without affecting (or re-initializing) the map.

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