Plugin Directory

Changeset 1846582


Ignore:
Timestamp:
03/25/2018 06:07:04 PM (8 years ago)
Author:
epointal
Message:

path colors and path ends

Location:
lf-hiker/trunk
Files:
8 added
7 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • lf-hiker/trunk/Model/Map.php

    r1839607 r1846582  
    1717        'home', 'wheelchair', 'school', 'child', 'female', 'male',   'bank', 'industry');
    1818   
    19     public static $colors_path = array('red', 'blue', 'purple', 'orange', 'darkred', 'darkblue', 'darkgreen');
     19    public static $colors_path = array('red', 'blue', 'purple', 'orange', 'darkred', 'darkblue', 'darkgreen', 'black');
    2020   
    2121    public static $distance_units = array( 'km', 'miles');
     
    344344    public static function is_path_color($var)
    345345    {
    346         if(in_array(strtolower($var), self::$colors_path)){
     346        if(in_array(strtolower($var), self::$colors_path)
     347                || preg_match('/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/', $var)){
    347348            return strtolower($var);
    348349        }else{
  • lf-hiker/trunk/gulpfile.js

    r1839607 r1846582  
    22//there are in files readme others version numbers: for releases, tested browsers, and the most important wordpress
    33
    4 var old_version = '1.6.0';
    5 var version = '1.7.0';
     4var old_version = '1.7.0';
     5var version = '1.8.0';
    66var gulp = require('gulp');
    77var less = require('gulp-less');
  • lf-hiker/trunk/js/lfh-plugin.js

    r1833277 r1846582  
    9696        popupAnchor:  [5, 5]
    9797    });
    98 
     98lfh.MINI_POINT_ICON = L.icon({
     99    iconUrl: lfh.ICON_URL + '/markers/pointS6.png',
     100    iconSize:     [6, 6],
     101    shadowSize:   [0, 0],
     102    iconAnchor:   [3, 3],
     103    shadowAnchor: [3, 3], 
     104    popupAnchor:  [3, 3]
     105});
    99106lfh.WIDTH_LIMIT = 620;
    100107
     
    830837                    elem_id: track_id,
    831838                    marker_options: {
    832                         startIcon: lfh.POINT_ICON,
    833                         endIcon: lfh.POINT_ICON,
     839                        startIcon: _data.gpx[j].width> 2 ? lfh.POINT_ICON:lfh.MINI_POINT_ICON,
     840                        endIcon: _data.gpx[j].width> 2 ? lfh.POINT_ICON:lfh.MINI_POINT_ICON,
    834841                        //shadowUrl: 'images/pin-shadow.png'
    835842                      }
  • lf-hiker/trunk/lf-hiker.php

    r1839607 r1846582  
    66    Author: epointal
    77    Author URI: http://elisabeth.pointal.org/
    8     Version: 1.7.0
     8    Version: 1.8.0
    99    License: GPL2
    1010    Text domain: lfh
     
    5151class Lf_Hiker_Plugin
    5252{
    53     const VERSION = '1.7.0';
     53    const VERSION = '1.8.0';
    5454   
    5555    private static $_controller;
  • lf-hiker/trunk/package.json

    r1839607 r1846582  
    11{
    22  "name": "lf-hiker",
    3   "version": "1.7.0",
     3  "version": "1.8.0",
    44  "description": "plugin for wordpress for display track with profil elevation",
    55  "main": "index.js",
  • lf-hiker/trunk/readme.txt

    r1840945 r1846582  
    77Tested up to: 4.9 
    88Stable tag: 1.0 
    9 Version: 1.7.0
     9Version: 1.8.0
    1010License: GPLv2 or later 
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    9797 * Français (fr_FR)
    9898 * English (en_US)
    99  * Deutsch (de_DE)  by [Kristof Kling](https://lg-buggingen.de/bugginger-feierabendlauf/strecke/) 
     99 * Deutsch (de_DE) by [Kristof Kling](https://lg-buggingen.de/bugginger-feierabendlauf/strecke/) 
    100100 
    101101 If you need language of **Lf Hiker** which is not included. You can easily translate with poedit from the file :   
     
    135135
    136136== Changelog ==
     137= 1.8.0 =
     138 * Evolution: Add black in color path
     139 * Evolution: Enable all hexadecimal color for path
     140 * Evolution: Little dots at ends for path with width less than 3px
     141 * Fixed: german translation
     142 
    137143= 1.7.0 =
    138144 * Fixed: no path displayed with mesmerize theme
Note: See TracChangeset for help on using the changeset viewer.