-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add map view #418
Comments
My UX/design thoughts for this: Map accessOverall access Or is there a different preference? I assume the url will be /all/map Initial map viewportAsk for user location Autocomplete geocoder to steer map Page layoutMap on the left side Some tag selection UI needs to be places... is this over the map? Up with the full text search? Right side panel Map and List interactivityFor map feature, on hover: reveal small summary popup (card) about feature, displayed on map For map feature OR list item, on click, show detailed item view in right side panel Component breakdownSo, in summary expecting to build out or use this list of components:
@tibetsprague @cpolitano I will be trying to add functionality piece by piece, in smaller chunks. Should this PRs be merged into the dev branch? Or into a feature branch? |
A few things @thomasgwatson
|
ok @thomasgwatson let's do a map feature branch so a few of us can be working on map related stuff without gunking up dev |
|
Some working notes:
If we do have quick explainers for the routing logic and the layout logic of the app, it would be handy for onboarding new developers quickly. I plan to spend some time this afternoon looking at the layout and how I might compose the main MapFeed components together |
Dope sauce @thomasgwatson, i certainly dont have a better understanding of the routes and layouts than you yet, we're ramping up together :) Would be good to start documenting what we are learning somewhere. Let's create a docs folder in the repo and start adding some files like |
Sounds like a plan! |
https://www.figma.com/file/lh2DVGMh7CRdUsxF3k6vGI/Map-Improvements?node-id=8%3A1 Linked some related commentary |
@brodeur I have more specific design needs after reading into what is required for a clustered icon layer. These layers need an icon atlas and a mapping to those icons. The icon atlas from the example icon-cluster map I have previously shared is below: The layer then needs the mapping to be able to pick out the right icon to display. A subset of the mappings for the above icon {
"marker-1": {
"x": 0,
"y": 0,
"width": 128,
"height": 128,
"anchorY": 128
},
"marker-2": {
"x": 128,
"y": 0,
"width": 128,
"height": 128,
"anchorY": 128
},
} So, for one thing: we need every possible permutation of the icons packed into the library (unless we build an icon providing endpoint). We have to use png; css and svg belong to the DOM and these mapping libraries rely on webGL accelerated canvas elements. The deck.gl maintainers suggest using something like TexturePacker to simplify the building of an Icon-atlas and mapping. Assuming that we don't need unique color combos (we don't need yellow-blue and blue-yellow) and that we alphabetically ordered the colors as identifiers we'd need a png for:
For a grand total of 41 different icons. Separately, we would also be using a synced text layer, to write out the numbers of features hidden by a cluster. Or.... we could have a more generic cluster icon and start with that. If you want to go with fewer icons, I can roll with that. If you want leave the texturePacking to me, I can roll with that. I don't have the leet skills to make the pngs those... |
I'll prepare those Icons, @thomasgwatson! I'm working on the map today.. check my progress: https://www.figma.com/file/lh2DVGMh7CRdUsxF3k6vGI/Map-Improvements?node-id=0%3A1 Looking forward to connecting <3 |
Can't the grey background bubble be CSS on the container? e.g. .pillContainer { |
im going to work on this: Hylozoic/hylo-node#479 |
Add a map view within Hylo to display all resources, requests and offers that have a location and are visible to the current user. You can view this map within a community, network or all your communities. It is a new tab listed next to the feed and projects
https://www.figma.com/file/lh2DVGMh7CRdUsxF3k6vGI/Map-Improvements?node-id=128%3A384
The text was updated successfully, but these errors were encountered: