You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.
the trails.io app uses the mid point of the route - just the track point that's the middle - and puts there a car/bike/hiking icon. This works quite well and we should do similar reusing the existing types.
We have a :points array, so a new :tracks array would be good, something like:
:tracks:
- :title: Malaga to Gordoba:type: :car:comment: road trip from Malage to Gordoba:date: ....:href: track:tracks/malaga-gordoba-20150206.gpx:lon: -4.420941999999968:lat: 36.7176291
ie. it's just a normal point instance with an additional behaviour for the href field - which could also be used to parse urls like wiki:Foo etc
users can now have a :gallery key in a point, looks like:
:gallery: flickr,user=ripienaar,set=72157648567428473
:type: gallery
this will render a custom type of point html in the marker popup that
has a link to the normal flickr flash gallery. This is not ideal I want
it to behave that when clicked a modal style image browser just pops up
above the map and shows the images, closable with escape which puts you
right back on the map. Failing to find a good existing library though
for this
Additionally types can be hidden on the type legend by setting
:legend: false
Templates for types of point popups can now be stored in different
erb files, right now only :gallery and :track types have their own erb
template which makes this a pre-requisite for #45
Relates to #47, #45
Not sure how this will look, clearly cant load 100s of tracks and show them on the map like we do points.
So maybe something like a special kind of point that indicates a track is there that then open a page detailing the track is a good starting point
The text was updated successfully, but these errors were encountered: