
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@tomtom-international/web-sdk-plugin-zoomcontrols
Advanced tools
Plugin that provides ability to zoom map using ui controls (including range slider)
A plugin that provides the ability to zoom a map(@tomtom-international/web-sdk-maps) using ui controls, including range slider.
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-zoomcontrols
You must also include the zoom control stylesheet in your project. It's located here:
node_modules/@tomtom-international/web-sdk-plugin-zoomcontrols/dist/ZoomControls.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 ZoomControls from '@tomtom-international/web-sdk-plugin-zoomcontrols';
const ttZoomControls = new ZoomControls({
className: 'my-class-name', // default = ''
animate: false // deafult = true
});
const ttMap = tt.map({
key: '<your-tomtom-maps-sdk-key>',
container: 'map',
center: [19.45773, 51.76217],
zoom: 12,
minZoom: 9,
maxZoom:12
});
ttMap.addControl(ttZoomControls, 'top-left');
FAQs
Plugin that provides ability to zoom map using ui controls (including range slider)
We found that @tomtom-international/web-sdk-plugin-zoomcontrols 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.