Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a data set of points. Each point has latitude, longitude, date and description sent from the server

I already have a graphic layer which is used for represening the points in a static way with some popups like this

          var graphic = new esri.Graphic(point, symbol);

          graphic.setInfoTemplate(new esri.InfoTemplate("", "Number: " + data.number));


But Now I need to add a time-aware layer (a feature layer I believe) that allows me to show the data according to datetime information using a time slider, like here oil Filed. The only difference, I need to use the data sent from the server as json and I need to add popups to each point

I believe I need to add a featureLayer (MODE_SNAPSHOT) with a featureCollection as params that contains the data sent from server but I coulnd't figgure out how to do this (I'm a newbie in ArcGis, several hours only).

To be exact I'm not sure how to create that feature collection with latitude/longitude for each point and the most important thing: how to connect it with corresponding time information

I.e. I have sets of

{lat: xxx, long: yyy, datetime: yyyy-mm-dd, description: sometext }

sent from the server

Now I need to figure out how to pass the data to a featureLayer so it can be shown on a map with a time slider

Any example/help will be appreciated

thanks a lot

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.