Coder Social home page Coder Social logo

angular-dg-maps's Introduction

Hi there ๐Ÿ‘‹

I'm Eugene

I wrote my first program when I was six, and 30 years later, I still enjoy converting ideas into tangible products with code.

My fav tech stack

JavaScript TypeScript NodeJS Express.js Postgres React React Native

I also work with

GraphQL Redux Python scikit-learn NumPy Pandas Go MongoDB RabbitMQ Docker Kubernetes GitLab CI GitHub Actions Prometheus Grafana

I used to work with (a long time ago)

C++

I'm currently learning

Rust Espressif

angular-dg-maps's People

Contributors

burivuhster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

angular-dg-maps's Issues

DG.Map is not a constructor

Hello!

I'm using this(https://github.com/DaftMonk/generator-angular-fullstack) yeoman generator.

  • Include "//maps.api.2gis.ru/1.0" script into "index.html" (using https)
  • Append dependency 'dg-maps' on module
var app = angular.module("myApp", ["dg-maps"]);
  • In controller init lat, lon, zoom and markers
$scope.markers = [
    {
        lat: 55.028936234826,
        lon: 82.927810142519,
        hint: 'marker1'
    }
];

angular.extend($scope, {
    lat: 55.028936234826,
    lon: 82.927810142519,
    zoom: 15 
});
  • In template
<dg-map latitude="lat" longitude="lon" zoom="zoom" style="height: 500px; width: 500px;">
    <dg-marker ng-repeat="marker in markers" latitude="marker.latitude" longitude="marker.longitude" hint="marker.hint"></dg-marker>
</dg-map>

and i have error "DG.Map is not a constructor"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.