TRAILGUIDE
DIGITALIZING TOURISM

Advanced

Options are specified as https://trailguide.net?opt1=val1&opt2=val3 and so on. Please note the first option is specified by ? and the rest are specified by &



Map options


map
https://trailguide.net?map=norgeskart
  • This is the map base used for the tiles. Valid options are trailguide, norgeskart, google, or photo.

cluster
https://trailguide.net?cluster=9
  • Normally the trail heads starts clustering into "bubbles" on the map at zoom level 12 when you zoom out. You can control this by specifying another number.

doubleClickZoom
https://trailguide.net?doubleClickZoom=false
  • Turn of double-click zooming of the map

scrollWheelZoom
https://trailguide.net?scrollWheelZoom=false
  • Turn of zooming by using the mouse scroll-wheel. This can be very useful if using it as a plugin on a web page.

zoomControl
https://trailguide.net?zoomControl=false
  • Turn off the +- scroll control box in the bottom right corner

dragging
https://trailguide.net?dragging=false
  • Turn off dragging of the map

gray
https://trailguide.net?gray=true
  • Set the map to grayscale

split
https://trailguide.net?split=false
  • Disable the split map option

splitOn
https://trailguide.net?splitOn=true
  • Show the split map

mapSelector
https://trailguide.net?mapSelector=false
  • Disable the map selector

pos
https://trailguide.net?pos=10,60.7,8.9
  • Place the map in the specified zoom level and position by giving it a zoom, latitude, and longitude. The first number is the zoom level, the second is the latitude, the last is the longitude.

trackWidth
https://trailguide.net?trackWidth=2
  • Specify the relative width of the tracks. The default width is 1, and 2 is double the size of 1, and so on.

heads
https://trailguide.net?heads=false
  • Hide the trail heads

tracks
https://trailguide.net?tracks=false
  • Hide the tracks

trackZoomLevel
https://trailguide.net?trackZoomLevel=9
  • Specify at what zoom level the tracks will appear on the map. The default zoom-level is 11.

overlays
https://trailguide.net?overlays=mtbtracks|strava
  • Show map overlays.


Application options


searchOn
https://trailguide.net?searchOn=false
  • Hide the search box.

add
https://trailguide.net?add=false
  • Hide the 'Add-trail' button.

top
https://trailguide.net?top=false
  • Hide the add and menu button.

hideList
https://trailguide.net?hideList=true
  • Hide the list. The list can still be opened and closed by the user.

listOn
https://trailguide.net?listOn=false
  • Disable the list.

position
https://trailguide.net?position=false
  • Hide the location button.

lang
https://trailguide.net?lang=de
  • Set the language to be used for the application by specifying the ISO language code.