
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@tomtom-international/web-sdk-plugin-minimap
Advanced tools
Plugin that adds minimap to the parent map
This plugin adds a minimap to your existent Tomtom map (@tomtom-international/web-sdk-maps).
Please note that from version 2.0.0 this plugin only works with @tomtom-international/web-sdk-maps@6.*.*, if you are using @tomtom-international/web-sdk-maps@5.*.* please use version 1.*.*
Just do:
npm i @tomtom-international/web-sdk-plugin-minimap
You must also include the minimap stylesheet in your project. It's located here:
node_modules/@tomtom-international/web-sdk-plugin-minimap/dist/Minimap.css
In this example we assume that you already have the Tomtom Maps SDK for Web library included.
import tt from '@tomtom-international/web-sdk-maps';
import Minimap from '@tomtom-international/web-sdk-plugin-minimap';
const ttMinimap = new Minimap({
ttMapsSdk: tt,
zoomOffset: 5,
ignorePitchAndBearing: true,
mapOptions: {
key: '<your-tomtom-maps-sdk-key>',
dragRotate: false
}
});
const map = tt.map({
key: '<your-tomtom-maps-sdk-key>',
container: 'map',
}, {
center: [19.45773, 51.76217],
zoom: 12
});
map.addControl(ttMinimap, 'bottom-right');
FAQs
Plugin that adds minimap to the parent map
We found that @tomtom-international/web-sdk-plugin-minimap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.