Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
maplibre-gl-js-amplify
Advanced tools
A plugin for maplibre-gl-js for integration with Amplify Geo.
yarn add maplibre-gl-js-amplify
import { createMap } from "maplibre-gl-js-amplify";
import { Amplify } from "aws-amplify";
import awsconfig from './aws-exports';
Amplify.configure(awsconfig);
...
const map = await createMap({
container: "map", // An HTML Element or HTML element ID to render the map in https://maplibre.org/maplibre-gl-js-docs/api/map/
center: [-123.1187, 49.2819],
zoom: 11,
region: "us-west-2"
})
import { Amplify } from "aws-amplify";
import { AmplifyGeocoderAPI } from "maplibre-gl-js-amplify";
import awsconfig from './aws-exports';
import maplibregl from "maplibre-gl";
import MaplibreGeocoder from "@maplibre/maplibre-gl-geocoder";
import "@maplibre/maplibre-gl-geocoder/dist/maplibre-gl-geocoder.css";
Amplify.configure(awsconfig);
...
const geocoder = createAmplifyGeocoder();
map.addControl(geocoder);
import spiderManIcon from "./spiderman.svg"
...
const icon = new Image(100, 100);
icon.src = spiderManIcon;
map.on("load", function () {
drawPoints(
'mySourceName',
[
{
coordinates: [-122.477, 37.8105],
},
],
map,
{
unclusteredOptions: {
markerImageElement: icon,
}
}
);
});
See API.md for complete reference.
See FIXME.
See CONTRIBUTING.md.
FAQs
MapLibre Plugin to Support Amplify Geo Integration
The npm package maplibre-gl-js-amplify receives a total of 19,437 weekly downloads. As such, maplibre-gl-js-amplify popularity was classified as popular.
We found that maplibre-gl-js-amplify demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.