You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
652 B
18 lines
652 B
2 years ago
|
package com.fr.plugin.heatpointmapbox.web;
|
||
|
|
||
|
import com.fr.stable.fun.impl.AbstractJavaScriptPlaceHolder;
|
||
|
|
||
|
public class HeatPointMapJsFilePlaceHolder extends AbstractJavaScriptPlaceHolder {
|
||
|
@Override
|
||
|
public ScriptTag[] holderScripts() {
|
||
|
ScriptTag tag1 = ScriptTag.build();
|
||
|
tag1.type("text/javascript");
|
||
|
tag1.src("https://api.mapbox.com/mapbox-gl-js/v2.11.0/mapbox-gl.js");
|
||
|
|
||
|
ScriptTag tag2 = ScriptTag.build();
|
||
|
tag2.type("text/javascript");
|
||
|
tag2.src("https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-language/v1.0.0/mapbox-gl-language.js");
|
||
|
return new ScriptTag[]{tag1, tag2};
|
||
|
}
|
||
|
}
|