This is a pretty serious refactor that does a few things that improve overall performance, usability, and maintainability.
Takes advantage of Ember routing, e.g., propertypraxis.org/parcel/14928 will now be a valid url that will directly load the parcel with the cartodb_id14928 (will do the same for owner names as well, e.g., propertypraxis.org/owner/ERNEST%20KARR).
This means that browser history will work, too (i.e., a user can simply hit the back button).
We don't load all the application data at once anymore. Simply put, that was insane. We only load data as a user searches or transitions to a new route. This means more network calls, but less of an initial load time.
I got rid of the zip view. Analytics shows this was hardly ever used. This helps simplifiy things overall.
I redesigned mobile a little bit. Most importantly I simply link to the streetview on mobile now. Showing the streetview image when viewing a single parcel is pretty unusable at such a small viewport size.
I placed a DATA_MAPPINGS object in config/environment.js. This helps reduce the use of "magic strings" through the code. This is where a user could simply name the important columns in their own Carto table if they wanted to fork this project and make their own custom project.
I increase the line thickness on parcels on all zoom levels, rather than applying a thicker line-width on just smaller zoom levels. This is less startling and helps with visibility overall at all zoom levels.
This is a pretty serious refactor that does a few things that improve overall performance, usability, and maintainability.
propertypraxis.org/parcel/14928
will now be a valid url that will directly load the parcel with thecartodb_id
14928
(will do the same for owner names as well, e.g.,propertypraxis.org/owner/ERNEST%20KARR
).DATA_MAPPINGS
object inconfig/environment.js
. This helps reduce the use of "magic strings" through the code. This is where a user could simply name the important columns in their own Carto table if they wanted to fork this project and make their own custom project.