Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@idea-ionic/map

Package Overview
Dependencies
Maintainers
2
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@idea-ionic/map

IDEA Ionic map component

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-97.39%
Maintainers
2
Weekly downloads
 
Created
Source

IDEA Ionic extra ≫ Map

Map powered by Google Maps.

Package on NPM.

## To install

npm i --save @idea-ionic/map
npm i --save-dev @types/googlemaps

Be sure to install all the requested peer dependencies.

Then, add the following css to the global.scss file:

idea-map {
  display: none;
  width: 100%;
  height: 100%;
}
idea-map.mapReady {
  display: block;
}

Add the following attribute to the tsconfig.json file:

{
  // ...
  "compilerOptions": {
    // ...
    "types": ["googlemaps"]
  }
}

Finally, add the according configuration in the assets/configs/idea-config.js:

declare const IDEA_API_VERSION: string;
declare const IDEA_GOOGLE_MAPS_API_KEY_PROD: string;
declare const IDEA_GOOGLE_MAPS_API_KEY_DEV: string;

Components

  • Map (Google Maps)

Services

Keywords

FAQs

Package last updated on 14 Jan 2021

Did you know?

Socket

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.

Install

Related posts

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