clearbold / artx

1 stars 0 forks source link

Single location map #22

Closed heymarkreeves closed 9 years ago

heymarkreeves commented 10 years ago

Hi, Sherri!

I'm looking to document the single location map feature for By Location. Before assigning to Angela, can you document where the location ID would come from when you click on a venue link? I'm guessing it's not going to be on the querystring or anything.

Thanks!

Mark

SherriAlexander commented 10 years ago

I'm thinking that since we're going to write out all the information about the venue from the remote JSON data source on the Venue page, it should be easy to set things up so that we have a data attribute on the location link that we can grab on click and pass to the JS as a variable. We could use data-venue-id to stay consistent with some other data attributes I've been setting up?

We will also have to set up some sort of way to split things out and tell the script whether it's just loading the generic Boston map on init, or loading a specific location. Haven't worked the details out yet, but I have a placeholder if/then statement already in there with comments, waiting to be filled in with real code. :)

Hope this helps!

SherriAlexander commented 9 years ago

Single location map now implemented; closing this out :)