Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

More compelling map #19

Closed
Closed

Description

@tomwayson

I think it'd be nifty if this repo's app did exactly the same thing as: https://github.com/tomwayson/esri-react-router-example/ so you could compare 🍎 to 🍏.

That's why I think it'd be cool to implement the map in this app the same way I've outlined here

Activity

  1. TheKeithStewart commented on Dec 22, 2016

    @TheKeithStewart
    Collaborator

    @tomwayson I am considering taking this one on. I am thinking about mapping the location of arenas and stadiums for the major sports in the US. There could be different feature layers for each of the sports with a widget to choose which layers are being displayed. Also there would be popup for each graphic displaying information about the stadium.

    What do you think?

  2. TheKeithStewart commented on Dec 23, 2016

    @TheKeithStewart
    Collaborator

    @tomwayson I somehow managed to write my previous comment without reading your comment above it. I'll plan on doing something along the lines of what was done on the esri-react-router-example.

  3. tomwayson commented on Dec 23, 2016

    @tomwayson
    OwnerAuthor

    @kgs916

    It'd be great if you wanted to take this on!

    My preference would be to do a 🍎 to 🍏 comparison of what I end up doing in esri-react-router-example. I have a few local commits that I haven't pushed yet with it working on Living Atlas maps. I'll get those up tonight, so you can see the latest, but I'm still figuring out what I want to do there.

    That said, if you have good sports stadium data (services) and an idea of how you want to do add components like a layer list, etc, I'd be game for that too. The most important thing to me is I want to demonstrate the lazy loading. So, one idea would be, like the esri-react-router example, maybe the home route could explain the purpose of the example app and have a search form that transitions to a new /stadiums?q=Los+Angeles route that searches the stadiums based on name, location, or team, etc passed via query string and then lists each w/ a link that takes you to the stadium details route (i.e. /stadiums/42). That route would finally load and show a map and maybe other details about that stadium (w/ id 42).

    Since you're volunteering your time, I'll leave it up to you which way you want to go as long as what ever it is makes meaningful use of the lazy loading capability that I'm trying to demonstrate with this example.

  4. tomwayson commented on Dec 23, 2016

    @tomwayson
    OwnerAuthor

    FYI - I've pushed some commits to esri-react-router that have it searching the living atlas (for now): https://tomwayson.github.io/esri-react-router-example/

  5. TheKeithStewart commented on Dec 28, 2016

    @TheKeithStewart
    Collaborator

    @tomwayson, I'm having an issue with popups within maps in the example. I'm loading a WebMap but none of the popups in the map will display. Instead there are just loading images that show up on the left side of the map. The content of the popup does get into the DOM but cannot be seed on the page.

    I'm having a similar issue when I add my own graphics to a feature layer and include a popuptemplate. This really has me stumped at the moment.

    I've created a branch and pushed an update to the GitHub Pages for my fork. The branch is https://github.com/kgs916/esri-angular-cli-example/tree/compellingMap and you can see the running map at https://kgs916.github.io/esri-angular-cli-example/map. If you have an opportunity would you mind taking a look and letting me know if anything jumps out at you that could be causing this?

  6. TheKeithStewart commented on Jan 5, 2017

    @TheKeithStewart
    Collaborator

    @tomwayson I'm still struggling with the popups on maps. When you have a chance if you could take a look at this and let me know if you have any ideas I'd appreciate it.

  7. tomwayson commented on Jan 13, 2017

    @tomwayson
    OwnerAuthor

    Hey @kgs916 I still haven't had a chance to look at this, I've been slammed catching up since I was on vacation. I will get to it, but not looking like until later next week at this point. Thank you for your patience.

    I suspect that this has to do w/ the interplay btw material and esri styles (w/o having looked at your code at all). I'm pinging @jwasilgeo b/c he's dealt w/ material and Esri and maybe he has a chance to look at your code.

  8. TheKeithStewart commented on Jan 13, 2017

    @TheKeithStewart
    Collaborator

    Thanks for the update, @tomwayson! I know how it is coming back from vacation.

    @jwasilgeo, if you are able to take a look I'd appreciate it as well. In the mean time I will take a look at any conflicts there might be between ESRI and Angular Material CSS.

  9. jwasilgeo commented on Jan 17, 2017

    @jwasilgeo
    Collaborator

    @kgs916 can you change the Esri js and css to use the latest JSAPI v4.2? I see a combo of v4.1 (js) and v4.0 (css). If you poke around in the DOM, the popup-related elements are there, but the positioning is all funky and hidden behind the view (look for a div with class="esri-popup esri-widget"). If you can update the versions, and push to gh-pages again, please let me know and I can continue to help debug.

  10. TheKeithStewart commented on Jan 18, 2017

    @TheKeithStewart
    Collaborator

    Good catch, @jwasilgeo! That was the issue. After loading v4.2 of the js and css the popups worked just fine. Thanks for the help!

  11. jwasilgeo commented on Feb 1, 2017

    @jwasilgeo
    Collaborator

    @kgs916 I'm glad to hear that solved the popups issue. Anything else I can do to help you out with this effort?

  12. TheKeithStewart commented on Feb 1, 2017

    @TheKeithStewart
    Collaborator

    Thanks for the offer, @jwasilgeo. I've slowed down a bit on this because I've got some release deadlines on other projects that I've got to hit right now.

    I'm probably going to be picking up the pace on this task after this weekend. Im thinking to make some incremental, small pull requess just to get this moving. I'll reach out if I run into any snags.

  13. tomwayson commented on Apr 7, 2017

    @tomwayson
    OwnerAuthor

    bumped priority down after #28

  14. TheKeithStewart commented on Apr 10, 2017

    @TheKeithStewart
    Collaborator

    Thanks, @tomwayson! I keep on trying to get back on this but the last couple months have seemed to be non stop at work.

  15. tomwayson commented on Apr 10, 2017

    @tomwayson
    OwnerAuthor

    no worries, that's why I bumped down the priority

  16. tomwayson commented on May 29, 2017

    @tomwayson
    OwnerAuthor

    I'm considering this done as of #28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions