JackDougherty / leaflet-maps-with-google-sheets-dev

code development for improving Leaflet Maps with Google Sheets
https://jackdougherty.github.io/leaflet-maps-with-google-sheets-dev/
MIT License
1 stars 10 forks source link

feature request: flip order of labels and data in polygon popup #14

Open JackDougherty opened 7 years ago

JackDougherty commented 7 years ago

@ilyankou - currently, the order of items in polygon pop-ups is hard to parse: label, data

community_solutions_neighorhood_scorecard

would you consider flipping the order to data, label?

@jordanpolitz requests this for her project, so if you don't want to change the code for everyone, perhaps show us where to change it for her version

ilyankou commented 7 years ago

In map.js lines 447–456:

screen shot 2017-03-31 at 20 54 18

What you want to do is to swap the latter two blocks (and perhaps remove the colon, bold tag, etc.)

JackDougherty commented 7 years ago

thanks @ilyankou