Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

add ability to keep tracks #45

Open
ripienaar opened this issue Feb 11, 2015 · 1 comment
Open

add ability to keep tracks #45

ripienaar opened this issue Feb 11, 2015 · 1 comment
Milestone

Comments

@ripienaar
Copy link
Owner

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

@ripienaar
Copy link
Owner Author

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

@ripienaar ripienaar modified the milestone: 1.5.0 Feb 20, 2015
ripienaar added a commit that referenced this issue Feb 20, 2015
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
@ripienaar ripienaar modified the milestones: 1.6.0, 1.5.0 Feb 20, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant