Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@rapal/optimaze-viewer
Advanced tools
Library for viewing Optimaze floor plan. Based on Leaflet.
This is a library for rendering and manipulating floor plans from the Optimaze real estate management software by Rapal. It makes it easier to use the data provided by the Optimaze API in third-party applications. It is built on top of the Leaflet interactive map library.
The library currently provides the following features:
To install using npm, run:
npm install @rapal/optimaze-viewer
You can then import the library:
import { Viewer, Space, Element } from "@rapal/optimaze-viewer";
var viewer = new Viewer(...);
Remember to also include the Leaflet CSS file:
import "leaflet/dist/leaflet.css";
To include the library as a global script, download the UMD bundle optimaze-viewer.js
from the dist
directory and include it in your HTML. You also need to include Leaflet JavaScript and CSS files.
<script src="leaflet.js"></script>
<script src="optimaze-viewer.js"></script>
<link rel="stylesheet" href="leaflet.css" />
You can then use the library as a global module:
var viewer = new optimazeViewer.Viewer(...);
See the files in the types
directory for documentation.
There is also an example application that shows how you can use the library.
The FixedCircle
class can be used instead of L.Circle
to prevent circle radius rounding errors.
yarn
to install dependenciesyarn test
to run unit testsyarn build
to build and generate type declarationsyarn publish --access public
to increment version and publish to npm registrysrc
TypeScript source filestypes
TypeScript declaration filesdist
UMD bundle for use in browserFAQs
Library for viewing Optimaze floor plan. Based on Leaflet.
We found that @rapal/optimaze-viewer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.