Giter Club home page Giter Club logo

Comments (6)

Naimikan avatar Naimikan commented on May 29, 2024

Hi @BohdanKorinnyi!

Can you provide me a codepen?

Thank you!

from angular-mapboxgl-directive.

BohdanKorinnyi avatar BohdanKorinnyi commented on May 29, 2024

Hi @Naimikan !
I use this icon.

from angular-mapboxgl-directive.

BohdanKorinnyi avatar BohdanKorinnyi commented on May 29, 2024

@Naimikan Do you have any idea how to fix this wrong behavior?

from angular-mapboxgl-directive.

Naimikan avatar Naimikan commented on May 29, 2024

Hi @BohdanKorinnyi

Can you do an example with codepen to check the problem?

Thank you

from angular-mapboxgl-directive.

BohdanKorinnyi avatar BohdanKorinnyi commented on May 29, 2024

Hi @Naimikan
I created a repository with example and you can take a look here: https://bohdankorinnyi.github.io/mapbox-gl-angular/

Thank you

from angular-mapboxgl-directive.

Naimikan avatar Naimikan commented on May 29, 2024

Hi @BohdanKorinnyi!

I think the problem is from Mapbox GL library, and I don't know how to solve it, but, If you want, you can use circle geojson instead marker.

$scope.glSources = [
          {
            id: 'marker',
            type: 'geojson',
            data: {
              type: 'Feature',
              geometry: {
                type: 'Point',
                coordinates: [18.061287, 59.346935]
              }
            }
          }
];

$scope.glLayers = [
   {
      id: 'marker',
      source: 'marker',
      type: 'circle',
      paint: {
          'circle-radius': 23,
          'circle-color': '#FF1A47',
          'circle-opacity': 0.7,
          'circle-stroke-width': 2,
          'circle-stroke-color': '#FF0033'
      }
   }
];

Sorry!

from angular-mapboxgl-directive.

Related Issues (20)

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.