Skip to content

Commit

Permalink
[BUILD]
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Mar 25, 2024
1 parent 98b84b5 commit 74f83e4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions dist/ol-ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -14702,6 +14702,9 @@ ol.control.Profile.prototype.info = {
"distanceUnitsM": "m",
"distanceUnitsKM": "km",
};
// For backward compatibility
// eslint-disable-next-line no-unused-vars
ol.control.Profil = ol.control.Profile;

/* Copyright (c) 2016 Jean-Marc VIGLINO,
released under the CeCILL-B license (French BSD license)
Expand Down
2 changes: 1 addition & 1 deletion dist/ol-ext.min.js

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions examples/geom/map.geoportail.profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ <h1>ol-ext: ol geom GPAltiCode</h1>
<i>samplingDist</i> lets you set a distance beetween points for sampling
(it use the sampling options as a min an add more if necessary).
</li>
<li>
You have to get an <a href="https://geoservices.ign.fr/documentation/diffusion/index.html">API key</a>
to access the service. The default key is provided for development only.
</li>
</ul>
</div>

Expand Down
4 changes: 4 additions & 0 deletions src/control/Profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -807,4 +807,8 @@ ol_control_Profile.prototype.info = {
"distanceUnitsKM": "km",
};

// For backward compatibility
// eslint-disable-next-line no-unused-vars
var ol_control_Profil = ol_control_Profile;

export default ol_control_Profile

0 comments on commit 74f83e4

Please sign in to comment.