By Andy on Sunday, 06 September 2015
Replies 9
Likes 0
Views 864
Votes 0
This might be something I need to put on Voices... but first, is there any known clever way of getting a route map associated to an EasySocial event? I'm currently posting a map and then 'pinning' it so it sticks at the top... but keen to hear how others are tackling this.

I'm not an expert on the file formats but think there's a Google Maps file protocol or something for route maps (.KML I think it is)... so thinking maybe an EasySocial location field allowing static entry OR a KML (or whatever it is) upload?

It would be great if the inbuilt map feature allowed routes... obviously some events don't have routes, but mine which are run routes, cycling routes, sea swim routes... all have routes rather than just a single static location.
Thanks for the voices, Andy.
·
Saturday, 17 October 2015 00:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Andy,

Unfortunately right now there is no quick work around for this and I am afraid you probably need to create a separate app to handle this
·
Sunday, 06 September 2015 22:51
·
0 Likes
·
0 Votes
·
0 Comments
·
OK thanks Mark... just checking I wasn't missing any little bit of hidden magic that could do this. So for now perhaps I can use a URL custom field for 'MAP' and just push people out that way.
·
Sunday, 06 September 2015 23:07
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem Andy
·
Monday, 07 September 2015 00:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Just coming back on this after I've thought about it a bit more...

EasySocial Events currently has the lovely ADDRESS custom field... this is PERFECT for single point locations... but if it could be expanded to have one option to paste Google MyMaps code, then it'll be easy to drop in code from Google for route maps?

When you use Google MyMaps to draw a route, you get a EMBED IN MY SITE link such as
<iframe src="https://www.google.com/maps/d/embed?mid=z0bZCm1ezkko.kr3U1OXZNqx0" width="640" height="480"></iframe>
(this one doesn't have a route map, but it's just to show you the code.

If this could be pasted in to the EasySocial address custom field as an alternative way of putting in a map, or maybe for safety just the URL and then EasySocial adds the iframe bit around it. (If iframes are a concern).. then hey presto, BOOM, all of a sudden, event maps are totally powered up to enable full route maps / multiple markers etc etc.

What do you think?
·
Thursday, 15 October 2015 22:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Andy,

Thanks for sharing this with us. Yeah i think this is a great feature to have. Maybe you can submit this feature request into our EasySocial voice page stackideas.com/voices/easysocial and we will come back to this when we are compiling the feature set to include in future release of EasySocial

Thanks again and have a nice day!
Sam
·
Friday, 16 October 2015 12:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Andy, this is a fabulous idea! Please put up a voice page and link to it here. As an adventure enthusiast this would be a great site addition considering that I'm into hiking, mountain climbing, and other activities. I gave this a bit of thought on what would be the smartest way to implement this. Based on Andy's proposal I coded up (HTML via Firebug) what I believe is the best way to display the map/input:



In the "Set a location" field below the map it currently accepts addresses and allows them to be modified as a standard text field. Basically we need the field to accept two kinds of text. Addresses that exist from the calling API (usually Google Maps which is currently present in events) and URLs. URLs would automatically be inserted into an iframe to display the custom map that the user provides. The system would be able to decipher the difference between addresses and URLs based on the http: or https: prefix as well as the fact that the listing would not exist in the places API. If there were security concerns about iframes, we could have a whitelist option so that only secure map displayers would work.
·
Friday, 16 October 2015 13:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing this Josh
·
Friday, 16 October 2015 13:39
·
0 Likes
·
0 Votes
·
0 Comments
·
OK thanks all. It's up on Voices http://stackideas.com/voices/easysocial/item/925
·
Friday, 16 October 2015 21:12
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post