PageSourceSearch

https://smetom-geeode.fr/wp-content/plugins/wp-google-maps/js/v8/o…/ol-pointlabel.js?ver=10.1.09%2Bpro-10.1.05

js smetom-geeode.fr collected 2026-10-02 22:59:20 UTC 1,144 bytes, 51 lines download raw bytes

1/**
2 * @namespace WPGMZA
3 * @module OLPointlabel
4 * @requires WPGMZA.Text
5 * @requires WPGMZA.Pointlabel
6 * @pro-requires WPGMZA.ProPointlabel
7 */
8jQuery(function($) {
9	var Parent = WPGMZA.Pointlabel;
10
11	WPGMZA.OLPointlabel = function(options, pointFeature){
12		Parent.call(this, options, pointFeature);
13
14		if(pointFeature && pointFeature.textFeature){
15			this.textFeature = pointFeature.textFeature;
16		} else {
17			this.textFeature = new WPGMZA.Text.createInstance({
18				text: "",
19				map: this.map,
20				position: this.getPosition()
21			});
22		}
23		this.updateNativeFeature();
24	}
25
26	if(WPGMZA.isProVersion()){
27	 	Parent = WPGMZA.ProPointlabel;
28	} else {
29		Parent = WPGMZA.Pointlabel
30	}
31
32	WPGMZA.extend(WPGMZA.OLPointlabel, Parent);
33
34	WPGMZA.OLPointlabel.prototype.updateNativeFeature = function(){
35		var options = this.getScalarProperties();
36
37		if(options.layergroup){
38			this.textFeature.setZIndex(options.layergroup);
39		}
40
41		this.textFeature.setOffset(options.offsetX || 0, options.offsetY || 0);
42		this.textFeature.setMarker(this.marker);
43
44		if(options.name){
45			this.textFeature.setText(options.name);
46		}
47
48		this.textFeature.refresh();
49	}
50});
51		

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.