clhenrick / BushwickCommunityMap

Interactive map for tracking gentrification in Bushwick, Brooklyn, NY.
15 stars 5 forks source link

switch UI style for base map layer toggle #9

Closed clhenrick closed 9 years ago

clhenrick commented 9 years ago

@gianordoli or @namreta would either of you want to take a stab at this?

Right now it's working but being styled as a default UI in the bottom left corner of the window. We need to wire up the functionality to the UI element near the top right. The Leaflet methods that will be connected to this will be map.addLayer and map.removeLayer. When adding the layer make sure insertAtTheBottom is set to true.

namreta commented 9 years ago

Hi Chris,

I can take a look at it, but I can't promise much as I am not family with Leaflet.

Sincerely, Namreta

On Wed, Nov 26, 2014 at 11:42 AM, Chris Henrick notifications@github.com wrote:

@gianordoli https://github.com/gianordoli or @namreta https://github.com/namreta would either of you want to take a stab at this?

Right now it's working but being styled as a default UI in the bottom left corner of the window. We need to wire up the functionality to the UI element near the top right. The Leaflet methods that will be connected to this will be map.addLayer http://leafletjs.com/reference.html#map-addlayer and map.removeLayer http://leafletjs.com/reference.html#map-removelayer.

— Reply to this email directly or view it on GitHub https://github.com/clhenrick/BushwickCommunityMap/issues/9.

dmtta commented 9 years ago

Gabriel is family with Processing

Daniel Mastretta MFA candidate // Design and Technology Parsons the New School for Design

On 26/11/2014, at 10:53, Namreta Kumar notifications@github.com wrote:

Hi Chris,

I can take a look at it, but I can't promise much as I am not family with Leaflet.

Sincerely, Namreta

On Wed, Nov 26, 2014 at 11:42 AM, Chris Henrick notifications@github.com wrote:

@gianordoli https://github.com/gianordoli or @namreta https://github.com/namreta would either of you want to take a stab at this?

Right now it's working but being styled as a default UI in the bottom left corner of the window. We need to wire up the functionality to the UI element near the top right. The Leaflet methods that will be connected to this will be map.addLayer http://leafletjs.com/reference.html#map-addlayer and map.removeLayer http://leafletjs.com/reference.html#map-removelayer.

— Reply to this email directly or view it on GitHub https://github.com/clhenrick/BushwickCommunityMap/issues/9.

— Reply to this email directly or view it on GitHub.

clhenrick commented 9 years ago

@namreta it's basically a boolean state toggle. If satellite is toggled turn off streets, turn on satellite and vice versa. But no pressure!