Contribute to the official 28th Annual Conference Map held in Duluth, Minnesota this October!
The map includes:
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
).
When adding a new city, the following are required within the data folder:
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:
<script src="https://github.com/geospatialem/conference-map/raw/master/assets/js/app.js" id="conference-city" city="bemidji"></script>
<script src="https://github.com/geospatialem/conference-map/raw/master/assets/js/app.js" id="conference-city" city="duluth"></script>
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
}
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>
Pull requests of any kind are welcome, including enhanced functionality and new places! No request is too small!