!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/queuepro/node_modules/jsvectormap/src/js/core/   drwxrwxr-x
Free 13.08 GB of 57.97 GB (22.56%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     createMarkers.js (2.12 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
import { merge } from '../util/index'
import Marker from '../elements/marker'

export default function createMarkers(markers = {}, isRecentlyCreated = false) {
  let markerConfig, marker, point, uid

  // Create groups for holding markers and markers labels
  // We're checking if `markersGroup` exists or not becuase we may add markers after the map has loaded
  // So we will append the futured markers to this group as well.
  this.markersGroup = this.markersGroup || this.canvas.createGroup('jvm-markers-group')
  this.markerLabelsGroup = this.markerLabelsGroup || this.canvas.createGroup('jvm-markers-labels-group')

  for (let index in markers) {
    markerConfig = markers[index]
    point = this.getMarkerPosition(markerConfig)
    uid = markerConfig.coords.join(':')

    // We're checking if recently created marker is already existed
    // If exists we don't need to create it again, so we'll continute
    // Becuase we may have more than one marker.
    if (isRecentlyCreated) {
      if (
        Object.keys(this.markers).filter(i => this.markers[i]._uid === uid).length
      ) {
        continue
      }

      index = Object.keys(this.markers).length
    }

    if (point !== false) {
      marker = new Marker({
        index,
        map: this,
        // Merge the `markerStyle` object with the marker config `style` if presented.
        style: merge(this.params.markerStyle, { initial: markerConfig.style || {} }, true),
        label: this.params.labels && this.params.labels.markers,
        labelsGroup: this.markerLabelsGroup,
        cx: point.x,
        cy: point.y,
        group: this.markersGroup,
        marker: markerConfig,
        isRecentlyCreated,
      })

      // Check for marker duplication
      // this is useful when for example: a user clicks a button for creating marker two times
      // so it will remove the old one and the new one will take its place.
      if (this.markers[index]) {
        this.removeMarkers([index])
      }

      this.markers[index] = {
        _uid: uid,
        config: markerConfig,
        element: marker
      }
    }
  }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0223 ]--