yoshuawuyts
choo

Updated 2 years ago

Ryan Eppers (@gitnix) started discussion #5

2 years ago · 0 comments

Open

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
Notifications

You’re not receiving notifications from this thread.


1 participant