
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@asicupv/markerpp
Advanced tools
MPP is a supercharged marker for Leaflet (although it may be used with other frameworks).
MPP is a supercharged marker for React Leaflet.
onClick
: function to be executed on click.latlon
: marker positionimageData
: dict:
iconSize
: icon size on the mapanchor
: icon anchor relative to iconSizeimageSize
: rendered image size, aka: resolutionshadow
: if shadow must be renderedimages
: list(dict) configuration of each one of the image that compose the icon.
url
: svg urlcolor
dx
: X axis positiondy
: Y axis positiondw
: widthdh
: heightcircles_data
: list(dict) configuration of each one of the circles that compose the icon.
fillColor
borderColor
borderWidth
radius
<MarkerPP
onClick={() => console.log('click')}
latlon={[39.479391, -0.341045]}
imageData={{
iconSize: [100, 50],
anchor: [50, 35],
imageSize: [200, 100],
shadow: true,
images: [
{
url: 'https://raw.githubusercontent.com/FortAwesome/Font-Awesome/6.x/svgs/regular/address-card.svg',
color: '#ff0000',
dx: 0,
dy: 0,
dw: 80,
dh: 80,
},
{
url: 'https://fonts.gstatic.com/s/i/short-term/release/materialsymbolsoutlined/other_houses/wght100fill1/48px.svg',
color: '#fff',
dx: 0,
dy: -10,
dw: 40,
dh: 40,
},
],
}}
circlesData={[{ fillColor: '#00ff0055', borderColor: 'green', borderWidth: 1, radius: 100 }]}
>
<Popup>Hello world</Popup>
</MarkerPP>
Thanks to Igor Gaponov for this awesome guide: How to Create and Publish React TypeScript npm Package With Demo and Automated Build
FAQs
MPP is a supercharged marker for Leaflet (although it may be used with other frameworks).
The npm package @asicupv/markerpp receives a total of 0 weekly downloads. As such, @asicupv/markerpp popularity was classified as not popular.
We found that @asicupv/markerpp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.