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

vue-yandex-maps

Package Overview
Dependencies
Maintainers
1
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-yandex-maps

Yandex Maps component for VueJS.

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14K
increased by6.42%
Maintainers
1
Weekly downloads
 
Created
Source

vue-yandex-maps

vue-yandex-maps is a plugin for vue.js that adds yandex-map custom element.

Install

npm install vue-yandex-maps --save

CommonJS

You can use any build tool which supports commonjs:

// register globally
var yandexMap =  require('vue-yandex-maps');
Vue.use(yandexMap)

// or for a single instance
var yandexMap = require('vue-yandex-maps');
new Vue({
  components: {yandexMap}
})

Or in ES2015:

// register globally
import yandexMap from 'vue-yandex-maps'
Vue.use(yandexMap)

// or for a single instance
import yandexMap from 'vue-yandex-maps'
new Vue({
  components: {yandexMap}
})

Direct include

You can use the CDN: https://unpkg.com/vue-yandex-maps, yandexMap is exposed to window and will automatically install itself. Also you can use your local copy:

<script src="../node_modules/vue-yandex-maps/vue-yandex-maps.js"></script>

Usage

Use tag to enable the map instance, and use attributes to define map options.

<yandex-map :latitude=54.62896654088406
            :longtitude=39.731893822753904
            hint-content="Hint content 1"
            balloon-content="Balloon content 1"></yandex-map>

Options

OptionTypeDescription
latitudeNumberLatitude of map center
longtitudeNumberLongtitude of map center
hint-contentStringTooltip content
balloon-contentStringBalloon content

License

MIT

Keywords

FAQs

Package last updated on 24 May 2017

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