Code Monkey home page Code Monkey logo

map-collection-explorer's Issues

Maps are not displaying

error
Hello, I attended an ESRI workshop on this application a few months ago so I am pretty familiar with it. To get started with a custom application I first cloned this repository to my AWS S3 web space (and after failure, my workplace server). The application opens but errors out when a users clicks on the map. I have not changed any code - just downloaded to web folder. What am I missing?

https://s3.amazonaws.com/cartocoder.com/Maps/hme_copy/index.html

February Release

  • Reordering Maps: you can only drag and reorder maps up, but cannot reorder maps down
    reorder maps

  • Internet Explorer: About icon not visible

  • Internet Explorer: Refresh icon not visible

  • Internet Explorer: 'X' is missing on the maps added to the map

  • Text change: From "Sign in to save maps to your ArcGIS Online account" to "Sign in to save a web map to your ArcGI Online account."

  • Update About text

  • Update Facebook text

  • Add Adobe Analytics script (script is in your email)

@ChrisMahlke

  • Phil: updated the mosaic data set on PRD

Undefined values returned in renderedCell

Hey guys,

First of all thank you for uploading the code for this application here, it has helped me out tremendously with my application thus far. I am creating a small scale historic map application for some local archives and have been using your code as a starting point for the application. Everything thus far has been working fine, but there is one minor problem I am facing over the last 2 day or so that I don't seem to be able to find the answer to.

Once a map is selected from the timeline (where it shows all attributes needed to be shown (name, year and citation)) it does show up in the renderedCell class in the bottom-left. Once zoomed in far enough it displays the correct thumbnail and the transparency slider. However, the name of the map and the date of the map return undefined values. What makes it even stranger is that the downloadLink works perfectly fine and instantly downloads the correct TIF files from the server. I have tried debugging the code myself, but I get stuck to a point where the renderedCell will not show up at all. Even when I load the image server into an untouched version of the code and after I set the attribute fields to the correct field names in the image server, it also spits out undefined values.

Are you guys able to help me sort out this problem?

Below I have pasted the results that I keep getting in the RenderedCell. I have also included a picture of the timeline hover over an object where it does show up with the right name and date of the map.

PS. I have altered the lay-out of the RenderedCell in the CSS file

RenderedCell

TimelineHover

Opening the MapViewer in ArcGIS Online from the TopoExplorer app

When a user saves a selected topo map to their account the Map Viewer in AGOL is first opened.

Currently, the classic Map Viewer is opened by default from the Topo Explorer app.

A better approach would be to use the authenticated user's preferences to open either the new or classic Map Viewer.

Future Enhancements to Review

  • Make the Info icon white, not gray – gray makes it look like it is inactive. As Chris pointed out, this will affect visibility if someone changes the top banner color to white, which may happen because this is a configurable app. But hopefully they will see the existing icons and then notice that it disappears when they use a white banner. This should clue them into the need to change that icon color.

  • Set a maximum zoom level.

  • Delete the pop up for the maps in the side panel and add the map scale to the right of the year.

  • Add a comma to the map scale in the timeline popup and next to the year in the side panel.

  • Is there a way to change the image on the Facebook post? The old app had the Esri Icon, the new app has a people placeholder.

New app:
fb 1

Old app:
fb 2

  • The timeline is currently pannable to 2015 – I think we can cut this off at 2010 as the latest map we have is 2006.

  • See what it looks like to remove the number 3 after you add a map to the main window and side panel. This would mimic the behavior of taking off the number 1 for the first step once you have done that once.

  • Change the name of the web map that gets created so you don’t end up with multiple maps with the same name in your Content on AGOL

  • Darken the level of transparency for the transparency slider bar

  • Remove the linked pop-up in the map title, since it's repeated in the time slider
    pop-up - copy

  • Review the Step 1-3 design, since steps disappear

@ChrisMahlke - this is for the future and ideas to discuss.

README section headers are not displaying properly.

Starting with section below, the "#" appear when viewing README, rather than as section titles:

##### Component: Save as text This parameter is the text that is displayed with the ability to save the current view (that is, state of the app) is enabled. Saving is automatically enabled when users are logged into their ArcGIS Online organization account.Parameter: SAVE_AS_TEXT; Example value: “save” Parameter: APP_TITLE
##### Component: Application title This is the text that is displayed at the top of the application window. Parameter: APP_TITLE; Example value: “USGS Historical Topographic Map Explorer”   

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.