muni-international-students's People
muni-international-students's Issues
Map wrap
Choose suitable coordinate system and apply map wrap, so one can endlessly pan to the side...
Layers disappear on a touchscreen device
Even when using a non-zero zoomSnap
for L.map
, the zoom level is not always snapped on a touchscreen device. With the following setup:
zoomSnap: 0.1
,layerA.min_zoom = -12
,layerB.max_zoom = -12.1
,
If the user zooms using the pinch gesture to e.g. -12.07
, all layers disappear (since the zoom is between the thresholds), and no zoom snap occurs. The user can still zoom out or in, and the layers reappear.
Two possible fixes come to mind:
- set the zoom thresholds for consecutive layers to very similar values, e.g.:
layerA.min_zoom = -12
,layerB.max_zoom = -12.0000000001
,
- change the comparison in the
leaflet-zoom-show-hide
plugin, so that layers A and B (layerA.min_zoom === layerB.max_zoom
) don't overlap, roughly:
if (current_zoom_level >= layer.min_zoom && current_zoom_level < layer.max_zoom) {
layer.addTo(this._layerGroup);
}
This would be preferably implemented using an initialization option in the plugin.
Resolve Tanzania - Zanzibar problem
Incorrect country name in 50m dataset.
Trigger higher zoom layer download when necessary
Delay downloading of the higher zoom data until necessary. The more detailed layer is shown at zoom 6 and higher currently. Try triggering the download at zoom 7 or higher. Also, don't restrict the zoom level of the more generalized layer until the detailed data is ready.
Load student data to the map from a CSV
Avoid reading student numbers from geojson (topojson). Read directly from .csv instead.
Resolve geom errors in topojson
Egypt - states10m - SouthEast
Antarctica
Switch layers to a TopoJSON source
Convert the geometries to a TopoJSON with quantization and simplify the geometries to reduce file size.
Add an option to display PhD students / all students
This might be the easiest to do by adding a new layer group for PhD students and a layer picker.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.