mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-10-04 00:33:56 -07:00
Fix territory shortcuts when census tract is selected (#1082)
* Refactor map click event architecture - combine territory map clickHandlers - centers AS on the map * Center US on the map - make the east and west coast both viewable - make clicking on the 48, show the same zoom/lat/long as initial map - centers Hawaii on map * Update link to map performance * Explicitly show links as the links return a 403 * Removes link and spells link out
This commit is contained in:
parent
beb0eea5cc
commit
356e16950f
8 changed files with 223 additions and 167 deletions
|
@ -58,8 +58,8 @@ We provide more detail on these factors below.
|
|||

|
||||
- **Popularity** : OpenLayers is second only to Leaflet in the number of Github [stars](https://github.com/openlayers/openlayers/stargazers) it has received, close to 8000
|
||||
- **Performance** :
|
||||
- The below chart comes from an September 2020 [study](https://doi.org/10.3390/ijgi9100563). The purpose of this study was to compare OpenLayers to Mapbox-GL-JS and Leaflet (both raster and vector tile variants) as the potential basis for a Life Quality Index for 55,000+ census radius jurisdictions in Argentina.
|
||||
 ([Source](https://doi.org/10.3390/ijgi9100563))
|
||||
- The below chart comes from an September 2020 study (www dot mdpi dot com/2220-9964/9/10/563). The purpose of this study was to compare OpenLayers to Mapbox-GL-JS and Leaflet (both raster and vector tile variants) as the potential basis for a Life Quality Index for 55,000+ census radius jurisdictions in Argentina.
|
||||
 (Source (www dot mdpi dot com/2220-9964/9/10/563))
|
||||
In this chart, the two letters following the library name are for basemap layer and feature layer. Further, "R" is "raster" and "V" is vector, and lower numbers indicate faster load times. "OpenLayersRR" and "OpenLayersRV", (signifying a raster base layer and vector feature layer), performed quite well across all device types compared to other libraries.
|
||||
- We also performed local testing using puppeteer and web performance APIs, tested against a choropleth map of the cenus block groups, which represents a likely usecase for us. The results were as follows:
|
||||
 ([Source](./0002-files/Maryland.csv))
|
||||
|
@ -70,7 +70,7 @@ We provide more detail on these factors below.
|
|||
- OL+MB did not file the `tiledidload` event and thus there was not a separate measure for style loaded
|
||||
- Apparent performance was different from measured/reported overall, particularly when it comes to zoom performance. This is an area to dig into further and measured at a later time to understand better.
|
||||
- **Data Usage** : The same study above also analyzed the amount of data usage for each of the libraries under investigation, and the result was the below chart (Lower values are better). OpenLayers overall performed quite well
|
||||
 ([Source](https://doi.org/10.3390/ijgi9100563))
|
||||
 (source (www dot mdpi dot com/2220-9964/9/10/563))
|
||||
|
||||
### Negative Consequences
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue