geospatialem / conference-map

2018 MN GIS/LIS Conference Map
https://geospatialem.github.io/conference-map
BSD 2-Clause "Simplified" License
6 stars 5 forks source link

MN GIS/LIS Conference Map

Contribute to the official 28th Annual Conference Map held in Duluth, Minnesota this October!

The map includes:

Frameworks/Libraries

Conference location

The conference moves around the state of Minnesota, and has previously been located in Bemidji, Duluth, Rochester, St. Cloud, and St. Paul.

To accommodate the location changes annually while maintaining content for future years, each city has its own folder within the data folder (e.g. data/duluth).

Required files

When adding a new city, the following are required within the data folder:

Changing cities

To change the view of cities within the webpage, edit the second to last script reference (app.js) in index.html by changing the city value:

Bemidji

<script src="https://github.com/geospatialem/conference-map/raw/master/assets/js/app.js" id="conference-city" city="bemidji"></script>  

Duluth

<script src="https://github.com/geospatialem/conference-map/raw/master/assets/js/app.js" id="conference-city" city="duluth"></script>  

Related city-based files

In addition to the data folder, content and functionality will be generated based on the selected city within the assets/js/app.js and assets/js/content.js files.

Content in app.js pertains to JavaScript-specific content, and content.js contains HTML-generated content (using JavaScript).

If the developer changes the city value in the index.html file, that is the city that is generating the content in the JavaScript files.

For example:

/* City-Specific JavaScript Content  */
if (conferenceCity == "bemidji") {
  //Bemidji-specific javascript content
} else if (conferenceCity == "duluth") {
  //Duluth-specific javascript content
}

Sharing the map (on the Consortium's website)

To embed the map on a page add in the following HTML content to the page:

<iframe src="https://github.com/geospatialem/conference-map/raw/master//geospatialem.github.io/conference-map" frameborder="0" width="600" height="400"></iframe>   

Future enhancements

Pull requests of any kind are welcome, including enhanced functionality and new places! No request is too small!

Tasks in progress