npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@vue-azure-maps/azure-mapa

v0.0.4

Published

Vue wrapper for Azure Maps v8

Downloads

10

Readme

AZURE MAPA

Para poder editar y subir los cambios se debe hacer un build, para luego poder subir los cambios como se muestra en el siguiente ejemplo

npm run build-full

Una vez hecho esto se debe tomar el archivo dist y reemplazarlo por el anterior. En caso de querer publicar, se deben seguir los siguientes pasos.

1.- npm run build-full 2.- npm login (Se debe tener cuenta) 3.- npm publish

INTEGRAR AZURE MAPA

Para poder integrar AZURE mapas se deben seguir los siguientes pasos

1.- npm install @vue-azure-maps/azure-mapa 2.- import VueAzureMaps from '@vue-azure-maps/azure-mapa'; 3.- Vue.use(VueAzureMaps, { debug: true });

Ejemplo

Using npm

npm i --save @vue-azure-maps/azure-mapa

Usage

Bundler (Webpack, Rollup)

import Vue from 'vue'

import VueAzureMaps from '@vue-azure-maps/azure-mapa'

// Default configuration
Vue.use(VueAzureMaps);

// Turn on debug logging
Vue.use(VueAzureMaps, { debug: true });

<template>
    <div class="hello">
        <div id="map-example" :style="styles">
            <azure-map :credentials_key="apiKey" :map_options="mapOptions" styles="" :name="namedMap">
                <azure-map-pushpin  
                v-on:push-pin-dragend="dragend" 
                key="pin" :location="location" :options="options"  :county="county"></azure-map-pushpin> 
            </azure-map>
        </div> 
    </div>
</template>
<script lang="ts">
import { Vue, Component, Mixins, Prop, Watch } from "vue-property-decorator";
@Component
export default class CustomMapComp {
    apiKey = 'xx'
    inputVal =  ''
    
     
    namedMap: 'map-example'
    mapOptions: {
        center: [-70.6553139, -33.4402043],
        zoom: 10
    }
    key: 'pin1'
    location: {
        latitude: -33.4402043,
        longitude: -70.6553139,
        isComune: true
    }
    options: {
        typePushping: 'marker-circle',
        draggable: true,
        position: [-70.6553139, -33.4402043],
        color: '#008aff'
    }
    styles:{
        'height': '636px',
        'width': '100%' 
    }
    county: '',
    classAuto: {
        direccion: '',
        latitud: '',
        longitud: '',
        utm: {
            este: '',
            norte: '',
            huso: ''
        }
    }
    change(n){ 
        
    }
    drag(n) { 
        console.log(n)
    } 
    dragend(n){
        console.log(n)
    }
}
 
</script>