1. Startseite
  2. Portal
  3. Forum
    1. Unerledigte Themen
  4. Galerie
    1. Alben
    2. Karte
  5. Lexikon
    1. Letzte Änderungen
  6. Kartensysteme
    1. Europaanalyse
    2. Gewitteranalyse
    3. Nowcast
  7. FAQ
  • Anmelden
  • Registrieren
  • Suche
Dieses Thema
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Artikel
  • Forum
  • Galerie
  • Lexikon
  • Seiten
  • FAQ
  • Erweiterte Suche
  1. Forum
  2. Archivraum
  3. Blitzortung - Archiv
  4. MyBlitzortung - english

Dot size

  • flc85
  • 19. April 2012 um 18:33
  • Erledigt
  • flc85
    Gast
    • 19. April 2012 um 18:33
    • #1

    Hello

    How I can change the dot size ?

    Code
    $_BO['mapimg'][100]['stations']['A'] = $_BO['points']['stations_dots_active'];

    Thanks

  • WetterYbbs
    Gast
    • 19. April 2012 um 18:48
    • #2
    Zitat von flc85

    Hello

    How I can change the dot size ?

    Code
    $_BO['mapimg'][100]['stations']['A'] = $_BO['points']['stations_dots_active'];

    Thanks


    Hello

    I think here $_BO['mapimg'][100]['stations']['point_size'] = 2;

    lg,
    Wolfgang

  • flc85
    Gast
    • 19. April 2012 um 19:02
    • #3

    No ,any change on my map

  • tobi
    Gast
    • 19. April 2012 um 19:52
    • #4

    The option "point_size" is deprecated! Here is the description for the correct setting: Colors/Markers

    In your case, you have to do it like this:

    PHP
    $_BO['mapimg'][100]['stations']['A']['point'] = array(3, 2, 'f008', 1, 'fff8');


    The second value in the array is the size.

    If you have already assigned a template and only want to change the size, you can do it like this:

    PHP
    $_BO['mapimg'][100]['stations']['A']['point'][1] = 5;

    If you want to change it for the strikes, you have to do it like this:

    PHP
    $_BO['mapimg'][x]['point_style'] = array(...);
  • flc85
    Gast
    • 20. April 2012 um 09:09
    • #5

    No result???

    PHP
    // ============================= FRANCE ======================================
    
    
    $_BO['mapimg'][100] = $_BO['tpl_imgmap']['france'];
    $_BO['mapimg'][100]['density'] = true;
    $_BO['mapimg'][100]['density_blocksize'] = 8;
    $_BO['mapimg'][100]['density_colors'] = $_BO['density_colors'];
    $_BO['mapimg'][100]['density_darken'] = 40;
    $_BO['mapimg'][100]['stations']['A']['point'] = array(10, 10, 'f008', 1, 'fff8');
    $_BO['mapimg'][100]['stations']['A'] = $_BO['points']['stations_dots_active'];
    $_BO['mapimg'][100]['stations']['O'] = $_BO['points']['stations_dots_offline'];
    $_BO['mapimg'][100]['stations']['V'] = $_BO['points']['stations_dots_nogps'];
    Alles anzeigen
  • tobi
    Gast
    • 20. April 2012 um 10:05
    • #6

    That doesn't work. After you assigned your settings in line 8, you are overwriting them in the next line. Simply delete this line.

    Let me guess: You want a map of (active) stations for France? --> Very good! :)

    By the way, you can also use strings as map identifiers. So, instead of the number 100, you can also use 'france_stations' (with ' !!!) .

  • flc85
    Gast
    • 20. April 2012 um 11:05
    • #7

    I don't know if it's a solution but i have resolved like that,before your message,with a "new map"

    PHP
    $_BO['mapimg'][110] = $_BO['tpl_imgmap']['france'];
    $_BO['mapimg'][110]['name'] = 'France statut stations';
    $_BO['mapimg'][110]['group'] = 'France';
    $_BO['mapimg'][110]['density'] = false;
    $_BO['mapimg'][110]['stations']['A'] = $_BO['points']['stations_dots_active'];
    $_BO['mapimg'][110]['stations']['I'] = $_BO['points']['stations_dots_inactive'];
    $_BO['mapimg'][110]['stations']['O'] = $_BO['points']['stations_dots_offline'];
    $_BO['mapimg'][110]['stations']['V'] = $_BO['points']['stations_dots_nogps'];
    $_BO['mapimg'][110]['stations']['A']['point'] = array(10, 5, '0f4', 0, '0f4e');
    //$_BO['mapimg'][110]['stations']['A']['point'][10] = 5;
    $_BO['mapimg'][110]['stations']['I']['point'] = array(10, 5, 'c64', 1, 'c64e');
    //$_BO['mapimg'][110]['stations']['I']['point'][10] = 5;
    $_BO['mapimg'][110]['stations']['O']['point'] = array(10, 5, 'c04', 1, 'c04e');
    //$_BO['mapimg'][110]['stations']['O']['point'][10] = 5;
    $_BO['mapimg'][110]['stations']['V']['point'] = array(10, 5, '04f', 1, '04fe');
    //$_BO['mapimg'][110]['stations']['V']['point'][10] = 5;
    $_BO['mapimg'][110]['header'] = ' Carte avec affichage de l\'état des stations';
    Alles anzeigen
  • tobi
    Gast
    • 21. April 2012 um 08:24
    • #8

    I'm not 100% sure, but I think you do not need lines 5 to 8.

  • flc85
    Gast
    • 21. April 2012 um 12:30
    • #9

    Doesn't work if i delete lines 5 to 8

    Congratulations on your written french ;)

  • tobi
    Gast
    • 21. April 2012 um 12:46
    • #10

    Strange. This works perfectly:

    PHP
    $_BO['mapimg'][110] = $_BO['tpl_imgmap']['france'];
    $_BO['mapimg'][110]['name'] = 'France statut stations';
    $_BO['mapimg'][110]['group'] = 'France';
    $_BO['mapimg'][110]['density'] = false;
    $_BO['mapimg'][110]['stations']['A']['point'] = array(10, 5, '0f4', 1, '0f4e');
    $_BO['mapimg'][110]['stations']['O']['point'] = array(10, 5, 'c04', 1, 'c04e');
    $_BO['mapimg'][110]['stations']['V']['point'] = array(10, 5, '04f', 1, '04fe');
    $_BO['mapimg'][110]['header'] = ' Carte avec affichage de l\'état des stations';
  • flc85
    Gast
    • 21. April 2012 um 14:04
    • #11

    You have right,works now?????? ?(

    Sorry

  • flc85
    Gast
    • 23. April 2012 um 15:20
    • #12

    EDIT: RESOLVED


    Please can you tell me if you have a function to not display strikes or what's the solution

    I want to do just a map with station in Europe

  • tobi
    Gast
    • 23. April 2012 um 21:54
    • #13

    You can always hide strikes when adding "&blank" to the image url.

    Second option: I uploaded a new version, where you can set it in the config:

    PHP
    $_BO['mapimg'][101]['blank'] = true;

    You can also change the text, instead of "Strikes: 123" in the top right corner:

    PHP
    $_BO['mapimg'][101]['blank'] = 'Some Text';
  • flc85
    Gast
    • 23. April 2012 um 22:04
    • #14

    Thanks Tobias,and for my other problem with sat map it's resolved

Radar

Regenradar

Link-Box

Zellenabstand und Zelleninnenabstand in Tabellen
Wegweiser
Kartenanlyse
Webcam
  1. Datenschutzerklärung
  2. Impressum
  3. Nutzungsbedingungen
  4. Kontakt

Partner
Viktor´s Supportboard
Besucherzaehler



Community-Software: WoltLab Suite™ 6.2.9
© Wetter-Board 2004-2026