washingtonstateuniversity / WSU-mapping

This provides maping for all campus locations
GNU General Public License v3.0
1 stars 0 forks source link

add blank embed #25

Open quantumJLBass opened 8 years ago

quantumJLBass commented 8 years ago

I have repeatedly had requests to use a blank embedded maps that are altered after DOM load by something else. What is needed is the themes and the code base, and nothing more at the start. Currently there is an entry with alias blank which is in the listing and is used for apps that needed that blank map. The issue is that it could be removed on mistake. The simplest solutions is to watch for that blank alias and just create the embed on the fly. This way we are not risking the blank getting deleted. alteration would start here, https://github.com/washingtonstateuniversity/WSU-mapping/blob/master/CampusMap2010/Controllers/publicController.cs#L203 and use a shell of the method invoked with in the if statement.