Code Monkey home page Code Monkey logo

Comments (9)

houqp avatar houqp commented on August 15, 2024

Looks good to me :)

from angular-leaflet-directive.

tombatossals avatar tombatossals commented on August 15, 2024

Great :)

I will show you a demo of the new code in a few days. I'm restyling your multimarkers-paths demo with the new code.

from angular-leaflet-directive.

houqp avatar houqp commented on August 15, 2024

Yep, I saw it in the dev branch :) Looking forward to the new demo!

from angular-leaflet-directive.

tombatossals avatar tombatossals commented on August 15, 2024

Hi, I have tagged the "master" version as 0.1, and will merge the "dev" branch into master soon.

houqp, could you take a look at the "examples/path-example.html"? It's based on your full-example.html, please, add or remove anything you consider important.

I have substituted the "smooth factor" with a stroke width to the watcher, but we can add any others properties of the path to the watcher if you consider them important enough.

from angular-leaflet-directive.

houqp avatar houqp commented on August 15, 2024

Just checked it out, looks a lot better than my original one, great work!

I will try to add more features in this weekend. :)

from angular-leaflet-directive.

houqp avatar houqp commented on August 15, 2024

@tombatossals , btw, in the examples, should we use:

<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js"></script>`

instead of:

<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js"></script>`

For the // case, if a user opens it directly with browser, it won't work.

from angular-leaflet-directive.

tombatossals avatar tombatossals commented on August 15, 2024

Hi, doesn't it works to you? What navigator and version are you using? The double slash URL inherits the protocol (theorically) if the browser supports the corresponding RFC.

See this thread of stackoverflow talking about this:
http://stackoverflow.com/questions/4659345/is-there-any-downside-for-using-a-leading-double-slash-to-inherit-the-protocol-i

If you think this could be a problem to some browsers let's change it. I'm always using the latest Firefox/Chrome browsers,

from angular-leaflet-directive.

houqp avatar houqp commented on August 15, 2024

It works for me if I host it using a web server, then the protocol inherited is right. But if I open it directly with firefox, the protocol will become file://, then CDN breaks ;p

from angular-leaflet-directive.

tombatossals avatar tombatossals commented on August 15, 2024

You're right, on older versions of firefox exists this problem.

Let's change the references as you say, I agree.

from angular-leaflet-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.