New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@planet/maps

Package Overview
Dependencies
Maintainers
7
Versions
637
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@planet/maps - npm Package Compare versions

Comparing version 8.0.0-dev.1675900981841 to 8.0.0-dev.1675901329705

2

package.json
{
"name": "@planet/maps",
"version": "8.0.0-dev.1675900981841",
"version": "8.0.0-dev.1675901329705",
"description": "Declarative mapping components for React",

@@ -5,0 +5,0 @@ "type": "module",

@@ -13,26 +13,4 @@ # @planet/maps

Import the components you need for your map. Provide an `options` prop to pass to the underlying OpenLayers constructor. Provide other props for values that you want to update with state changes.
See the [planetlabs.github.io/maps](https://planetlabs.github.io/maps/) website for more details and examples using the library.
```js
import Map from '@planet/maps/lib/Map';
import OSM from '@planet/maps/lib/source/OSM';
import ScaleLine from '@planet/maps/lib/control/ScaleLine';
import View from '@planet/maps/lib/View';
import WebGLTile from '@planet/maps/lib/layer/WebGLTile';
function MyApp() {
return (
<Map style={{width: '100%', height: '100%'}}>
<View options={{center: [0, 0], zoom: 1}} />
<WebGLTile>
<OSM />
</WebGLTile>
<ScaleLine />
</Map>
);
}
```
You can also listen to any events on the map, view, controls, interactions, layers, or sources; use `ref`s to get access to the underlying OpenLayers instances; and more.
## Background

@@ -39,0 +17,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc